Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
labs:unix_intermediate [2008/10/12 20:24] – admin | labs:unix_intermediate [2009/06/12 15:52] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Intermediate Unix Commands ====== | ||
+ | ===== Permissions ===== | ||
+ | |||
+ | UNIX organizes permissions by user, group, and others. | ||
+ | |||
+ | '' | ||
+ | |||
+ | ==== Groups ==== | ||
+ | |||
+ | To change the group associated with a file, use '' | ||
+ | |||
+ | |||
+ | ===== Finding Content: grep ===== | ||
+ | |||
+ | ===== Finding Files: find ===== | ||
+ | ===== Finding Differences Between Files: diff ===== | ||
+ | |||
+ | ===== Beginning of Files: head ===== | ||
+ | |||
+ | ===== End of Files: tail ===== | ||
+ | |||
+ | ===== Viewing Services Listening on a Port ===== | ||
+ | |||
+ | lsof -i :< | ||
+ | |||
+ | e.g., | ||
+ | |||
+ | lsof -i :8080 |