Intermediate Unix Commands

Permissions

UNIX organizes permissions by user, group, and others. There are three different permissions available: read, write, and execute

chmod is the command to change permissions

Groups

To change the group associated with a file, use chgrp

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 :<port>

e.g.,

lsof -i :8080
labs/unix_intermediate.txt · Last modified: 2009/06/12 11:52 by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0