chgrp grp filelist : Change the group that the file(s) belong to.
chmod 777 filelist : Change the rights of the file(s). 777: owner-world-user. 7: read-write-delete (=111)
chown user filelist : Change the owner of the file(s)
cp file1 file2 : Copy file1 to file2
cp /dev/null file : Clear all contents of file
errpt : Hardware error-report (IBM-unix)
ls –ltr : Show filelist, –parameters: l: show fileattributes , t: sort by time, r: reverse sortorder
more
mv file1 file2 : Move command
ps –ef : Show all running processes, -e, -f
vi : The famous vi-editor
2 A little more complex commands
kill
kill –1
kill –9
kill –USR2
kill –USR1
lslv : Show the logical volumes
lsvg : Show the volumegroups
sappfpar check pf=
set VAR VAL : set environment variable VAR to value VAL
printenv : prints the environementvariables
ps –ef grep xxx : Monitor processes with name containing xxx
ps –u
No comments:
Post a Comment