Sie sind auf Seite 1von 2

Syntax:-

Command -options arguments

Command-(Basically the function we want to perform)


Options- (The extra features we want along with the function)
Arguments-(basically command syntax)

1. Exit - logout and close Terminal

Category(Navigation) Shortcut(Ctrl+D)

2.Whatis- display one-line manual page descriptions


Category(Help)
-Options
-h or --help --> Print Help Screen
--usage --> Print Usage Syntax

3.Clear- clear the Terminal Screen


Category(Navigation) Shortcut(Ctrl+L)
No -options available.

4. Man- view online refrence manuals.


Category(Help)
-Options
-h or --help --> Print Help Screen
--usage --> Print Usage Syntax

5.Less- view and search text files


Category(Text)
-Options
--help --> View a summary of less commands and navigation
-N --> view line numbers
6.Pwd- print the name of the current directory.
Category(Navigation)
No option available.
7.Ls- list files in a directory.
Category(Navigation)
-Options
-a -->List all files
-l -->List files with details.
8.Cd- change the current woking directory.
Category(Navigation)
No option available.
9. Bash- interact with the terminal
Category(System)
-Options
--help -->Shows syntax and several long options.
-c help -->A help screen on shell builtin commands.
10.Cat- send input to output
Category(Text)
-Options
-n -->Number the lines of output.
(cat /etc/shells --> Tells about valid login shells like sh or bash etc.).
11.Type- show a command's type and location.
Category(Help)
-Options
-a -->Display type and locations.
-t -->Display single word file type.
(type ls cd bash > abc.txt --> The redirection operator transfers output
of type to input for abc.txt).
12.Alias- customize a command
Category(System)
-Options
-p -->Print aliases is reusable form.

Das könnte Ihnen auch gefallen