Skip to main content

Overview

Command Description Package
pwd Print Working Directory — returns the current working directory built-in
cd Change Directory — navigate directories on the filesystem
built-in jobs display currently running jobs built-in history print the history of issued commands built-in echo display a line of text built-in ls list directory contents coreutils cat concatenate — combine the output of files and print to standard output coreutils cp copy files coreutils mv move (and rename) files coreutils mkdir create a directory coreutils rm remove files and directories (caution: no undo!) coreutils touch create an empty file coreutils find search for files in a given directory findutils grep search for text grep sudo Super User Do — execute commands as root sudo df Disk Free — report overall file system space usage coreutils du Disk Usage — show file system usage for a given directory coreutils head display the first X lines of a file (default 10) coreutils tail display the last X lines of a file (default 10) coreutils diff show differences between two files line by line diffutils tar archiving utility, compression optional tar chmod change file mode bits (permissions) for files and directories coreutils chown change file owner and group coreutils jobs display currently running jobs build-in kill terminate a process util-linux ping check if a server is reachable iputils wget download files from the internet wget uname Unix Name — print system information coreutils topfind displaysearch Linuxfor processesfiles in a given directory procps-ngfindutils historydiff printshow thedifferences historybetween oftwo issuedfiles commandsline built-inby man Manual — display the documentation of a given commandline mandiffutils echokill displayterminate a line of text built-in zip package and compress (archive) filesprocess zip unzip list, test and extract compressed files in a ZIP archive unziputil-linux useradd create a new user or update default new user information shadow userdel delete a user account and related files shadow man Manual — display the documentation of a given command man tar archiving utility, compression optional tar grep search for text grep wget download files from the internet wget sudo Super User Do — execute commands as root sudo ping check if a server is reachable iputils top display Linux processes procps-ng zip package and compress (archive) files zip unzip list, test and extract compressed files in a ZIP archive unzip clear clear the terminal content clear scp OpenSSH secure file copy openssh