These commands are very Useful Commands For Linux OS.
- Rm : To remove a empty file.
- rmdir: To remove a empty directory.
- CP : To copy something in a destination file or directory.
- Mv : To move one file or directory from one place to another place, it is also used for renaming a directory or file.
- Man : To view the manual page of commands for syntax.
- Info : To view the information about any command.
- –help :To view the help documents of a command.
- Dir :To view the subdirectories and filesn under the directory.
- su – To become a super user
- who : By this command you can see the user name and their ip addresses who have logged in on your server.
- Who am i : This command shows your current logged in terminal user name.
- pwd: To view the present working directory.
- rpm -ivh : To install a rpm package
- rpm stands for ‘redhat package manager’
-i stands for install
-v stands for verbose mode
-h stands for with hash sign(#)
Useful Commands For Linux
What is Linux Command
A command is an instruction given by a user telling a computer to do something, such a run a single program or a group of linked programs. Commands are generally issued by typing them in at the command line (i.e., the all-text display mode) and then pressing the ENTER key, which passes them to the shell.An important feature of Unix-like operating systems is the large number of standard commands that are available, as well as the numerous options for many of them, as compared with other operating systems.
The shell is a program that takes your commands from the keyboard and gives them to the operating system to perform. In the old days, it was the only user interface available on a Unix computer. Nowadays, we have graphical user interfaces (GUIs) in addition to command line interfaces (CLIs) such as the shell.Linux Commands With Examples
On most Linux systems a program called bash (which stands for Bourne Again SHell, an enhanced version of the original Bourne shell program, sh, written by Steve Bourne) acts as the shell program. There are several additional shell programs available on a typical Linux system. These include: ksh, tcsh and zsh.