LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Closed Thread
  Search this Thread
Old 11-23-2015, 06:27 AM   #1
kalidoss01
LQ Newbie
 
Registered: Nov 2015
Location: chennai
Posts: 8

Rep: Reputation: 0
red hat Linux enterprise 7


how to remove the directory in red hat linux
 
Old 11-23-2015, 06:35 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
This question is so basic it shouldn't be asked. Please read a book like http://linuxcommand.org. Not necessarily all its 700 pages, but do read the first few chapters.

The command to remove a directory is rmdir. However, if the directory contains any files, it can only be removed after removing those files. You can remove a directory and the whole directory hierarchy below it with rm -r, but this is a dangerous command, as you can remove the wrong files if you make a small typing mistake.
 
1 members found this post helpful.
Old 11-23-2015, 03:15 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this is redhat so you DID buy the required support contract

why not read -- YES read the user guides
https://access.redhat.com/documentat...prise_Linux/7/

-- common admin topics
https://access.redhat.com/articles/1189123

Last edited by John VV; 11-23-2015 at 03:23 PM.
 
  


Closed Thread



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
LXer: Red Hat releases upgrade to older Red Hat Enterprise Linux: RHEL 5.10 LXer Syndicated Linux News 0 10-02-2013 04:10 AM
LXer: Red Hat Announces General Availability of Next Minor Release of Red Hat Enterprise Linux 6 LXer Syndicated Linux News 0 02-22-2013 01:50 PM
LXer: Red Hat Announces General Availability of Red Hat Enterprise Linux 5.9 LXer Syndicated Linux News 0 01-09-2013 04:30 PM
LXer: Red Hat invites users to help create the next Red Hat Enterprise Linux LXer Syndicated Linux News 0 09-01-2011 02:30 AM
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:56 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