Table of Contents

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