Home > Server Admin > Putty Commands

Putty Commands

September 26th, 2009 Leave a comment Go to comments

Putty Commands

ls – to list files in a directory
syntax: ls

dir – same as ls
syntax: dir

cd – change directory
syntax: cd /home

cp – copy a file

syntax: cp file.zip /home

mv – move a file (also used to rename files)
syntax to move : file.zip /home
syntax to rename : oldfile.zip newfile.zip

rm – remove a file
syntax to remove one file : rm file.zip
syntax to remove all zip files : rm *.zip
syntax to remove all files : rm -rf *
syntax to remove a directory : rm -rf directoryname

mkdir – make directory
syntax: mkdir newdirectory

Related posts:

  1. WHM Cpanel Scripts and Commands *To install Zend Optimizer use : /scripts/installzendopt *To install Cron...
  2. Exim Commands Exim Commands REMOVE MAILS BY ID /usr/sbin/exim -v -Mrm (MAIL...
  3. Lalit Modi removed from IPL New Delhi: A week after his bid to regain control...
  1. No comments yet.
  1. No trackbacks yet.