HANDY COMMANDS

Earth Home    Photons, you and Space    Web Hosting Providers in our Galaxy    Tools Home

ORDERS MUST BE OBEYED AT ALL TIMES!

WHAT ARE THEY TALKING ABOUT AND WHY DO THEY KEEP POINTING AT ME?

  1. FTP - File Transfer Protocol - Standard Port 21 
  2. LINUX COMMANDS -
    1. ls - Get a directory listing of the current directory.
    2. 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
    3. 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
    4. local -a - Get a list of locals installed on the system.
  3. DOS COMMANDS -
    1. 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]
    2. 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
  4. CISCO COMMANDS -
    1. sh - short for show
  5. MYSQL COMMANDS -

Game Space Light Serial Number: 1471156114887

 
www.photonwebhosting.com