Linux Bash Shell Cheat Sheet. Basic Commands. Basic Terminal Shortcuts. Basic file manipulation. CTRL L = Clear the terminal cat = show content. run and send task to background append to fileA, preserving existing contents output to fileA, overwriting contents display a line of text. inShare. Unix / Linux Cheat Sheet. File System. ls — list items in current directory. ls -l — list items in current directory and show in long format to see.
|Country:||Bosnia & Herzegovina|
|Published (Last):||6 May 2011|
|PDF File Size:||13.42 Mb|
|ePub File Size:||19.37 Mb|
|Price:||Free* [*Free Regsitration Required]|
There are a countless number of commands in Linux. We are bound to use a number of them on a daily routine or numerous times to perform common tasks than others. In this article, we will introduce you a list of most frequently used Linux commands with their examples for easy learning. You can find the actual description of each Linux command in their manual page which you quivksheet access like this:.
For more adduser and addgroup commands: Agetty is a substitute of Linux getty:. For more information about anacron and cron read: Quiksheet more apt usage read: It is used to install new software packages, remove available software packages, upgrade existing software packages as well as upgrade entire operating system.
AIX-to-Linux Quick Start Comparison
For more apt-get usage, read: Like apt-get and apt ; it can be used to install, remove or upgrade software packages on a system.
For more usage on aptitude, read: For more usage about at command, read: Awk is a powerful programming language created for text processing and generally used as a data extraction and reporting tool.
Awk Getting Started Guide for Beginners. To learn more about bg command, read: To learn more examples on bzip2, read: How to Compress liunx Decompress a. To learn more about cat command, read: Provide the new group name as its first argument and the name of file as the second argument like this:. To learn more about chgrp, chmod and chwon commands, read: To learn more lonux how to set date in Linux, read: How to Set System Date in Linux. It can strip headers, extracting parts of binary files and so on.
For more usage on df command, read: It can also be used to find the difference between two directories in Linux like this:. Some useful diff tools for Linux: Some useful tools to find out Linux system hardware info: It searches for files by attributes such as permissions, users, groups, file type, date, size and other possible criteria.
Use the -h option to display output in human friendly format.
Keep Up To Date!
Gzip helps to compress a file, replaces it with one having a. It is used to print or modify the system hostname and any related settings:. It is used to configure, view and control network interfaces. To understand how it works, read this article: It also works as a replacement for well known ifconfig command.
The command below is used to check existing rules on a system using it may require root privileges. The command below enables you to get detailed information about the wlp1s0 interface.
To list all currently loaded modules, type. It works more or less like dir command. If run without arguments, debsums checks every file on your system against the stock md5sum files:. It also moves a file or directory to another location quicksheett the directory structure. It runs specified command with an adjusted niceness.
When run without any command specified, it prints the current niceness. It was intended to quickly scan large networks, but it also works fine against single hosts.
The command below will create an archive of all files in the current directory and encrypt the contents of the archive file:. Note that normal system users may only quivksheet the password of their own account, while root may modify the password for any account. The example below shows the top running processes by highest memory and CPU usage. Note that for remote backups, you liunx install the same version of rdiff-backup on both the local and remote machines.
Below is an example of a local backup command:. It may quiicksheet used to halt, power-off or reboot the machine like this. It is designed to offer a secure encrypted communications between two untrusted hosts over an insecure network such as the Internet.
Note that quickshdet su is invoked without a username, it defaults to becoming root. In this case, the real not effective user ID of the user running sudo is used to determine the user name with which to query the quickaheet policy. It simply prints each file to standard output, showing qkicksheet line first.
If there more than one file, precede each with a header giving the file name. Use it as follow specify more lines to display using -n option. To indicate the number of occurrences of a line, use the -c option. It can be used to edit all kinds of plain text and program files. The example below shows how to watch the contents of a directory change. The example below show xargs being used to copy a file to multiple directories in Linux. It is used to quickly and interactively cd into a previously accessed directory by selecting the directory number from the first field as follows.
As we mentioned before, there are a countless number of commands in Linux. The list is possibly longer than we can offer. Use the feedback form below to share any qyicksheet and frequently used commands missing in this list. If yes, give me some time to writ-up on the same, till then stay tuned to Tecmint. Lijux, my name bayu. No worries, here is the guide that will instruct you how to setup Samba File Sharing on Linux. I would be grateful if i can get the pdf of this commands.
I am quickshset beginner and want to get my hands on linux commands. Please send me the pdf of all this commands and also which linux distro should i learn now as i want to become a system admin someday.
Hi Sadick, I too want to become a sys admin after my graduation. It will be lot easier after you do that. Your email address will not be published. Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. Linux Commands Cheat Sheet. April 18, at 5: March 29, at March 18, at March 19, at December 15, at 4: Qukcksheet 15, at December 16, at 6: November 3, at 6: October 11, at 2: October 24, at 8: September 22, at 4: Got something to say?
Cancel reply Your email address will not be published.