This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:nvitull1:portfolio [2014/10/23 12:11] – [Command List] nvitull1 | user:nvitull1:portfolio [2014/10/30 19:47] (current) – [Command List] nvitull1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
chmod - change file mode bits | chmod - change file mode bits | ||
chmod [option] mode[mode]... file... | chmod [option] mode[mode]... file... | ||
+ | x - 1 | ||
+ | w - 2 | ||
+ | r - 4 | ||
ctrl c - to quite out of a command | ctrl c - to quite out of a command | ||
Line 22: | Line 25: | ||
echo - display a line of text | echo - display a line of text | ||
echo [option] [string] | echo [option] [string] | ||
- | |||
- | tail - output the last part of files | ||
- | tail [option] [file] | ||
set - set or unset values of shell options and positional parameters | set - set or unset values of shell options and positional parameters | ||
Line 49: | Line 49: | ||
write user [ttyname] | write user [ttyname] | ||
+ | tar - saves many files together into a single tape or disk archive, and can restore individual files from the archive | ||
+ | tar [option] [file] | ||
+ | -cf - create archive | ||
+ | -xf - extract archive | ||
+ | -z - gzip archive | ||
+ | |||
+ | gzip - compress or expand files | ||
+ | gzip [option] [name] | ||
+ | -1 though 9 - fast though best | ||
+ | -d - decompress | ||
+ | |||
+ | vi/vim - programmers text editors | ||
+ | i - insert mode | ||
+ | esc - command mode | ||
+ | |||
+ | | - pipe | ||
+ | |||
+ | wc - print newline, word, and byte counts for each line | ||
+ | -l - newline count | ||
+ | -w - word count | ||
+ | -m - character count | ||
+ | |||
+ | head - output the first part of files | ||
+ | head [option] [file] | ||
+ | -c - print the first K bytes of each file | ||
+ | -n - print the first K lines of each file | ||
+ | |||
+ | tail - output the last part of files | ||
+ | file [option] [file] | ||
+ | |||
+ | sort - sort lines of text files | ||
+ | sort [option] [file] | ||
+ | |||
+ | getent - get entries from Name Service Switch libraries | ||
+ | | ||
+ | | ||
+ | |||
+ | bc - calculator | ||
+ | obase - Hex base | ||
+ | ctrl D - breaks out to prompt | ||
+ | |||
+ | groups - shows which groups you belong to | ||
+ | |||
+ | grep - print lines matching a pattern | ||
+ | grep [options] pattern [file] | ||
+ | |||
+ | cut - remove sections from each line of files | ||
+ | cut option [file] | ||
+ | -b - select only these bytes | ||
+ | -c select only these characters | ||
+ | -f select only these fields | ||
+ | |||
+ | uniq - report or omit repeated lines | ||
+ | uniq [option] [input [output]] | ||
+ | -c - count | ||
+ | -d - only print duplicate lines | ||
+ | |||
+ | tr - translate or delete characters | ||
+ | tr [option] set1 [set2] | ||
+ | |||
+ | file - determine file type | ||
+ | |||
+ | ps - report a snapshot of the current processes | ||
+ | |||
+ | printf - formatted output conversion | ||
+ | |||
+ | alias - define or display aliases | ||
+ | |||
+ | |||
======Portfolio====== | ======Portfolio====== | ||
=====unix===== | =====unix===== |