VHWY + COTDAZR -- UNIX Courseware  -- VHWY + COTDAZR -- UNIX Courseware  -- Welcome Intro.. VHWY + COTDAZR -- UNIX Courseware  -- Basic Shell Commands.. VHWY + COTDAZR -- UNIX Courseware  -- Files and File commands .. VHWY + COTDAZR -- UNIX MAC OS X  -- Information .. VHWY + COTDAZR -- UNIX Courseware  -- vi .. editor -- Contact For - VHWY + COTDAZR + Unicon + NetTeam OCC - Oxnard College, Cisco Academy, from Cisco Systems Gold Coast Public Access Ventura International Information Super Highway - Home 99.4.3

New Users LINUX / UNIX Info


BASIC UNIX SHELL COMMANDS,
See, man command for more help.
Several different shells are common among Unixes, Bourne (sh), C-Shell (csh), Korn (ksh), bash, tcsh, and more. With the shell "env" or "set" commands, this is revealed, once logged on. Common shell commands differ mostly in syntax, see man 'command'. The disk used 'du' command besides different switches will report in 1/2 kilobyte blocks vs 1024 byte blocks, same for disk free "df".
Where on the disk am I .. or go there
Host% pwd Shows where you are now, 'here'
Host% cd xxxx Moves to a directory,
Host% cd ~ | cd Goes to your home directory
Host% cd ~sam Goes to the home of sam's account
Geve me a directory listing of my files
Host% ls -aCF Lists files 'here': short list, names, spl types
Host% ls -al Lists files 'here': names, dates, size, protection
File control, copy, move, delete.
Host% cp file f2 Copies a file to new name or/and place,
Host% cp file ~ Could copy sam's file to YOUR home directory
Host% mv file f2 Move file to a new name (or place) f2
Host% rm -i file Remove file, after confirmation
Change file Modes (permissions) ..
Read, Write, Execute (files or directories).
Host% chmod g+r file Makes file readable by your group
Host% chmod o+r file Makes file readable by all others
Host% chmod 755 file Makes file RWX owner, RX by all others
Host% finger user
Host% finger lastname
Will report user mail and telephone number.
Host% vi file Starts vi editor upon file <ESC> gets out of insert,
   <Z><Z> saves and exits vi,
   <colon>lt;q> will quit vi without save
Cursor moves with
   <h> left, <j> down, <k> up, <l> right
Host% vihelp Is a 24 line vi editor tutor.  
In vi, typing '<colon><!>vihelp' will show this help
'u' in vi will undo the single last text change
<colon>set<cr> or <colon>set all<cr> Show setable vi parameters.
Host% emacs (no_file) Starts the emacs editor with info on its built in tutorial ( not for all beginners )
Host% rup Reports on working hosts on the network **
Host% rusers Reports on their available users **
** .. Remember Control_C fast exits these
Host% who Tells who is on this host .. finger @hostname, for others
User support contact info found under <h> in this menu.
Welc:    For welcome tips ..        me:    Alters menu appearance
Top:     Continues ..          Just <cr>   Returns to top, also
     For some tips  q0: qt: qu: qv: h1: h2: h3: h4: h5: h6:
Copyright © 1997 thru 2017, Ventura International Information Super Hwy & Everett Batey, Oxnard, CA 93035, USA via TWCB
UTC:Monday, 11-Dec-2017 07:19:02 GMT   LOC:Sunday, 10-Dec-2017 23:19:02 PST   YourIP:54.221.76.68         Date Diffs
LIONS 4-A3 - AUX 4-A3
CHANNEL ISLANDS LIONS
GOLD COAST
COTDAZR.ORG
WA6CRE RADIO
W6RRN RABBIT
VHWY.COM Return to previous pageBack to
previous page
In case of errors or comments with BasicShell.html email with lines below pasted in..
Your Browser = CCBot/2.0 (http://commoncrawl.org/faq/)
Report Filename = http://unix.cotdazr.org /BasicShell.html ServerDate (there) = Sunday, 14-Feb-2016 17:13:45 PST -eb-