Originally posted by Don B. Cilly
View Post
Announcement
Collapse
No announcement yet.
Pithy Nothingness
Collapse
This topic is closed.
X
X
-
True but... even though it's not strictly "useful information", I try to sort of "strike a balance"...
Look, I got it to "look good", it prints the header at the top, and if I mount other partitions it doesn't make a mess - the other hack did (it was a late-night hack).
True that I "lose" the line again, but... it's not too bad ;·)
I could have just:
/dev/sdc2 96G 13G 78G 15% /
/dev/sdc3 101G 9.2G 87G 10% /media/not/K20
etc., without the header, but I'd have to think :·)
Wasted energy... ;·)
And, especially in cases of seldom-mounted partitions, it's not a bad thing to know what the size and actual use are, so just having the % is a bit... poor.
I have the horizontal space anyway, and it would look a bit... blank.
About the horizontal space... it's also true that things like /media/not/K20 become /media/not , but... striking balances with font sizes, alignments and all... it's good enough for me.
[EDIT] The whole shething looks like this, so... it does "fit" :·)
Last edited by Don B. Cilly; May 20, 2020, 01:22 AM.
- Top
- Bottom
Comment
-
From the "Keyboard gypsies of Southern Europe" chapter:
"Well, somewhere in the Black Mountain Hills of Ibiza, I met a young guy called Ricky Teaspoon.
He had a little pop-up terminal in the dock. Looked like this:
I said, man, why would you want that when you have a KRunner just an Alt-F2 away?
He said, well that won't let me do aliases and stuff..."
- Top
- Bottom
Comment
-
From the "Taurocoprography and other idle pastimes" chapter:
- See, my young apprentice, when I was your age, we didn't use no GUIs, it was all black-and-white text.
Some commands being a bit long and complicated, we used aliases.
One of the first aliases I made on my servers was "ll" for "ls -la".
Not because it was long or complicated, but I just used it so often... of course now that alias is a preset default on most distributions.
So now I change it to "ls -lah". Where the h is for "human readable". It returns the size in KB, MB, etc, instead of just bytes.
So instead of having, for example:
-rw-rw-r-- 1 user group 450560 Jan 1 2000 somedata.db
you would have:
-rw-rw-r-- 1 user group 440K Jan 1 2000 somedata.db
which is easier to read... for humans :·)
- Top
- Bottom
Comment
Comment