|
Oracle Home |
|
Home > Linux/ Unix > Linux/ UNIX commands for DBAs |
|
UNIX & Linux tutorials |
|---|
Linux/ UNIX commands for DBAs |
|
pwd - The "pwd" command displays the current directory
pwd
which - The "which" command displays the full path of (shell) commands.
which zip
ls - The "ls" command list directory contents
ls -altr
total 112
cp - The "cp" command is used to copy files and directories
cp [option] SOURCE DEST
cp file1.txt file2.txt
mv - The "mv" command is used to move or rename files and directories
mv file1.txt file2.txt
rm - The "rm" command is used to delete files and directories
ls You can use -R in order to remove a directory.
cd - The "cd" command is used to change directories
/home/oracle/myDir>pwd
mkdir - The "mkdir" command is used to create new directories
mkdir Mydir
find - The "find" command can be used to find the location of specific files
find $ORACLE_HOME -name listener.ora
umask - The "umask" command can be used to set the creation file permisions for an (OS) user
The umask value is subtracted from the default permissions (666) to give
the final/ real permission:
666 : Default permission
chmod - The "chmod" command can be used to change the file permisions
chmod 777 myfile.txt
Owner Group
The others Permission
chown - The "chown" command is used to change the ownership of files
chown oracle:dba tnsnames.ora chown -R oracle:dba /oracle/base
ps - The "ps" command lists current process information
ps -ef | grep smon
kill - The "kill" command stop a specific OS process
kill -9 3009
3009 is the process ID
More information about this subject ( Linux/ UNIX commands for DBAs ) you can get from www.in-oracle.com
|
|
Home > Linux/ Unix > Linux/ UNIX commands for DBAs |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.