Getting help
man – view manual pages for Unix commands
Unix users
id – print user identity
For example:
[oracle@BAKUAMLPRDDB ~]$ id
uid=502(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),506(asmdba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[oracle@BAKUAMLPRDDB ~]$
Unix file operations
ls - list files and directories
cat – concatenate files and show contents to the standard output
cp – copy
rm – remove the file
mv – move the file
Unix directory management commands
cd – change directory
pwd – confirm current directory
in – make links and symlinks to files and directories
mkdir – make new directory
rmdir – remove empty directories
Unix system status commands
uptime – find out how long the system has been up
For example:oracle@BAKUAMLPRDDB ~]$ uptime
11:21:17 up 22 days, 16:18, 4 users, load average: 0.01, 0.02, 0.00
who - find out who is logged into the system
uname - print Unix system information
Process management
ps – process information
top - show tasks and system status
man – view manual pages for Unix commands
Unix users
id – print user identity
For example:
[oracle@BAKUAMLPRDDB ~]$ id
uid=502(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),506(asmdba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[oracle@BAKUAMLPRDDB ~]$
Unix file operations
ls - list files and directories
cat – concatenate files and show contents to the standard output
cp – copy
rm – remove the file
mv – move the file
Unix directory management commands
cd – change directory
pwd – confirm current directory
in – make links and symlinks to files and directories
mkdir – make new directory
rmdir – remove empty directories
Unix system status commands
uptime – find out how long the system has been up
For example:oracle@BAKUAMLPRDDB ~]$ uptime
11:21:17 up 22 days, 16:18, 4 users, load average: 0.01, 0.02, 0.00
who - find out who is logged into the system
uname - print Unix system information
Process management
ps – process information
top - show tasks and system status
No comments:
Post a Comment