Basic Unix Commands


#mkdir dirname To create a new Directory
#ls To list all files / dir
#ls -l file/dir To list info of particular file/dir
#pwd Present Working directory
#touch filename To create a new File
#mkdir d1 d2 d3 To create multiply directory
#mkdir -p d1 d2 To create a sub directory
#cat > filename To create and edit a file

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s