*, Wildcard symbol for variable length, list all subdirectories, ?, Wildcard symbol referring to a single character, ls, lists the names of the files and subfolders in the current directory, ls -a, lists all files including hidden file starting with ".", ls -d, list directories, ls -f, add one char of */=>@| to enteries, ls -i, list file's inode index number, ls -l, list with long format - show permissions, ls -la, list long format including hidden files, ls -lh, list long format with readable file size, ls -r, list in reverse order, ls -R, list recursively directory tree, ls -s, list file size, ls -S, sort by file size, ls -t, sort by time and date, ls -X, sort by extension name, ls /, list root directory, ls .., list parent directory, ls ~, list user's home directory, cd, Change Directory, cd .., Change Directory up one level to enclosing folder or parent directory, cd /etc, change directory to the /etc directory, cmp A B, Compare to files A and B for sameness. No output if A and B are identical, diff A B, Compare two files A and B for differences, outputs the difference., pwd, Display the path of the current working directory., mkdir X, make a new directory named X inside the current directory, mv A B, move a file from path A to Path B, cp A B, copy a file from path A to path B, cp -r Y Z, Recursively copy a directory Y and its contents to Z., rm X, Remove x permanetly.

Linux Commands Part 1

Leaderboard

Visual style

Options

Switch template

Continue editing: ?