It gets installed as a set of static web pages in the following directory:
/usr/share/doc/abs-guide/
specifically in the 'html' subdirectory. The easiest way to open this would be to use the file manager to browse to the html directory and double click the index.html file. This will open it in the default web browser. I would suggest bookmarking it - as it is far more than can be read completely in a single session, and will make returning to it much easier next time.
Assuming you know the package name (see below for how to determine this) You can see where a package gets installed with the following command:
dpkg -L <packagename>
so in your case:
dpkg -L abs-guide
Note: this may show more than one location. For example, it may install a config file in the /etc directory and working files in the /var directory and an executable in /usr/bin etc.
You can also use the find command to locate a file or directory:
sudo find / -name abs-guide
The above command searches the root directory and all subdirectories for files/directories named 'abs-guide'. A few notes on the above:
- I used sudo so it would allow me to search without throwing a bunch of permission errors.
- I knew to search for 'abs-guide' because that was the package name below the package title - The Advanced Bash-Scripting Guide.
- You can also use wildcards to match a part of the file name. for example you could search for all files/directories that end with 'guide' using the following command:
sudo find / -name *guide
Since you are new to Linux and keen on learning I would suggest that you read the man page for new/unfamiliar commands. Man pages are the built-in user documentation for Linux commands. You might want to start with man man
(yes the man command has its own manual page). You may also want to look at man find
, man dpkg
and man section 7 glob
(which discusses wildcards). Once you get the basics down TLDR pages can be installed and is a more concise form of help when you just need to see an example or a reminder of which flag or option you need.
There is a common practice, followed to varying degrees by different Linux distributions, for the Linux filesystem. This can help you make some assumptions about where a file or program is installed. Try man 7 file-heirarchy
A good introduction and set of additional resources can be found in this article from Linux.com.
Lastly, once you are comfortable with the find command you may want to explore the locate
and mlocate
commands. They are often faster than find
since they work from a prepared database instead of searching the disk. Note they will need to be installed and the database updated before use.