UNIX Basics/Printable version


UNIX Basics

The current, editable version of this book is available in Wikibooks, the open-content textbooks collection, at
https://en.wikibooks.org/wiki/UNIX_Basics

Permission is granted to copy, distribute, and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike 3.0 License.

Commands

Here are some typical commands in UNIX. (Using a BASH Shell or similar)

  • pwd - "Print Working Directory" shows you your current location.
  • ls - List contents of current directory.
  • cd - Changes directory
  • man - Brings up a manual page for assistance in using a command.



Permissions

UNIX operating systems manage file access and execution with permissions.

Permissions include:

  • Read - Lets user read a file.
  • Write - Lets user edit a file.
  • Execute - Lets user execute a file as software.