tailieunhanh - Open Source Security Tools : Practical Guide to Security Applications part 43

Open Source Security Tools : Practical Guide to Security Applications part 43. Few frontline system administrators can afford to spend all day worrying about security. But in this age of widespread virus infections, worms, and digital attacks, no one can afford to neglect network defenses. Written with the harried IT manager in mind, Open Source Security Tools is a practical, hands-on introduction to open source security tools. | Page 399 Friday June 25 2004 1 39 PM Appendix B Basic Linux UNIX Commands The tables in this appendix list some basic Linux UNIX commands to get you up and running. There may be slight differences in syntax from distribution to distribution and there are many many more commands. Check your user manuals online resources or simply type man command at the prompt for more information on any command where you replace command with any Linux UNIX command. Table File System Navigation Commands Commands Descriptions cd path directory-name Changes the directory to the specified directory. ls Shows a short version of the file listing of the current directory. ls -l Shows the file listing with more information. pwd Shows the name of the directory you are in. 399 Page 400 Friday June 25 2004 1 39 PM 400 Appendix B Basic Linux UNIX Commands Table File Viewing Commands Commands Descriptions cat file-name Shows the content of the file you specify on screen. less file-name Opens the file to view in a read-only mode Linux systems only . pico file-name Opens the file in a text editor. Table Directory and File Manipulation Commands Commands Descriptions cp -r source-dir dest-dir Copies a whole directory s contents to dest-dir. cp source-file dest-file Copies a file named source-file to a file named dest-file. mkdir dir-name Makes a new directory with the name dir-name. mv path sourcefile path dest-file Moves a file from source-file to dest-file in the appropriate paths. rm file-name Removes a one or more files matching the wildcard statement using asterisk . rmdir dir-name Removes a directory. Will not remove non-empty directories. rmdir -rf dir-name Removes the directory and all subdirectories and files under it. Page 401 Friday June 25 2004 1 39 PM Appendix B Basic Linux UNIX Commands 401 Table Miscellaneous Commands Commands Descriptions date Shows system time and date. It is important to make sure this is the correct

TỪ KHÓA LIÊN QUAN