Shell Script to extract various sections of a Man page
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 [...]
How to find the package to which a file belongs (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 [...]