LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-17-2009, 01:21 PM   #16
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by i92guboj View Post
Most unexpected, are you sure you wrote it well?

The "-l" is a dash and a lower case L, not a "one".
when i did it again it didnt do anything just promted my username

Code:
 fletch2k3@linux-97kx:/> usr/sbin/fdisk -l
       fletch2k3@linux-97kx:/> _
 
Old 08-17-2009, 01:23 PM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
fletch2k3@linux-97kx:/> usr/sbin/fdisk -l
It is
/usr/sbin/fdisk -l
 
Old 08-17-2009, 01:24 PM   #18
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by w1k0 View Post
Much more effective is to use the command such as:

Code:
du -B 1000 / | grep -E '^[0-9]{7,}'
it gave me a long list all ending in permission denied.
 
Old 08-17-2009, 01:24 PM   #19
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Can you try this one?

Code:
ls -lR /dev/disk/by-path/
 
Old 08-17-2009, 01:27 PM   #20
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by repo View Post
It is
/usr/sbin/fdisk -l
I noticed that, but since he seems to be at / it really doesn't matter.
 
Old 08-17-2009, 01:28 PM   #21
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
It is
/usr/sbin/fdisk -l
sorry i forgot to type that in on here. But thats what i inputted on my laptop and it did the same thing
 
Old 08-17-2009, 01:30 PM   #22
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I noticed that, but since he seems to be at / it really doesn't matter.
It matters, since you give the whole path
 
Old 08-17-2009, 01:32 PM   #23
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
Can you try this one?

Code:
ls -lR /dev/disk/by-path/
that gave me something... weird. it says

Code:
 total 0  lrwxrwxrwx 1 root root 9 2009-8-17 07:18 pci-0000:00:0f.0-sci-0:0:0:0 ->../../sda
it repeats but it says part 1 and part 2
 
Old 08-17-2009, 01:33 PM   #24
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
im a girl
 
Old 08-17-2009, 01:36 PM   #25
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by fletch2k3 View Post
that gave me something... weird. it says

Code:
 total 0  lrwxrwxrwx 1 root root 9 2009-8-17 07:18 pci-0000:00:0f.0-sci-0:0:0:0 ->../../sda
it repeats but it says part 1 and part 2
Right, this is starting to mean something.

sda is a hard disk (or hard-disk-like) device. part1 and part2 means you have two partitions on that disk. fdisk is acting weird and it doesn't list them for some reason. I think that it happens with usb drives, but maybe your disk is some kind of memory based device, and not a real hard disk.

Can you please, provide the output of these commands?

Code:
df | grep sda
mount | grep sda

Last edited by i92guboj; 08-17-2009 at 01:45 PM. Reason: typo
 
Old 08-17-2009, 01:48 PM   #26
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
Right, this is starting to mean something.

sda is a hard disk (or hard-disk-like) device. part1 and part2 means you have two partitions on that disk. fdisk is acting weird and it doesn't list them for some reason. I think that it happens with usb drives, but maybe your disk is some kind of memory based device, and not a real hard disk.

Can you please, provide the output of these commands?

Code:
df | grep sda
mount | grep sda
when i typed in df | grep sda it came up

3202480 3073260 0 100%/

when i typed in mount | grep sda it came up
on / type ext3 (rw,noatime, nodiratime)
 
Old 08-17-2009, 01:54 PM   #27
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
To find the biggest files:
Code:
du -a /home | sort -n -r | head -n 10
Then remove the files you don't want
Make sure you don't need them any more
Code:
rm filename
this worked and showed me what was on the files but i am unclear as to how i am supposed to remove the files? maybe this would solve my problems?
 
Old 08-17-2009, 01:56 PM   #28
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by repo View Post
It matters, since you give the whole path
You miss the point, the absolute path will work from everywhere, but since she already was at /, she can also use the relative path, without / in front of it, they both will reach the same binary. In fact, she received the same empty output. If the path had been incorrect as you think it was, she would have received a "command not found " error.



Quote:
Originally Posted by fletch2k3 View Post
when i typed in df | grep sda it came up

3202480 3073260 0 100%/

when i typed in mount | grep sda it came up
on / type ext3 (rw,noatime, nodiratime)
Only one partition is mounted, however according to what you said above, you must have another one somewhere. Can you try these ones?

Code:
ls /dev/sda*
file -s /dev/sda*
 
Old 08-17-2009, 01:57 PM   #29
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Suppose the output is
Quote:
4061548 /home/repo/torrents/slackware-12.2-iso
then in a terminal you type
Code:
rm /home/repo/torrents/slackware-12.2-iso
 
Old 08-17-2009, 02:02 PM   #30
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
You miss the point, the absolute path will work from everywhere, but since she already was at /, she can also use the relative path, without / in front of it, they both will reach the same binary. In fact, she received the same empty output. If the path had been incorrect as you think it was, she would have received a "command not found " error.
correct
 
  


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 07:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM


All times are GMT -5. The time now is 08:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration