Linux commands
Here is a list of basic linux commands. It should help a beginner and intermediate linux administrator or linux user. We have included simple examples for almost all linux commands to show how the actual commands works in a linux platform.
- bc - An arbitrary precision calculator language
- cal - displays a calendar
- cat - concatenate files and print on the standard output
- cd - To change the current directory.
- chgrp - change group ownership
- chmod - change file access permissions
- cksum - checksum and count the bytes in a file
- cp - copy files and directories
- csplit - split a file into sections determined by context lines
- date - print or set the system date and time
- dd convert and copy a file
- du - estimate file space usage
- egrep - print lines matching a pattern
- export - set an environment variable
- fgrep - print lines matching a pattern
- find - search for files in a directory hierarchy
- fold - wrap each input line to fit in specified width
- grep - print lines matching a pattern
- head - output the first part of files
- join - join lines of two files on a common field
- logrotate - rotates, compresses, and mails system logs
- ls - List contents of directories.
- mkdir - To create a new directory
- mv - move (rename) files
- mount - mount a file system
- nl - number lines of files
- od - dump files in octal and other formats
- pwd - Print the full directory path of the current working directory.
- rgrep - print lines matching a pattern
- rm - remove files or directories
- scp - secure copy (remote file copy program)
- ssh - OpenSSH SSH client (remote login program)
T
- tail - output the last part of file.
- tar - the GNU version f the tar archiving utility.
- tee - read from standard input and write to standard output and files.
- time - run programs and summarize system resource usage.
- touch - change file time stamps
- vim - Vi IMproved, a programmers text editor
- watch - execute a program periodically, showing output fullscreen
- wc - print newline, word, and byte counts for each file
- whoami - print effective userid
yes - output a string repeatedly until killed