I’ve used Linux full-time since late 2020 and I never knew about ctrl+y and ctrl+u.
I’d also like to contribute some knowledge.
aliases
You can put these into your ~/.bashrc or ~/.zshrc or whatever shell you use.
###### ls aliases#### ls = colorsaliasls='ls --color=auto'# ll = ls + human readable file sizesalias ll='ls -lh --color=auto'# lla = ll + show hidden files and foldersalias lla='ls -lah --color=auto'###### other aliases#### set color for different commandsalias diff='diff --color=auto'alias grep='grep --color=auto'alias ip='ip --color=auto'# my favourite way of navigating to a far-off folder# this scans my home folder and presents me with a list of# fuzzy-searchable folders# you need fzf and fd installed for this alias to workalias cdd='cd "$(sudo fd -t d . ${HOME} | fzf)"'
recommendations
ncdu - a shell-based tool to analyze disk usage, think GNOME’s baobab or KDE’s filelight but in the terminal
Yeah, linux-servers without the tools installed in your PC are a hassle. That’s why I learned to work with vim, as that’s in nearly every distro’s repo.
I recommended atuin as I was using it before, but currently I am using ohmyzsh with the fzf plugin for zsh. This has a very atuin-like interface and handling, but as a plugin for zsh itself.
Saved! Thank you so much.
I’ve used Linux full-time since late 2020 and I never knew about
ctrl+y
andctrl+u
.I’d also like to contribute some knowledge.
aliases
You can put these into your
~/.bashrc
or~/.zshrc
or whatever shell you use.### ### ls aliases ### # ls = colors alias ls='ls --color=auto' # ll = ls + human readable file sizes alias ll='ls -lh --color=auto' # lla = ll + show hidden files and folders alias lla='ls -lah --color=auto' ### ### other aliases ### # set color for different commands alias diff='diff --color=auto' alias grep='grep --color=auto' alias ip='ip --color=auto' # my favourite way of navigating to a far-off folder # this scans my home folder and presents me with a list of # fuzzy-searchable folders # you need fzf and fd installed for this alias to work alias cdd='cd "$(sudo fd -t d . ${HOME} | fzf)"'
recommendations
ncdu - a shell-based tool to analyze disk usage, think GNOME’s baobab or KDE’s filelight but in the terminal
zellij - tmux but easy and with nice colors
atuin - shell history but good, fuzzy-searchable. If you still have the basic shell history (when pressing
ctrl+r
), I cannot recommend this enough.ranger - a terminal file-browser (does everything I need and way more)
Also, Terminal User Interfaces are a nice middle ground between learning terminal commands and having a GUI.
Example:
btop - process manager TUI
ncmpcpp - TUI media player, used mpd on the backend
Here’s a big list: https://github.com/rothgar/awesome-tuis
Yes, TUIs definitely help reduce possible stress and fear of complexity for new users.
Thanks for the git link, didn’t know that, just starred it :)
+1 for Atuin. I constantly use it on my machine and SSH-ing on remote machines who don’t have it is an absolute pain.
I’m gonna have to save this thread and check some of those!
Yeah, linux-servers without the tools installed in your PC are a hassle. That’s why I learned to work with vim, as that’s in nearly every distro’s repo.
I recommended atuin as I was using it before, but currently I am using ohmyzsh with the fzf plugin for zsh. This has a very atuin-like interface and handling, but as a plugin for zsh itself.