Beruflich Dokumente
Kultur Dokumente
man <keyword>
env
mkdir <directory>
make <directory>
example: mkdir archives
will create a subdirectory named archives.
cp f1 f2
mv f1 f2
rm <filename>
cat <file>
more <file>
pg <file>
ps -ef
will display processes running on the server that are associated with a
specific system user. Note the use of the | "pipe" symbol.
example: ps -ef | grep oracle
will display all processes running that are associated with with the
user or software named oracle
ps -ef | more
will display all processes running (yours and those belonging to other
users) and will pause the display each time the screen fills with data.
extended example: ps - ef | grep oracle | more
will display all processes associated with oracle and will pause the
screen each time it fills with data.
kill -9 PID
killl -9 1359
command used to terminate a process (identified by the process id PID), here the process number is 1359. The process number is
determined by using the ps -ef command to display processes that are
running (look under the PID column of data that is displayed by the ps
-ef command.
chmod 777 *
ls -l
lists files & security status, but does not list hidden files.
ls -a
ls -al
pwd
print working directory. prints the disk drive and subdirectory of the
current working directory.
cd ..
(cd space dot dot) changes directory; here the dot dot entry will
backup to a higher point in a directory tree.
cd /u01/newhome
cd $home
TERM=vt100;export
TERM
will change the terminal emulation to the vt100 emulation and the
export TERM command will reset the value of the TERM environment
variable. Note that the command is case-sensitive.
ORACLE_SID=user150
export ORACLE_SID
will change the value of the ORACLE_SID to user150, and the export
ORACLE_SID will reset the value of this environment variable.