Any XXXX, ####, ****, or X is to be substituted by a name, resource name or #,3bBLinux联盟 fn = filename3bBLinux联盟 DIR = Directory3bBLinux联盟 | = pipe symbol3bBLinux联盟 3bBLinux联盟 bosboot -a -d /dev/hdiskx -rebuilds boot record/image on boot device(hdiskx)3bBLinux联盟 cat -view contents of a file3bBLinux联盟 cat /tmp/****.1 -view a file, look at output3bBLinux联盟 cat fn fn > newfile -combines two files to a single file3bBLinux联盟 cd -will return you to default DIR3bBLinux联盟 cd / -will put in root DIR3bBLinux联盟 cd /xxxx -change you to a DIR anywhere is system3bBLinux联盟 cd .. -will drop you out of 1 DIR at a time3bBLinux联盟 cd xxxxx -will change you to a DIR in current dir3bBLinux联盟 cfgmgr -will auto config devices3bBLinux联盟 cfgmgr -v & -(-v) shows processes (&) puts in background3bBLinux联盟 chps -s xx hd# -increase paging space (xx=# of addt'l PPs)3bBLinux联盟 cp oldfn newfn -copy a file3bBLinux联盟 cp oldfn Dirn -copy a file to another directory3bBLinux联盟 crontab -l -list crontab entries for the current user3bBLinux联盟 ctrl + v -will page down 1 page3bBLinux联盟 ctrl + 6 -will page up 1 page3bBLinux联盟 del fn -same as rm -i,promts to remove fn3bBLinux联盟 df -I -shows status of file systems (no inodes)3bBLinux联盟 df -Ik -(k) show status in 1024 bites(1mb)(only AIX 43bBLinux联盟 diag -a -updates changes in hardware configuration3bBLinux联盟 diag ***** -****= a device type(as tape,disk....Fastpath)3bBLinux联盟 diag -cd rmtX -resets tape drive3bBLinux联盟 dosformat -formats a diskette to DOS3bBLinux联盟 dosdir -list files on dos formated diskette3bBLinux联盟 dosread XX YY -copies dos file XX to aix file YY3bBLinux联盟 doswrite YY XX -copies aix file YY to dos file XX3bBLinux联盟 errpt -generates a one line synopsis of logged errors3bBLinux联盟 errpt | pg -list errorlog 1 page @ a time(1st column is ID)3bBLinux联盟 errpt -a -displays detailed information of logged errors3bBLinux联盟 errpt -s Mmddhhmmyy -select entries posted later than date3bBLinux联盟 errpt -aj XXXXXXX -list detail error by ID number.(XXX=1st column)3bBLinux联盟 errpt -d S -list software errors3bBLinux联盟 errpt -j XXXXXXX -list summary report by ID number.3bBLinux联盟 errpt -aN XXXXXX -list detailed report by resource name column3bBLinux联盟 errpt -N XXXXXXX -list summary report by resource name column3bBLinux联盟 errclear 0 -clears errorlog3bBLinux联盟 errclear -N XXXXX 0 -clears errorlog by resource name, 0=all enter3bBLinux联盟 errclear -j XXXXX 0 -clears errorlog by ID number.3bBLinux联盟 finger -same as who but with more details3bBLinux联盟 flcopy -copies a diskette to another diskette3bBLinux联盟 format -formats a diskette in default diskette drive3bBLinux联盟 format -l -formats in lower denity: 1.44 on 2.44 / 720 on 1.443bBLinux联盟 hostname -responds with host system name3bBLinux联盟 host (hostname) -responds with internet address3bBLinux联盟 instfix -ik IPAR# -lists ipar fix was completely installed3bBLinux联盟 lppchk -v -checks install status of LPPs3bBLinux联盟 lppchk -v 2> /dev/lpX -sends output of lppchk to printer lpx3bBLinux联盟 lpstat -a all -view all printer queues3bBLinux联盟 lptest 80 5 > /dev/lp0 -send test pattern to lp03bBLinux联盟 ls -list names of files & directories in current dir3bBLinux联盟 ls -lia -list details of files, current dir & subdir3bBLinux联盟 ls -al -list details of files or dir in current dir3bBLinux联盟 lsattr -El xxxxxx -list specific settings on a device3bBLinux联盟 lsdev -C | sort -d -f -list system hardware (devices)3bBLinux联盟 lsdev -C | grep 00-0X -list resourses for a adapter3bBLinux联盟 lsdev -Cc xxxxx -H -list devices(xxx=tty,printer,disk,memory,adpt3bBLinux联盟 lsdev -Cs scsi -list scsi devices(not serial or raid)3bBLinux联盟 lsdev -Cc tape -list tape devices3bBLinux联盟 lsdev -Cs pci -list pci devices3bBLinux联盟 lsdev -Cs isa -list isa devices3bBLinux联盟 lscons -lists the assigned console3bBLinux联盟 lscfg -list hardware list (same as diags list)3bBLinux联盟 lscfg -rl mem* |pg -lists the memory on PCI bus machines3bBLinux联盟 lscfg -vl XXXXX -list config info from a device.(rmt0,hdisk,etc)3bBLinux联盟 lscfg -vl sysplanar0 -lists the machine type, model, s/n on SMP3bBLinux联盟 lsfs -list all filesystems + data from "df" cmd3bBLinux联盟 lslpp -l | grep BROKEN -lists incomplete ptfs3bBLinux联盟 lslv -m hd5 -finds boot drive under pv1 column3bBLinux联盟 lsps -a -checks available paging space3bBLinux联盟 lsps -s -checks available paging space3bBLinux联盟 lspv -lists information about the physical volumes3bBLinux联盟 lspv hdisk# -list drive info3bBLinux联盟 lspv -l hdisk# -lists logical volume group disk in3bBLinux联盟 lsuser -f ALL -lists all attributes for all users3bBLinux联盟 lsvg -lists volume groups3bBLinux联盟 lsvg -p XXXXXX -lists disks in volume group (xxxxx= volume name)3bBLinux联盟 more -reads files and displays the text one screen at a time.3bBLinux联盟 mpcfg -df -list all setting the machine is set to (smp)3bBLinux联盟 mpcfg -cf 11 1 -changes to fast IPL on SMP machines (smp)3bBLinux联盟 mv fn (path fn) -move and rename a file3bBLinux联盟 oslevel -shows AIX version (3.2.4 and above)3bBLinux联盟 pg -reads and displays text one screen at a time.3bBLinux联盟 pdisable -makes unavailable or shows all disabled tty's3bBLinux联盟 pdisable tty# -disables a tty3bBLinux联盟 penable -makes available or shows all enabled tty's3bBLinux联盟 penable tty# -enables a tty3bBLinux联盟 ps -el |pg -look at process running on system3bBLinux联盟 pwd -list what DIR you are currently in3bBLinux联盟 r -repeats last command3bBLinux联盟 rm -i ******* -remove a file & will prompt you if you are sure3bBLinux联盟 rmdev -l XXXXX -removes a device and defines it to data base3bBLinux联盟 rmdev -l XXXXX -d -removes a device and deletes it from data base3bBLinux联盟 set -o vi -sets up to veiw cammands that have been run3bBLinux联盟 :wq -write(save) and quit file3bBLinux联盟 Esc + k -used with SET command to list last command3bBLinux联盟 k,l -k=list next command ran, l=steps you thru command3bBLinux联盟 I -use with SET command inserts characters3bBLinux联盟 j -steps you backwards3bBLinux联盟 cw -cw=removes a word,just type in new word3bBLinux联盟 (use with Esc)3bBLinux联盟 a,x,r -a=added text, x=delete text, r=replace text(r+letter)3bBLinux联盟 R -lets you type over letters or words3bBLinux联盟 smit ***** -(*****= tape,disk,tty,etc.fastpath)3bBLinux联盟 su -stands for switch user,(NOT super user)3bBLinux联盟 su -switches to root id or prompts you for password3bBLinux联盟 su XXXXXX -switches to XXXXXX's id3bBLinux联盟 tar -cvf /dev/rmtX /etc -will copy /etc to a tape drive3bBLinux联盟 tar -tvf /dev/rmtX -will read a tape drive3bBLinux联盟 tctl -f /dev/rmtX rewoffl -rewind & eject tape3bBLinux联盟 tctl -f /dev/rmtX.1 fsf 3 -forward advances a tape to be read by TAR3bBLinux联盟 tctl -F -list avail commands(-F flag is not correct)3bBLinux联盟 tctl retension -retensions tape in tape drive3bBLinux联盟 & -put any command in background with process ID |