LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-29-2007, 03:55 PM   #1
Instantly
Member
 
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, 03:59 PM   #2
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
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, 04:03 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

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

eg:
man -k rename
man -k remove
man -k file
man -k directory

etc.
 
  


Reply



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 12:15 AM
Basic Commands Help willbasmith Linux - Hardware 1 02-16-2007 09:05 AM
Basic Linux commands senthil_s14 Linux - Newbie 8 01-11-2006 02:51 PM
Linux Basic Commands rahimzai Red Hat 5 09-30-2005 05:22 AM
Basic commands? MrPolite Linux - General 5 11-08-2002 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 PM.

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