UNIX Basic Information

The information in this document is based on my own experiences. Post here is for my own convenience.  It has been carefully checked. However, no responsibility is assumed if any one copied this document as their reference.

%nsloopup name server look up. check IP number for an address
ping IP     ping -s IP# check file transfer speed
telnet IP
ftp  IP

mv f1 f2
cp f1 f2; cp -r dir1 dir2
rm file_name  rm -r   directory
date
cal 1977; cal 2 1956
talk user_name who is current log on
env ------------check UNIX working environment

head 5 file_name
tail 5 file_name

chmod a+rwx filename      744 755 700
ls -al;-lg;-F;-r;-l;-C;-ld;-i
finger userid
stty -a
du;df
cat > file_name (keyboad input a file)
cat f1 f2 f3 > f123
cat date >> temp
Last > file_name;   sort file_name > new_name
%arch -k check arch  on omega600  sun4e
/usr/etc/catman -w  for shorcut man page
man -k passwd
#mount /dev/sd2g  /big
%fsck file system checking

ifconfig -a

look at images:
setup xv
xv *
in icet:
xhost +
telnet 128.113.5.82
setup xv
setenv DISPLAY 128.113.21.11:0  (for display on the icet)
xv *

NMR Journal On Line | UNIX Commands | UNIX Commands

Phone: 404-727-6621
Fax: 404-727-6586
Email: swu@emory.edu

Chemistry Department
1515 Pierce Drive
Atlanta, GA 30322