Results 1 to 5 of 5
Is there a disk checking utility that is accessible from the command-line? Something similar to chkdsk on Windows that will tell me how much space I have and if there ...
- 09-20-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 25
Disk Utility?
Is there a disk checking utility that is accessible from the command-line? Something similar to chkdsk on Windows that will tell me how much space I have and if there is any corrupt files, etc.?
Thanks,
desNotes
- 09-20-2005 #2Linux Enthusiast
- Join Date
- Aug 2005
- Posts
- 542
I don't think that there is such a utility in UNIX. I don't really think that there's too much of a need for one either. It's just like the fact that you don't need to defragment a Linux file system -- some things just don't happen.
By the way, what distribution are you running? Unless you are running without xorg there's no reason that you couldn't check disk space etc from KDE or Gnome.
- 09-20-2005 #3Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
fsck is the filesystem check command. It in turn will run the various filesystem format-specific checks. Do 'man fsck' for more info.
As for space availability, try df and du.
And one more command well worth knowing is 'apropos' (just do 'apro <tab>' and let Linux figure out how to spell it!). apropos is Greek or something for "about" so it will list commands that are "about" whatever you enter as an argument. So if you wanted a command "about" filesstem checking, you could dowhich would produce a huge number of candidates. To reduce the field a bit, maybe this would work:Code:apropos filesystem
Code:apropos filesystem | grep check
/IMHO
//got nothin'
///this use to look better
- 09-20-2005 #4Just Joined!
- Join Date
- Jul 2005
- Posts
- 25
re: disk utility
I am installing Debian but I think one of my SCSI drives may have problems or be bad.
I tried to install directly on my two SCSI drives but the installation disk kept stopping in the same place (other distros also). I added an IDE disk and got it installed (no xorg yet) but wanted to try to pin down which disk is having problems.
- 09-20-2005 #5Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Here's another command that I know little about, but it may be useful: hdparm
/IMHO
//got nothin'
///this use to look better



