Hello Guys, This is our new article on Linux commands. In This article we tell some basic Linux commands that is very useful for every Linux User.
The Linux command-line is a text interface to your computer. Often referred to as the shell, terminal, console, prompt or various some other names. It can provide you fast access from terminal window.
Before we start, you need to know some basic about processes.
What is a daemon?
Daemon is the actual term for those long-running background processes.
What is the init system and Units in systemd ?
If you look at Unix/Linux history, you will find the first process which starts up, is also known as init process.
Units are a standardized way for the systemd to manage various parts of a system.
|su –||super user|
|pwd||absolute path to current working directory.|
|cal||Displays the calendar of the current month|
|date||Displays current time and date.|
|tty||Displays current terminal.|
|clear||This command clears the screen|
|id||information about the current user is displayed.|
|–help||–help’ option shows usage summary for that command.|
|cd||Change the current working directory to the directory provided as argument.|
|ls||the contents of current directory are shown|
|ls -l||displays a long listing of the files.|
|mkdir||create a new directory|
|touch||craete a new file|
|cp||copy file / directory|
|cp-r||copy file / directory directory is to be copied, then it must be copied recursively with the files contained in it.|
|mv||move file /Directory|
|rmdir||The rmdir command removes each and every directory specified in the command|
|cat||cat command allows us to create single or multiple files, view contain of file|
|vim||text editor in Linux|
|w||w command is used to check which users are logged in to the system|
|fdisk||The fdisk is a tool for getting partition information|
|history||shows the commands you have entered on your terminal so far.|
|passwd||change the password|
|rm||rm command is used to removea file,or directory.|
|rm -r||(-r)option is being used to remove in a recursive way.|
|tree||the directory structure in a nice visual tree design way|
|man||This is the command we use to view the help document for any command.|
|i||inset mode in vim editer|
|:w||Save file in vim editer|
|:wq||Save and exit file in vim editer|
|:q!||quit without saving the current file|
|sudo useradd||The useradd command adds a new user to the System.|
|.bashrc||the (barshrc) is a special configuration file.|
|ps aux||hows all the processes from your computer|
|kill||kill/stop a particular process|
|apt||the package management system for the Debian Linux distribution.|
|apt-get||update all the package information for the Debian repositories.|
|ip addr show||the ip address of the system|
|head||displays the first 10 lines of a file|
|tail||displays the last 10 lines of a file|
|wc||This command counts lines, words and letters of the input given to it.|
|grep||The ‘grep’ command searches for a pattern in a file (standard input).|
|whoami||the user who is currently logged in|
|yum||install software / peckge|
I hope you like our article on Linux Commands. These are some basic commands who help you in work faster. If you have any query regarding this or any technical problem mention in comment box.
Thank You 🙂