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 …
Linux, Unix, cli, Command,

mkdir [Command]

Command mkdir Creates a directory. Syntax mkdir directory_names Options -m access appoints new directory specified access rights. -p creates parent directories if they do not exist. Description The mkdir command creates the specified directory. …
Linux, Unix, cli, Command,

ln [Command]

Command ln Sets hard or symbolic links (aliases) for files and directories. Syntax ln existing_file new_name Options -b backs up files before deleting them. -d creates a hard link to a directory (this can …
Linux, Unix, cli, Command,

ls [Command]

Command ls Prints the contents of the directory. Syntax ls Options -a displays all files, including those with names starting with a dot (.). -b displays unprintable characters in file names in octal. …