Forum › Forums › General › Tips and Tricks › some noteworthy l'il CLI commandline utilities
- This topic has 12 replies, 7 voices, and was last updated Feb 28-5:02 am by Anonymous.
-
AuthorPosts
-
November 19, 2017 at 2:01 pm #2808
Anonymous
ncdu
a (ncurses ui) disk usage utility.
Enables quickly walking thru a directory tree to see #items and size of each subdirectory.
(installed size: 94kb)
me sez: 5 starscolorview
displays a table showing a range of foreground/background ansi colors, plus the escape sequence used to create each combo
( /usr/local/bin/colorview )
pre-installed in antiX, but not easily discoverablenetpro
[s]ave current network profile as …
[l]oad profile from list
view / [e]dit current interfaces file
^— pre-installed in antiX, but not easily discoverableDecember 12, 2017 at 1:23 pm #3645Anonymous
::(moved topic, originally titled: additional candidates for antiX-cli “suggested” list)
Posted as an excuse to bump the visibility of this topic, today I’ll mention debian package moreutils sudu apt install moreutils
This is a growing collection of the Unix tools that nobody thought to write long ago, when Unix was young.
So far, it includes the following utilities:
– chronic: runs a command quietly unless it fails
– combine: combine the lines in two files using boolean operations
– errno: look up errno names and descriptions
– ifdata: get network interface info without parsing ifconfig output
– ifne: run a program if the standard input is not empty
– isutf8: check if a file or standard input is utf-8
– lckdo: execute a program with a lock held
– mispipe: pipe two commands, returning the exit status of the first
– parallel: run multiple jobs at once
– pee: tee standard input to pipes
– sponge: soak up standard input and write to a file
– ts: timestamp standard input
– vidir: edit a directory in your text editor
– vipe: insert a text editor into a pipe
– zrun: automatically uncompress arguments to commandDecember 12, 2017 at 6:11 pm #3689Forum Admin
rokytnji
::Played with this off and on
Just a private learning process lesson for me. I grab certain tools when I find them.
https://launchpad.net/clicompanion
Having CRS < can't remember stuff > at my age. I forgot the ps_mem.py command syntax. So I added it to my cli-companion list of commands as you an see.
Ignore the warnings when it says command not installed. It does not realize we have a /usr/local/bin with custom commands in there.- This reply was modified 5 years, 4 months ago by rokytnji.
- This reply was modified 5 years, 4 months ago by rokytnji.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsNovember 13, 2020 at 2:51 pm #44901Forum Admin
rokytnji
::ncdu
a (ncurses ui) disk usage utility.
Enables quickly walking thru a directory tree to see #items and size of each subdirectory.
(installed size: 94kb)
me sez: 5 starsBump
harry@biker:~ $ apt search ncursesSometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsNovember 14, 2020 at 12:40 pm #44956ModeratorBobC
November 14, 2020 at 3:16 pm #44962Member
manyroads
::FWIW: Here are a few I like- in no particular sequence…
— BashTop/BpyTop (Two variants of the same function from one author. https://github.com/aristocratos/bashtop )
— bashmount (https://github.com/jamielinux/bashmount )
— sl (My grandsons like this one: https://github.com/mtoyoda/sl )
— thefuck (The name might be off-putting to some sensitive people, luckily I’m not SO sensitive. https://github.com/nvbn/thefuck )
— Topgrade ( https://github.com/r-darwish/topgrade & https://ostechnix.com/how-to-upgrade-everything-using-a-single-command-in-linux/ )
— neofetch ( https://github.com/dylanaraps/neofetchPax vobiscum,
Mark Rabideau - http://many-roads.com
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
dwm & i3wm ~Reg. Linux User #449130
20 Jan 2021 ~ "End of an Error"November 14, 2020 at 7:35 pm #44980MemberDzhigit
::This is an article that has been useful to me
90 Linux Commands frequently used by Linux Sysadmins
https://haydenjames.io/90-linux-commands-frequently-used-by-linux-sysadmins/
November 16, 2020 at 2:12 pm #45139Forum Admin
rokytnji
::Not a command line utility. But I have noticed over the years when in command line only desktop or a terminal.
The arrow keys are great for storing previous commands during the session you are in.
Hit the arrow keys while in terminal at a blank prompt and prepare to be surprised.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsNovember 16, 2020 at 3:08 pm #45142ModeratorBobC
::I see I got an update to ncdu today. I haven’t tried the updated version yet.
Did you know you can use it to delete offending files easily?
And also export the list? I haven’t figured out how to process/use that, though.
February 27, 2021 at 7:53 pm #55093Member
userzero
::*** thefuck (The name might be off-putting to some sensitive people, luckily I’m not SO sensitive. https://github.com/nvbn/thefuck)
Nice … Simpática aplicación. 🙂
February 27, 2021 at 9:02 pm #55096ModeratorBobC
::LOL, yes, well, you don’t speak english, so you don’t need to worry about it! I admit that I didn’t try it.
Let’s add hstr to this list 🙂
February 28, 2021 at 2:19 am #55111Memberex_Koo
::@BobC Thanks for hstr like the way it works.
exa adds a nice touch to your terminal readout. Add to your bashrc if you wish or your own style. alias ls=’exa –icons -alB –group-directories-first’
Also with exa for icons to show. kitty , Alacrity working. rxvt not working.alias rl=”exec bash” # Reload Shell
I find the below code handy if you want to quickly extract archives from terminal. (Stolen from DT)
$ex antiX.zip .etcAdd to bashrc
### ARCHIVE EXTRACTION # usage: ex <file> ex () { if [ -f $1 ] ; then case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ;; *.bz2) bunzip2 $1 ;; *.rar) unrar x $1 ;; *.gz) gunzip $1 ;; *.tar) tar xf $1 ;; *.tbz2) tar xjf $1 ;; *.tgz) tar xzf $1 ;; *.zip) unzip $1 ;; *.Z) uncompress $1;; *.7z) 7z x $1 ;; *.deb) ar x $1 ;; *.tar.xz) tar xf $1 ;; *.tar.zst) unzstd $1 ;; *) echo "'$1' cannot be extracted via ex()" ;; esac else echo "'$1' is not a valid file" fi- This reply was modified 2 years, 2 months ago by ex_Koo.
- This reply was modified 2 years, 2 months ago by ex_Koo.
February 28, 2021 at 5:02 am #55118Anonymous
::sudo apt install moreutils
^–vman pee
man mispipe
man sponge
man zrun
man vipeman chronic
man ts
. . . and more -
AuthorPosts
- You must be logged in to reply to this topic.
[/url]