Unix Commands
Terms
undefined, object
copy deck
- manual page of a command
- Man
- allows user to enter a keyword to get a general listing of commands that utilize the keyword
- Apropos
- is a Unix command used to identify the location of executables.
- Which
- – tells what group(s) you belong to
- Groups
- user into a new group, or changes group id
- Newgrp
- times a simple command
- Time
- operating system
- Uname
- changes the owner of a file
- Chown
- change file group ownership
- Chgrp
- changes file permissions
- Chmod
- default permission setting that is applied to your files and directories when they are created
- Umask
- create a hard or soft link between files
- Ln
- determines file type or contents
- File
- used to change a file's access and modification timestamps
- Touch
- echoes contents of a file
- Cat
- allows user to scan the contents of a file one way (top to bottom)
- More
- allows user to scan the contents of a file up and down
- Less
- browse or page through a text file, similar to more
- Page
- allows you to print the first “x†lines
- Head
- – allows you to print the last “x†lines
- Tail
- word count on a file
- wc
- searches a file for a specified pattern
- grep
- sorts some text
- sort
- can eliminate or count duplicate lines in a presorted file
- unig
- - checks for differences between 2 files
- diff
- - Compares two files and tells you which line numbers are different
- Cmp
- Select or reject lines common to two files
- comm
- - will search any set of directories you specify for files that match the supplied search criteria
- find
- processes running on the system
- ps
- Creates and un-creates archived cpio files. And also is capable of copying files to things other then a hard disk
- Cpio
- compresses a file into tar format
- tar
- compress a file with a .Z extension
- compress
- uncompress a file with a .Z extension
- uncompress
- zip a file using GNU Zip
- gzip
- same as gzip
- gunzip
- encode or decode a file
- crypt
- displays the PIDs of processes using the specified files or file systems
- fuser
- the program reads from the standard input and writes to the standard output. It takes as parameters two sets of characters, and replaces occurrences of the characters in the first set with the corresponding elements from the other set
- Tr
- displays users' disk usage and limits.
- Quota
- displays selected columns or fields from each line of a file
- cut
- you how much space a file occupies
- du
- Report how much free disk space is available for each mount you have.
- df
- list of commands ran throughout your session
- history
- the jobs that you are running in the background and in the foreground.
- jobs
- terminate a process
- kill
- – cancels a process, control process execution
- Stop
- - create, modify, and extract from archives
- ar
- admin can add a new user to the system
- Useradd
- modify a user’s login information
- Usermod
- runs a backup, only admin can do this
- ufsdump
- restore files or file systems from backups made with dump
- Restore
- shuts down the system
- Shutdown
- stop the processor
- halt
- reboots the system
- reboot