a list of programs to replace the ancient Coreutils
This is being mentinoned as a sort of pre resqiuite to everything else. You'll probably want whatever you switch to to keep working like you're used to, so using aliases can help. To make them persistant you'll likely need to put them in your shell's config file, so your .bashrc
, .zshrc
, or whatever depending on what shell you use. This is particularly powerful when you consider that these alises can include flags (ex: alias ls="lsd -la"
) or be basically full scripts (ex: alias cb="git branch | fzf | sed 's/\* //g' | xargs -I '{}' git checkout {}"
)
it's also worth mentioning that these scripts themselves can be used as aliases in a way using using functions
for example with this,
function timer() {
total=$1
for ((i=total; i>0; i--)); do sleep 1; printf "Time remaining $i secs \r"; done
echo -e "\a"
}
in the shell config file you can run timer 10
directly or use it as part of other scripts
finally, if you need an 'alias' that can work across shells would an option is to drop an executable script somewhere in your path.
uname is used to get info on the kernel version and system architecture
For a fancy system information display:
neofetch -
For actually getting debug infor about the kernel:
cat /proc/version
or dmesg | grep -i "linux version"
but neither provided any info left out from uname -a
.
you may be able to find more information about your kernel by digging around in /lib/modules/[kernel version]
depending on your bootloader, you may find more info in /boot/loader/entries/[yourOS].conf
awk, sed, tr, and cut are often used for shell scripting as data is piped from the output from one command to another.
see also grep
choose -
okay, so cal itself isn't even a core util, but I'm counting it anyway dangit. It just displays a cute lil' terminal calendar. Lightweight, sure, but there's better out there:
khal -
cat is supposed to be short for concatenate, so that you can use
cat file1 file2
to merge two files onto stdout, but, really most people just use it to quickly read a file in the terminal and it pretty much sucks for that.
bat -
mdcat -
hexyl -
See [Directory Navigation]
rsync
dc, a calculator that you have to look up to figure out how to use. bc, a better but still pretty lame calculator
...python? - I mean, python's interactive shell makes for a great caculator too.
Honorable mention: speedcrunch - speedcrunch is gui based, but not in the god-awful way that a lot of gui calculators are. It works really well. If you've got a display server running and can it's worth it.
duf -
diff-so-fancy icdiff delta
ncdu
echoowo lolcat figlet toilet banner
fd
gef
radicle
ripgrep
resh
lsd exa
lsof lsusb lstopo lshw lsblk lsns lspci
tmux
mosh -
htop ghtop
runiq -
zsh fish xonsh
up (ultimate plumber) rat
scapy
spacevim neovim
nnn ranger autojump
moreutils hr fltrdr irssi jq crex entr noti pandoc uxy
taskwarrior
stress-ng dmidecode
irssi lx gist
orca-c waifu-2x mpd+ncmpcpp
lynx w3m browsh youtube-dl
wttr