Category: Commands

Linux, Unix, cli, Command,

cal [Command]

Command cal cal Displays a calendar for any month of any year. Syntax cal year] Options cal displays a simple calendar. If arguments are not specified, the current month is displayed. The options …
wc [Command]

wc [Command]

Command wc Displays the number of bytes, words and lines found in the file. Syntax wc Options -c displays only the number of bytes. -w only shows the number of words. -l displays …
unalias [Command]

unalias [Command]

Command unalias Eliminates the abbreviation as defined previously by using the alias. Syntax unalias abbreviation Description command unalias removes the abbreviation as defined previously by using the alias. Command unalias is a built-in command processor …
touch [Command]

touch [Command]

Command touch Changes the timestamp of file. Syntax touch files Options -c prescribes not to touch the file if it does not exist. -d time, using the specified time. -r file uses a timestamp …
Linux, Unix, cli, Command,

tar [Command]

Command tar tar – Creates archive files or extract files from archives. Syntax tar file_or_directory Options -c: creates a new archive. -d: compares the files from the archive files from the current directory. -r: …
tail [Command]

tail [Command]

Command tail Displays the last few lines of the file. Syntax tail file Options -N (where N – number) displays the last N lines. -n N (where N – number) displays the last N …
rmdir [Command]

rmdir [Command]

Command rmdir Deletes the specified directory (if it is empty). Syntax rmdir directory Options -p: remove all parent directories which become empty. -i: stands for interactively -r: stands for recursively -f: stands for forcefully …
Linux, Unix, cli, Command,

rm [Command]

Command rm Removes one or more files. Syntax rm files Options -f deletes files without asking. -i asks for confirmation before deleting files. -r recursively deletes files in all subdirectories contained in the catalog. …
pwd [Command]

pwd [Command]

Command pwd Prints the current working directory. Syntax pwd Description The command pwd prints the current working directory. It is a built-in command of Bash.
Linux, Unix, cli, Command,

mv [Command]

Command mv Renames files and directories or move them from one directory to another. Syntax mv source destination Options -b creates backup copies of files that are moved or renamed. -f remove existing files …