Bash
Fun with Vim
Common commands Here a list of the most common vim commands Change git default editor to vim Comment out with # from line 10 to line 110 Search
Common commands Here a list of the most common vim commands Change git default editor to vim Comment out with # from line 10 to line 110 Search
Clone existing repo Align remote changes Align remote changes inside local repo Merge a remote repo inside your local Create new branch Check status Create new branch Push new branch Commit changes List git branches that contain a given commit If you need to know which are the branches that Read more…
Scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh. Scp will ask for passwords or passphrases if they are needed for authentication You can copy single or multiple files using * wild card Read more…
The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Normally the crontab util is located under /etc/crontab Locate your crontab and enter with your default editor In this case the script “test.sh” it’s executed with “root” user permission, every minutes Read more…
Merge pdf using pdftk pdftk is a command line handy tool for manipulating PDF usage example Remove pdf pages using pdftk example discarding page 13 from in.pdf and producing out.pdf Resize and scale using Ghostscript gs or Ghostscript is a PostScript and PDF language interpreter and pre‐viewer Usage example Change Read more…