ࡱ; !  "Root Entry   FMicrosoft Word-Dokument MSWordDocWord.Document.89qOh+'0< px    $ 0Linux (Unix) CommandsDouglas E. BartlettNormalDebbie Bartlett2@- [ZZNormal 1$*$A$/B*OJQJCJmH sH PJnHtH^JaJ_H22 WW8Num1z0OJQJCJ^J.. WW8Num1z1 OJQJ^J.. WW8Num1z2 OJQJ^J2!2 WW8Num1z3OJQJCJ^J.1. WW8Num1z6 OJQJ^J6A6 WW8Num2z0OJQJCJ^JaJ6Q6 WW8Num2z1OJQJCJ^JaJ6a6 WW8Num2z2OJ QJ CJ^JaJ"q" WW8Num3z0"" WW8Num3z1"" WW8Num3z2"" WW8Num3z3"" WW8Num3z4"" WW8Num3z5"" WW8Num3z6"" WW8Num3z7"" WW8Num3z8BBAbsatz-StandardschriftartHHWW-Absatz-StandardschriftartJ!JWW-Absatz-Standardschriftart1<1<Default Paragraph FontBABWW-Default Paragraph Font&XBQ&Emphasis6]6a6BulletsOJQJCJPJ^JaJFFHeading 'x$OJ QJ CJPJ ^J aJ.B. Text Body (x/List)<"<Caption *xx $CJ6aJ]""Index+ $44 Normal (Web) , . ~ . ^`OJQJCJ^J ^`OJ QJ ^Jo ^p`pOJQJ^J^@ `@ OJQJCJ^J ^`OJ QJ ^Jo ^`OJQJ^J ^`OJQJ^J ^`OJ QJ ^Jo ^P`POJQJ^J^`OJQJCJ^JaJl^8`8OJQJCJ^JaJ^`OJ QJ CJ^JaJ%^`OJQJCJ^JaJl^p`pOJQJCJ^JaJ^ ` OJ QJ CJ^JaJ%^@ `@ OJQJCJ^JaJl^ ` OJQJCJ^JaJ^`OJ QJ CJ^JaJ%^`P^@`@^`0^```^`^`^`^``^0`0WW8Num1WW8Num2@P GTimes New Roman5Symbol3&ArialiLiberation SerifTimes New Roman5Symbol?4Courier New;Wingdings_ StarSymbolArial Unicode MS?Wingdings 2_ StarSymbolArial Unicode MSS&Liberation SansArial?DejaVu Sans?5Courier NewBh<&<&Gy33Gy33'00Linux (Unix) CommandsDouglas E. BartlettDebbie BartlettG@& f@ZX9%@ZX9%՜.+,D՜.+,\M 0.Caolan80 2   ZZZn z$  Kb V @Z ( More Linux (Unix) Commands cat - concatenate cat [options] [files] more - display the named files on a terminal, one screenful at a time more [options] [files]Display the named files on a terminal, one screenful at a time. clear  clear screen wc  print byte, word, and line count for each file wc [options] [files]  c bytes  l lines  w words diff  find the difference between two files fileName1 fileName2 grep  search one or more files for lines that match a regular expression pattern grep [options] pattern files  i ignore case ps  report on active processes ps [options]  ef select all processes, full listing date  display current date and time date [options] echo  display a line of text echo [string] whoami  displays your user name File I/O (input/output) To  pipe the output of command1 to the input of command2 use the | character (piping information from one process (output) to another (input) grep -i hp ~info/machines | wc -l grep -i dell ~info/machines | wc -l ps -ef | more Redirect the output of a command to another new file Use the > character to redirect the output of a command to a new file cat public_html/index.html > newfile Appending to a file Use the >> to append the output of a command to an existing file cat public_html/index.html >> newfile Short cuts arrow keys tab Shell scripts a series of commands in a file that can be executed by a shell command line interpreter To create a shell script gedit script1 & Type commands you want to execute date echo  my system has this many active processes ps  ef | wc  l Save file Ensure script1 file has execute permission bits set i.e. chmod 755 script1 Execute shell script script1 DJP\hv|" 0 6 @ f p .6]0J%65668^ T ~  6  2 r $ B ~  & F   & F ~ 2vDB $d%d&d'd & F  & F  $d%d&d'd $d%d&d'd $d%d&d'd & F 4JRTVr$Vv$DX & F @ & F p & F  $d%d&d'd & F  $d%d&d'd(*,. $d%d&d'd & F p & F 0/ =!"#$2P1h0p3P(20Root Entry FCompObjjOle 1TableESummaryInformation(lWordDocument2 DocumentSummaryInformation8 t