Search This Blog

Sunday, May 15, 2011

Working in Linux/Unix - Basics

Download Tool Putty.

Putty has various exe's that can be used for various purposes:

1. Putty.exe can be used to establish a command prompt connection to the linux server.

2. Pscp.exe is used for transferring files from windows to linux machine.

3. WINSCP is GUI to transfer files from one box(windows) to unix box. It is just like filezilla.

Click on the putty.exe and enter the server name and click Login.
It will ask for username and password.
Enter and login to the box.

[Use the command "sudo bash". It will ask for password again and then you will enter into the user's root.]

Copy command:
cp sourcefile destinationfolder

cp /configfile.xml /abc/def/config/

The above command will copy file with the name "configfile.xml" from the current directory to the /abc/def/config/ folder with the same name.

No comments:

Post a Comment