Executing A Command
Type your command, and press enter key. Try this the date command which will display current date and time:date
Sample outputs:
Tue Apr 27 05:20:35 IST 2010
Command And File Completion
The Bash shell will complete file and command names, when possible and/or when you tell them to. For example, ifyou type sle and pressing Tab key will make the shell automatically complete your command name. Anotherexample, if you type ls /e and pressing Tab key will make the shell automatically complete your word to /etc as itsees that /etc/ is a directory which starts with /e.
Getting Help In Linux
Most commands under Linux will come with documentation.
You can view documentation with the man command or info command. In this example, open the manpage fordate command:man date
You can read info documentation as follows for the ls command:info ls
Many commands accepts --help or -h command line option. In this example, display help options for the datecommand:date --help
In short use any one of the following option to get more information about Linux commands:man commandNameinfo commandNamecommandName -h
commandName --help