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

more [Command]

Command more more – Performs view text files. Syntax more file_names Options +N (where N – number) displays the file, starting at the specified line number. +/pattern begins with a display of two rows …
Linux, Unix, cli, Command,

less [Command]

Command less less – command displays text files (with the possibility of searching through back). Syntax less file_name Options -? displays a list of commands that can use less. -p displays the text of …
id [Command]

id [Command]

Command id id – command displays the user ID, group ID and user groups. Syntax id Options -g prints only the group ID. -n displays the name of the group, rather than group …
Linux, Unix, cli, Command,

head [Command]

Command head head – command displays the first few lines of a file to standard output. Syntax head file Options -n nline number of displayed rows. Description Displays the first line of the file …
Linux, Unix, cli, Command,

gzip [Command]

Command gzip gzip – command compress one or more files. Syntax gzip files Options -c displays the output file to standard output and keeps the original file. -d decompresses the file (same as gunzip). …
Linux, Unix, cli, Command,

gunzip [Command]

Command gunzip gunzip – command uncompress zip-files. Syntax gunzip files Options See options for gzip. Description Team gunzip decompresses the compressed files (with extension .gz or .Z). After uncompress gunzip replaces the compressed files …
Linux, Unix, cli, Command,

grep [Command]

Command grep grep – command provides search in one or more files, lines that match the regular expression (search patterns). Syntax grep pattern files Options -N (where N-number) displays the N lines near the …
Linux, Unix, cli, Command,

find [Command]

Command find find – command displays a list of files that match a given set of criteria. Syntax find Options -depth first processing the current directory, then its subdirectories. -maxdepth n restricts the …
Linux, Unix, cli, Command,

file [Command]

Command file file – command displays the type of data file based on rules defined in the file /usr/lib/magic (known as the magicfile). Syntax file files Options -c displays formatted in a specified magic …