|
ORDERS MUST BE OBEYED AT ALL TIMES!
WHAT ARE THEY TALKING ABOUT AND WHY DO THEY KEEP POINTING AT ME?
- FTP - File Transfer
Protocol - Standard Port 21
- LINUX COMMANDS -
- ls - Get a directory listing of the current directory.
- split -l 4500 myfile.txt new - splits the file "myfile.txt" into files beginning with the name "new" each containing 4500 lines of text each
- DOS-to-UNIX file conversion - The following one-liners remove the annoying ^M from files created in DOS:
Using Perl: perl -pi -e 's/\r\n/\n/g' filename
Using sh or bash: tr -d '\r' < original_filename > new_filename
- local -a - Get a list of locals installed on the system.
- DOS COMMANDS -
- dir - Get a directory listing of the current directory. (Linux equivalent)
OPTIONS
DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N][/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
- DOS-to-UNIX file conversion - The following one-liners remove the annoying ^M from files created in DOS:
Using Perl: perl -pi -e 's/\r\n/\n/g' filename
Using sh or bash: tr -d '\r' < original_filename > new_filename
- CISCO COMMANDS -
- sh - short for show
- MYSQL COMMANDS -
Game Space Light Serial Number: 1471156114887
|