Command Nak Remove Folder Dari Root


Common Commands

* View Directories: – ls

The ls (LiSt) lists files in different colors with full formatted text

* Create Directories: – mkdir (directory name)

The mkdir (MaKeDIRectory) command will create a directory.

# Change Directories: – cd (/directory/location)

The cd (ChangeDirectory) command will change from your current directory to any directory you specify.

# Copy Files/Directories: – cp (file or directory name) (to directory or filename)

The cp (CoPy) command will copy any files you specify. The cp -r command will copy any directories you specify.

# Remove Files/Directories: – rm (file or directory name)

The rm (ReMove) command will delete any filename you specify. The rm -rf command will remove any directory you specify.

# Rename Files/Directories: – mv (file or directory name)

The mv (MoVe) command will rename/move any file or directory you specify.

# Find Files/Directories: – locate (file or directory name)

The locate command will search your computer for any filename you specify. It uses an index of the files on your system to work quickly: to update this index run the command updatedb. This command is run automatically each day, if you leave your computer on. It needs to be run with administrative privileges (see the section called “Root And Sudo”).

Posted on August 9, 2008, in My Linux and tagged . Bookmark the permalink. Leave a comment.

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

%d bloggers like this: