If a pdf file is located in a different folder, you have to add the path like this: $home/Downloads/source1.pdf If you want to merge all pdf’s of the current folder you cant type:
Suspend a application. Resume it again by fg (resume in foreground) and bg (resume in background). Use jobs if you have multiple suspended applications and use fg %# (where # is the job number) to get it back on screen or end it with kill %#.
Ctrl-D
is same as typing exit
Pos1
like Ctrl-A
End
like Ctrl-E
Ctrl-R
Search terminal history
Ctrl-G
Exit searching terminal history
Some of the shortcuts are also recognized by other applications, like Ctrl-U on Ubuntu’s graphical login screen.
If you downloaded a series there are often folders for each episode. Each episode folder often includes another folder called “Sample” with a short demo video file.
Series -> Season 01 -> Episode 01 -> Sample -> sample.mkv
To get rid of these you can use the “find” and “rm” command. To remove each sample folder with its content you have to use the remove command with an “-r”.
To disable password authentication permanently you have to edit the ssh config. Be sure to first backup before editing. Now just set PasswordAuthentication to “no” in your config and restart the ssh daemon.
cp /etc/ssh/sshd_config /etc/ssh/sshd_config_bak
nano /etc/ssh/sshd_config
service ssh restart
Simple plugin to get autosuggestions from your history while typing in your Zsh shell. If you are using Oh My Zsh, the installtion is done in 3 steps. Look here. Just grab the plugin:
“Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs.” For the installation look at Github. In my case I had to run the following command:
Restart your terminal to launch the Oh My Zsh configuration. After the installation and configuration I usually add “neofetch | lolcat” at the end of my zsh config: ~/.zshrc
Set ZSH_THEME=powerlevel10k/powerlevel10k in your ~/.zshrc.
I also installed the patched Meslo Nerd Font and set it as terminal font. Else some icons will not be displayed in Powerlevel10k. Restart your terminal and go through the configuration steps. The result will look similar to this:
# When installing with "apt install lolcat", you will get version: lolcat 42.0.99
# To get the current version use:
sudo apt remove lolcat -y
wget https://github.com/busyloop/lolcat/archive/master.zip
unzip master.zip
rm master.zip
cd lolcat-master/bin
sudo gem install lolcat
3. Append the following line at the end of your ~/.bashrc (or at the beginning, if you are using zsh: ~/.zshrc) file, to get the neofetch output on every terminal run.
neofetch | lolcat
If you want to change the config of neofetch, you’ll find it here: