Mount disk and install grub boot loader 1

Mount disk and install grub boot loader

Mount disk and install grub boot loader

 

Delete all lines of a file containing a regex pattern using sed 2

Delete all lines of a file containing a regex pattern using sed

Delete all lines of a file containing a regex pattern using sed. For example you can delete all commented lines of a default configuration file. Take a look on my basic regex cheat sheet  

 

Replace a string with a new one in all files using sed and xargs 3

Replace a string with a new one in all files using sed and xargs

Replace a string with a new one in all files using sed and xargs

     

comment specific line using sed command 4

comment specific line using sed command

Comment specific line using sed command can be used to configuration files …

 

Find ulimit -a for other users that don't have shell access 5

Find ulimit -a for other users that don’t have shell access

Find ulimit -a for other users that don’t have shell access using su command and ulimit attaching a bash shell

merge pdf files in linux

How to merge multiple PDF files in Linux

This entry is part 1 of 2 in the series PDF Editing In Linux

Merge multiple PDF files in Linux is easy running one simple command by using PDF Toolkit. Installation on Ubuntu > 16.04:

Merge multiple pdf files: In this example we have n pdf files in the same directory, each file has the prefix sample-pdf-. The command below will merge n number of pdf files, using […]

merge pdf files in linux

How to replace a single page in a PDF file using another PDF file in Linux

This entry is part 2 of 2 in the series PDF Editing In Linux

By using the PDF Toolkit PDFtk library you can do this simple pdf editing task and many more. For all of you creating software related to PDF documents you should really spend some time reading about PDFtk server. Installation:

Usage: In this example we have two pdf files with 10 pages each. The command […]

Batch Watermark photos with imageMagick script 6

Batch Watermark photos with imageMagick script

ImageMagick is an awesome image manipulation tool. It provides an command-line API for literally hundreds of functionalities related to image editing. Every now and then I need to apply watermarks to my images before posting them somewhere online, in public. GIMP, has one or two scripts which extend its functionalities but there’s no neat way […]