0

Shell Script to extract various sections of a Man page

Posted by Joys of Programming on in Linux, Shell Scripting

A Man page has various sections like NAME SYNOPSIS DESCRIPTION EXAMPLE AUTHORS The above are some of the few sections to name for. You open a man page using the command man. It can also be redirected to a file. Let’s see the script As you can see that it takes three arguments, The Man [...]

Tags: , ,

 
1

How to find the package to which a file belongs (Ubuntu)?

Posted by Joys of Programming on in Ubuntu

If you are working in Ubuntu/Debian, you may want to know the package to which a particular file belongs to. Take for example, you want to find out the package to which the command ‘ls’ is found. For this purpose, you must know the complete path of the command which can be found out easily [...]

Tags: , , , , , ,

 
0

How to install the missing man pages in Ubuntu?

Posted by Joys of Programming on in C/C++

Man pages or the Manual pages of Linux are classified into 8 categories. If Man Pages 1 correspond to the manual pages of the commands available in your terminal. Man pages 2 and 3 are related to development. By default, the manpages 1 are installed in your system. In case, it is not installed, run [...]

Tags: , , , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.