33 Most Powerful linux Commands To Run in Terminal

“Are you 100% Secured when you use linux? the answer is yes.”

Linux is a very Powerful and a fastest-growing operating system

In this Blog, we’ll learn the basics of the Linux command line including directory navigation, file/directory operations, and search

GET HELP WHEN STUCK
  • whatis – display the on-line manual descriptions
  • apropos – search the manual page names and descriptions
  • man – an interface to the on-line reference manuals
BASIC BASH TERMINAL NAVIGATION COMMANDS
  • ls – list directory contents
  • pwd – print name of current/working directory
  • cd – change working directory
  • pushd/popd – put working directory on a stack
  • file – determine file type
  • locate – find files by name
  • updatedb – update database for locate
  • which – locate a command
  • history – display bash command history
MANIPULATING FILES COMMANDS
  • mkdir – create a directory/make directories
  • touch – change file timestamps/create empty files
  • cp – copy files and directories
  • mv – move (rename) files
  • rm – remove files or directories
  • rmdir – remove empty directories
TEXT TO FILES COMMANDS
  • cat – concatenate files and print on the standard output
  • more/less – file perusal filter for crt viewing
  • nano – command line text editor
USERS COMMANDS
  • sudo – execute a command as superuser
  • su – change user ID or become another user
  • users – print the user names of users currently logged in
  • id – print real and effective user and group IDs
CHANGING FILE PERMISSIONS COMMANDS

chmod – change permissions of a file

LOGGING OUT AND KILLING PROGRAMS COMMANDS
  • Ctrl+C – kill a running command
  • killall – kill processes by name
  • exit – log out of bash
USEFUL COMMANDS
  • Ctrl+D – signal bash that there is no more input
  • Ctrl+L – redraw the screen
  • Ctrl++ – make text bigger in terminal emulator
  • Ctrl+- – make text smaller in terminal emulator
  • Ctrl+Alt+T – the shortcut to open terminal
CLOSING NOTES:

You can use the clear command to clear the terminal if it gets filled up with too many commands.

TAB can be used to fill up in terminal. For example, You just need to type “cd Doc” and then TAB and the terminal fills the rest up and makes it “cd Documents”.

Ctrl+C can be used to stop any command in terminal safely. If it doesn’t stop with that, then Ctrl+Z can be used to force stop it.

You can exit from the terminal by using the exit command.

You can power off or reboot the computer by using the command sudo halt and sudo reboot.

Thanks for reading, If you have any questions , please ask questions in the comments below.

I will personally answer all the questions, or alternatively, you can Dm me on Facebook too.

If this post was helpful, help me back by clicking the Share button.

More Articles:-

The Ultimate Guide to become a full stack web developer in 3 easy step

7 Amazing Array Methods to Boost your Javascript Skills Today

3 weird ways to create javascript objects (Learn my tricks Now)

Who Else Wants to Clear confusion about Javascript Hoisting [Step-by-Step]

Tanisk jha

Mission-Driven Self taught Software Developer with a passion for thoughtful UI Design, collaboration and writing.
Tanisk jha

Leave a Reply

Your email address will not be published. Required fields are marked *