which command
Hallo all,
I'm looking for 1. a command which could show me how much is occupied on my hard disk and how much is still available? 2. shortcut keys for copying lines on the bash console. BTW, my distro is Bebian 2.6.8-3-386. Thanks in advance, win2s |
1. Use the command ' du -h ' to show usage of the partition.
edit: My mistake I meant ' df -h '. du is good for seing things like which directory is using the most space. Like seeing who went over there storage limit if no quotas are enabled. edit: 2. Not sure off the top of my head. Depends on which terminal program you are using. Brian1 |
Quote:
$df -h for question 2, highlight the line you want to copy, then move your cursor to whrere you want to paste , then middle click or left click to paste it. |
As said df -h will print out what percentage your partitions are full. du is good for getting the actual space being used by each directory. du is a little more indepth. I would do a man du for more information. du will give you all the information you need. As far as coping on the command line I think you are looking for yy will copy(or yank) and p will copy the buffer.
|
Also with "screen" you can select, copy and paste lines or parts of lines.
|
I think shift+insert is also used to copy. I might be wrong..
|
Quote:
here the shell option set -o vi needs to be set. Cheers, Tink |
All times are GMT -5. The time now is 06:25 AM. |