Basic commands used in Linux

Infotech's Area

These are the basic commands used in creating/deleting or working with files and directories….

man mkdir  :It gives the description about mkdir command.In place of mkdir u can give any command to know about that particular command.

mkdir linux  :Creates new directory named linux.

rmdir linux  :removes the directory linux.

rm -r linux  :removes the directory linux eventhough it contains file or directories.

cd linux  :change the directory to linux,which is present in the current directory.

pwd  :prints the current working directory.

cd..   :come out from current directory.

ls  :displays all files and directories present in current directory.

ls -c  :lists all files and directories in the created order.

cat> dinesh  :creates a file named dinesh in the current directory.

cat infotech  :displays the data present in file infotech.

wc dinesh  :displays the no. of lines, word,letters

View original post 128 more words


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s