SHELL COMMANDS

---- The following are commands used at the shell -- the "%" ----

% balance ... lists remaining money in account

% cat > filename ... easy way to create a file (see the link to Creating a File with "cat").

% cat file1 >> file2 ... concatenates file1 on the end of file2

% cd newdir ... change directory to "newdir"

% correct filename ... corrects spelling of text in "file"

% cp filename newfilename ... makes a copy of a file

% date ... gives date and time

% finger ... gives names & account numbers of current logins

% frm ... shows who mail is from

% from ... shows who mail is from

% help . .. tells about on-line help

% logout ... when you are finished working

% look [string] ... finds all words that match string

% ls ... lists contents of current directory

% mail ... to read mail

% mail usename ... sends mail to "user"

% mkdir directory.name ... makes a directory

% more filename ... prints file on screen one page at a time

% mv file1 file2 ... changes name of file1 to file2

% passwd ... changes password

% pwd ... "print working directory" - shows working directory name

% quota -v ... shows account disk-space use

% rm ... removes a file

% tset [type] .. tells computer what type of terminal you are using

% uptime ... shows number of users and load on machine

% vi filename ... creates or opens file for editing

% webster [word] ... gives definition, pronunciation and etymology of "word"


(c)Copyright 1985, 1996 by Bruce Jones
Anyone is free to reproduce any of these documents in their entirety or parts thereof providing:
  1. Sections used are reproduced entirely and without alteration
  2. The following page footer is reproduced on each page:
    BJ's UNIX Primer - (c) Bruce Jones - 1985, 1996
  3. Full credit is noted somewhere in the reproduction
Bruce Jones 			Department of Communication
bjones@ucsd.edu			University of California, San Diego
(619) 534-0417/4410		9500 Gilman Drive
FAX (619) 534-7315		La Jolla, Ca. 92093-0503

Comments to: bjones@ucsd.edu


Return to:
Bruce Jones Homepage
BJ's Unix Primer Index
The CommWeb Homepage

This page last updated on: Feb 3 1997