DOS 3.3 features I used to take for granted...?
Maybe I am a dinosaur,
and maybe even maintenance activities like 'defragging' have also gone the way of the dinosaur. .... But I still feel like I'm floating at sea in a rowboat, when I can't even do a 'dir' and automatically be told how much space my files are taking up, and how much space I have left on my hard drive or partition. Isn't there a simple set of utilities or built-in commands that do all the things the DOS commands did, (which was kinda like Unix anyway)? ...under Linux I mean... |
Besides 'dir', I think you might want to check out the 'du' and 'df' commands...
|
How about the whole coreutils package? It does pretty much everything dos did, and more. I don't really think dos was much like linux... perhaps it's similar to a particular shell.
|
...coreutils pre-installed?
Is that a package that's built in or installed with my distro? (Gentoo)
or do I add those from the command line, and hunt for a tutorial? |
There isn't anything 'built in' to linux. All the command like ls, cp, rm etc are just programs sitting somewhere on the system. They are included as standard in every distro though.
As for defragging, it's not necessary to defrag an ext2/3 or reiserfs filesystem. Only microsoft buggered up the filesystem so hideously that it needs defragging. ls -l will tell you in a dir like fashion how much space programs are taking up. If there's too much to fit on a page then pipe it through less (ls -l | less) |
https://www.redhat.com/docs/manuals/...-doslinux.html
This might help. Just google for dos linux commands. There are more comparisons than just that one. |
Trust me, you have coreutils. :) 'ls','cp','rm', and 'mv' are all part of coreutils.
Code:
* sys-apps/coreutils |
Re: DOS 3.3 features I used to take for granted...?
Quote:
If that's what you want, try this: Code:
ls -l -Open /etc/profile (or maybe ~/.bashrc if you don't want a system-wide update) -Add this: Code:
alias ll='ls -l'; Regards, |
Wow great tip:
I just used that "Alias" trick to make a command:
Now I can just type # "showupdates" > list.txt to have a list of files that need name changing. The old batch file days are returning.... |
All times are GMT -5. The time now is 08:56 PM. |