Assume you are logged in to a remote server via SSH and are running a task which takes longer to complete than you want to wait.
The straight-forward option would be to terminate the task and re-run it at a later time, but that is not always an acceptable option.
Instead you can send the active task to background and leave it running even after you log out.
- Press Ctrl-Z to pause the task
- Type bg to send it to the background and resume running
- Type disown to disassociate the process with your SSH login, so that it does not terminate when you log out
- Type exit to log out
You can simply copy the font either as separate .TTF files or as a whole directory named after the family of the font, into the hidden directory .fonts inside your user’s home directory.
Then, if you want to start using the new font immediately, do rebuild the font cache with the command:
- fc-cache -f -v
The Shipping tab is supposed to be between the Tax and Payments tabs in:
- WooCommerce -> Settings -> Shipping
But it is not there?!
Check the parameters in
- WooCommerce -> General
You may have
- Shipping location(s)
- Disable shipping & shipping calculations
Just change it to something else and the missing tab will appear.
You can kill (end, terminate) a process (task, program, application) in Windows in a way that is similar to the way it is done in Linux.
Start cmd.exe, e.g.:
- Start -> Run -> cmd
In the terminal window that pops up at the prompt type:
Look for the PID of the process you want to terminate and use the following command to ask it nicely to quit:
- taskkill /PID <your PID here>
If you were lucky, the process will terminate. If it doesn’t, use force:
- taskkill /PID <your PID here> /F
To have PostgreSQL server start automatically at boot do:
- sudo systemctl enable postgresql
A very convenient tool to visually display differences between two PDF files is diffpdf.
Meet feh – a fast and minimalist image viewer, suitable for quickly scrolling though your collection of resized photos without annoying jerks and delays.
It can be installed from your package repository.
One way to use it is to open the terminal window in the folder where your images are stored and run command:
Here “Z” stands for zoom, and “F” stands for full screen. So it goes full screen and any images smaller than the screen size will be zoomed up. You can also add “r” parameter to recursively scan all subdirectories.
You can also set delay between slides. Read more about it all: