Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips on Shell Commands
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
command-not-found - Suggest installation of packages in interactive bash sessions
-
nohup, disown
-
nautilus-open-terminal
Configuration
https://github.com/thoughtbot/til/blob/master/bash/bash_profile_vs_bashrc.md#:~:text=bashrc%20is%20sourced%20on%20every …
Clean Temporary Files in Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The script purge_cache.sh is a good one for clean cache of various package managers and temporary files on Linux.
Tips on rsync
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
-
The command
rsync -avh src_dir des_dir
(src_dir
has no trailing slash) synchronizes the whole directorysrc_dir
into the destination directorydes_dir
whilersync -avh src_dir/ des_dir
(src_dir/
has …
Working Remotely in Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
From Linux to Linux
Command Line Mode Using ssh
- Using X forwarding, you can also run GUI applications on the server. This is not recommended unless it's short quick work.
Remote …
Undelete Files in Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The best way to "recover deleted files"
is really to avoid permanently delete files.
It is suggested that you avoid using the rm
command
(unless you are 100% sure what you …