LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-13-2006, 12:39 PM   #1
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Rep: Reputation: 30
I need the DELETE console command


Hello hello.

I am booting knopping because my mandriva seems messed up, it cannot boot in graphical mode.

Among the error messages in the startup log, there is this, the first error message : partmon finds zero free byte on the / partition.

Other messsages are related to NFS failure and DHCP failure.

Perhaps that has a relation to the startup failure but I was runnig an update of the packages through the MCC and the update windoz froze : it kept the same progressbar level in ten minutes, so I forcibly closed it. Then later, I had to shutdown the computer forcibly (the NFS didnt shutdow for minutes).

Whatever reasons for that, at startup I have zero free bytes and startx would fail.

I thought of deleting some files in order to make room but... I DO NOT KNOW THE COMMAND LINE FOR FILE DELETION
Could someone tell me what it is please ?
 
Old 04-13-2006, 12:45 PM   #2
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
use the command:
Code:
rm [file path/name]
 
Old 04-13-2006, 12:46 PM   #3
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
Quote:
Originally Posted by Sabinou
I thought of deleting some files in order to make room but... I DO NOT KNOW THE COMMAND LINE FOR FILE DELETION
Hello,

The basic command to remove a file is:

Code:
rm [file]
and for a directory:

Code:
rmdir [directory]
To view all the options use:

Code:
man rm
man rmdir
I hope that this helps.
 
Old 04-13-2006, 12:56 PM   #4
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Original Poster
Rep: Reputation: 30
That bloody helps yeah thanks

Another question : do you know if the files such as syslog, in /var/log can be deleted ?

For instance, I nearly have one gigabyte (!) of files in /var/log
Can they all be deleted ?

As soon as I have the reply I'll reboot my Mandriva
 
Old 04-13-2006, 12:58 PM   #5
towy71
Member
 
Registered: Oct 2003
Location: Carmarthen, Wales
Distribution: Ubuntu and whatever is new kid on the block
Posts: 70

Rep: Reputation: 18
You would be better off by booting from your Mandriva disk and using the system rescue mode by pressing F1 when you get to the start screen. the following page might help: http://twiki.mdklinuxfaq.org/index.p...CLI/DiskRescue
 
Old 04-13-2006, 01:03 PM   #6
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for the fast reply, and I read that documentation, alas the webpage you gave didn't give my useful hints, the bootloader works fine, and so do the partitions mounted. The problems lies with something else.

Is is advisable (or not !) to delete the contents of /var/log, after all, isn't that simple log files ?
 
Old 04-13-2006, 01:28 PM   #7
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Original Poster
Rep: Reputation: 30
Hmmm, considering that can be useful to other people, I'll ask that question in a new thread instead, I think... This way, if other guys need it, they'll find the information more easily...

That thread will be there : http://www.linuxquestions.org/questi...60#post2198560

Last edited by Sabinou; 04-13-2006 at 02:01 PM.
 
  


Reply


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
How-To Delete File/Directory in CentOS console tyyp88 Linux - Newbie 13 12-15-2013 07:35 AM
Delete command lgarcia3 Linux - Newbie 1 01-13-2005 06:58 AM
delete file via console psa Linux - Newbie 3 08-24-2004 02:24 AM
delete a group with command line feetyouwell Linux - Software 1 01-27-2004 09:49 AM
command to delete? lax2sman Linux - General 3 02-11-2002 05:32 PM


All times are GMT -5. The time now is 08:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration