Sunday, August 21, 2011

Some Useful Unix Commands

Hi,

Often when you are working on any of the UNIX environment, its necessary that you should be aware of the few basic commands of UNIX. So here, you can find few of them.

cd - change directory command. this command can be used to change the current working directory.
ex. cd abc (will change the current working directory to abc)

pwd - print working directory. This command will print the current working directory
ex. pwd (the console will display the result as /home/abc)

ls - listing. This command will list all the files and folder in the present directory.
ex. ls (note - ls can be used with other inbuild options of it like "ls -l" or "ls -ltr" or "ls -al")

Happy Testing

No comments:

Post a Comment