Go Smart with REAR (pRay, rEad, leArn, tRy)

5/30/2013

LINUX'S BASIC COMMAND LINE FOR BEGINNER (PART 3)

7:48 AM Posted by Vandaime No comments



This is a continuation of my previous article ^^

more
Its function as less command.

mount
This command will mount the filesystem to a directory or mount-point specified. Only the superuser can execute this command. To see what filesystems and their mount-pointnya the time, type the command mount. This command can you learned in the chapter on the filesystem. See also the umount command.
$ mount
/ dev/hda3 on / type ext2 (rw)
none on / proc type proc (rw)
/ dev/hda1 on / dos type vfat (rw)
/ dev/sda4 on / usr type ext2 (rw)
none on / dev / pts type devpts (rw, mode = 0622)


mv
To move a file from one location to another. If the second argument in the form of a directory then mv will move the file to that directory. If both arguments in the form of the file name will overwrite the first file second file. Error will occur if you enter more than two arguments except the last argument in the form of a directory.


passwd
Used to change the password. You will always be asked to fill in the old password and will then be asked to fill in a new password twice. Passwords consist of at least six characters long and contain at least one character.


pwd
Displays the name of the current directory where you are located.


rm
To delete the file, and by default, rm does not remove directories. Use caution in this order, especially with the-r option to recursively delete all files.

Oh no, the connection is bad now :( Sorry, I can't continue to write this article, but I will certainly continue in the future. See you later in my next article.

0 comments:

Post a Comment