Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-29-2007, 04:55 PM   #1
Registered: Dec 2004
Posts: 78

Rep: Reputation: 15
Basic Commands

Simple Question:
What is
Delete Directory
Delete File
Rename Directory
Rename File

in terminal program ?
Old 06-29-2007, 04:59 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The 'rm' command can delete both files and directories. The 'mv' command can rename both files and directories. 'man rm' or 'man mv' will display the man(ual) page for the command.
Old 06-29-2007, 05:03 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
One trick which I learned here is a real powerhouse: "man -k <keyword>"

man -k rename
man -k remove
man -k file
man -k directory



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for basic commands etc? lchisholm SUSE / openSUSE 4 05-03-2007 01:15 AM
Basic Commands Help willbasmith Linux - Hardware 1 02-16-2007 10:05 AM
Basic Linux commands senthil_s14 Linux - Newbie 8 01-11-2006 03:51 PM
Linux Basic Commands rahimzai Red Hat 5 09-30-2005 06:22 AM
Basic commands? MrPolite Linux - General 5 11-08-2002 10:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration