Linux Cool Tips and Tricks Log 2

Overview

Continuing the tips and tricks series here are the some more tips that you can use to save some time.

The Copy Cat command

So you have a package installed on a system and you have another system require the same package, can’t u just copy it. Yes you surely can. Login to the server which has the package installed and run the following command

ssh root@servername “rpm -qa” -grep -i vsftp | xargs yum -y install

Adding readability Super”MAN” pages

So you wish to convert manuals to pdf on the fly. Lets use ps2pdf to perform it. You can convert long html pages, man pages to pdf files for easy access and readability. Lets convert the man manual to pdf.

man -t man | ps2pdf – manpage.pdf

Cheers till next time…

Advertisements