Unix-like operating system command list
I was keep forgetting the commands for my linux server so I decided to enlist all commands that I use.
So I am enlisting here with some examples and description.
[command] | [type] | [standsfor] | [function] | [syntax] | [example] | [description] |
---|---|---|---|---|---|---|
cp | Unix-like operating system command | Copy | Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY | cp [-fip] [-R [-H|-L|-P]] SOURCE DEST |
cp foo bar |
it could b |
traceroute | Unix-like operating system command | Trace the route to HOST | traceroute [-FIldnrv] [-f 1st_ttl] [-m max_ttl] [-p port#] [-q nqueries] [-s src_addr] [-t tos] [-w wait] [-g gateway] [-i iface] [-z pausemsecs] HOST [data size] |
$ traceroute -w 3 -q 1 -m 16 example.com |
traceroute -w 3 -q 1 -m 16 example.com |
|
chmod | Change mode | Change the file mode bits of each given file according to mode | chmod [-Rcvf] MODE[,MODE]… FILE… |
In Unix and Unix-like operating systems, chmod is the command and system call which is used to change the access permissions of file system objects. |
||
Chron | Chronos (greek god) | Daemon to execute scheduled commands | cron [-n|-p|-s|-m |
The software utility cron is a time-based job scheduler in Unix-like computer operating systems |
||
Df | Disk free | Display statistics about the amount of free disk space on the specified file_system or on the file system of which file is a part | df [-hiklnP] [-t type] [[file|file_system] … |
df is a standard Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access. |
||
nslookup | Query the nameserver for the IP address of the given HOST optionally using a specified DNS server | nslookup [HOST] [SERVER] |
nslookup is a network administration command-line tool available in many computer operating systems for querying the Domain Name System to obtain domain name or IP address mapping, or other DNS records |
|||
dd | Copy and convert (called dd because cc is already in use by C compiler) | Copy a file, converting and formatting according to the operands | dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] |
dd if=floppy34.fs of=/dev/rfd0c bs=32k |
dd is a command-line utility for Unix and Unix-like operating systems, the primary purpose of which is to convert and copy files |
|
vi | Visual | Screen-oriented (visual) display editor | vi [-rR][-c command][-t tagstring][-w size][file …] |
vi is a screen-oriented text editor originally created for the Unix operating system |