Unix

The most common operating system {Unix} has many variations. At login prompt, enter username. At password prompt, enter password. To change password: passwd followed by old password, and repeat new password. To log out: logout. To create a directory: mkdir directory-name. To display file: cat filename or more filename. To print file: lpr filename. To list files and directories: ls directory-name or filename. To rename files and directories: mv source-filename destination-filename, or mv source-filename destination-directory, or mv source-directory-name destination-directory-name. To copy files: cp source-filename destination-filename or cp source-filename destination-directory. To delete file or directory: rm filename or rmdir directory-name. To change working directory: cd directory-name.

Pathnames use forward slash. ~ is Home directory. . is working directory. ..is parent of working directory.

wild cards

? is single character wild card. * is arbitrary number of characters.

redirecting

command-name > filename - System types output of command to file rather than screen, replacing current contents of file, if any.

command-name > > filename - System types output of command to file rather than screen, appending to current contents of file, if any.

editing files

vi - enter text editor

search files

grep search-string filename to type lines containing the string in a specific file.

online documentation

To see online Man Pages: man command-name.

Related Topics in Table of Contents

Mathematical Sciences>Computer Science>Software>Operating System

Whole Section in One File

3-Computer Science-Software-Operating System

Drawings

Drawings

Contents and Indexes of Topics, Names, and Works

Outline of Knowledge Database Home Page

Contents

Glossary

Topic Index

Name Index

Works Index

Searching

Search Form

Database Information, Disclaimer, Privacy Statement, and Rights

Description of Outline of Knowledge Database

Notation

Disclaimer

Copyright Not Claimed

Privacy Statement

References and Bibliography

Consciousness Bibliography

Technical Information

Date Modified: 2022.0224