In some cases, two or more users may need to share access to system resources like files and directories. So multiple users can log in to the system and work on the system at the same time. Remove the execution permission of any fileĬhange the owner and group ownership of a fileĬhange the owner and group ownership of the directory and all sub-directories
MAC TERMINAL COMMANDS CHEAT SHEET PDF FULL
Perform a reverse lookup of an IP addressĪssign full(read, write, and execute) permission to everyoneĪssign full permission to the directory and all sub-directoriesĪssign full permission to the owner, and read and write permission to group and others
List all IP addresses and network interfacesĪdd a temporary IP address to interface eth1ĭisplay more information about any domain List all files and directories including, hidden files and other information like permissions, size, and ownerĬhange the directory to the home directoryĬombine two files named file1 and file2 and store the output in a new file file3 List all files and directories in the current working directory Get system information including, operating system, kernel, and release versionĭisplay the IP and Mac Address of the systemĭisplay currently logged in users in the systemĭisplay free and used memory in the system In this section, we will show you some basic Linux commands with examples. I have prepared this Linux Commands Cheat Sheet as quick reference for both experienced and basic users. This cheat sheet offers a set of commands that you can use for quick reference. Only a very small subset of those commands are used on a day-to-day basis. The good news is that you don't need to remember each command. Remembering every command is not possible and it can be quite daunting for a novice user. There are hundreds – possibly thousands – commands available in Linux.