I use
atuin
(link) all the timeI’ll probably start using this for the Pratchett reference alone
tldr
is great. Basically a crowd-sourced alternative toman
with much more concise entries. Example:$ tldr dhcpcd DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>. Release all address leases: sudo dhcpcd --release Request the DHCP server for new leases: sudo dhcpcd --rebind
Well…slap my ass and call me Mary…
Thanks kind internet stranger!Woah, that’s dope as heck. Thank you!
:O
I really like how nushell can parse output into it’s native structures called tables using the
detect
command.Unlike string outputs, tables allow for easy data manipulation through pipes like
select foo
will select foo key and you can filter and even reshape the datasets.This is great if you need to work with large data pipes like kuberneters so you can do something like:
kubectl get pods --all-namespaces | detect columns | where $it.STATUS !~ "Running|Completed" | par-each { |it| kubectl -n $it.NAMESPACE delete pod $it.NAME }
This looks complex but it parses kubectl table string to table object -> filters rows only where status is not running or completed -> executes pod delete task for each row in parallel.
Nushell take a while to learn but having real data objects in your terminal pipes is incredible! Especially with the
detect
command.There’s are few more shells that do that though nu is the most mature one I’ve seen so far.
sudo
doas
Zoxide, dust, fd, rg, btm, tokei. So many newer Rust tools that are way better than the old stuff.
As primarily a Windows admin (Yes, we exist on Lemmy ;) ) here are few I use often.
Enter-PSSesion
Get-ADUser
(also group and computer)CLS
(aka the superiorclear
)ii .
(short forInvoke-Item .
which runs the selected object using the default method. For paths (like.
) the default is explorer, soii .
opens the current directory using explorer.)ft
(short forFormat-Table
formats piped input as a table.)fl
(short forformat-like
. Used likeft
but for lists.)Where-Object
Select-Object
Fucking hell Lol 😂
There are dozens of us.
Also, I’ll add:
- Get-Help
- Get-Command
- Get-Member
exit
I’ve recently started using
tmux
when starting a new SSH session to try to build the habit.git
Neofetch
I just think it’s neat.
It’s been abandoned btw. People recommend to switch to alternatives. Fastfetch and hyfetch seem to be the best ones rn.
Works just fine for me
rsync
I use it to backup important work to an external drive.
exit
Control + D
cd
thenls
thencd
thenls
maybe I’ll throw als -a
Nah you gotta alias ls -a to la for more efficiency.
l
Don’t forget your
pwd
thrown in to get back your bearings!Done be silly, that’s part of my prompt.
I use -A instead, which doesn’t show “.” and “…”
ls and cd
I sometimes hit ls and then need to type dir.
The amount of times i tried to dir in linux and ls in windows is mire than I like to admit
flac -t *