Some basic Unix commands |
Here are a few basic Unix commands that you can execute at the command prompt in a terminal window. For more information, read the manual page via "man command-name".
This changes the working directory to the one specified. If no argument is specified, it changes the working directory to the home directory. (The square brackets indicate optional arguments. Do not type actual brackets at the command line.)
This command changes the access permissions for a file. For example, chmod a+r filename gives all users permission to read the file.
This copies source-file to destination-file.
Sends the specified file to the default printer. On some systems,
lp
is used instead.
This lists the names of the files in the current directory.
This creates a directory.
This allows you to browse a text file one screenful at a time.
Some systems have an improved version of this command
whimsically named less
(because "less is more").
This renames a file.
This tells you the name of the current working directory. (Useful when you are lost in the directory hierarchy.)
This deletes the specified file. Use with caution: Unix has no undelete feature!
This displays who is currently logged in to the system.
Some basic Unix commands |