minor changes in methodology.md

parent 9889f253
......@@ -42,7 +42,8 @@ To correctly configure a program previously unknown to the user, the first step
The command `dpkg -L [package]` provides a list of all the files related to the package, which allows us to quickly identify the available local documentation, configuration files and log of events.
For example this command show all files related to anonsurf:
└──╼ $dpkg -L anonsurf
......@@ -77,7 +78,8 @@ The configuration files are usually well documented with explanatory comments th
### Services and logs monitoring
When solving a problem, it is important to check if a service (daemon) involved is working correctly. For example, to check if the Apache service is working correctly, we make an http request:
└──╼ $curl "http://localhost/"
curl: (7) Failed to connect to localhost port 80: Connection refused
......@@ -143,22 +145,39 @@ If all your efforts to solve a problem fail, it is possible that this resolution
### Basic Commands for Troubleshooting
`man` (provide access to man pages)
`ls` (list directory contents)
`cat` (concatenate files and print on the standard output)
`id` (print real and effective user and group IDs)
`uname -a` (print system information)
`lsb_release -a` (print distribution-specific information)
`ifconfig` (configure a network interface)
`iwconfig` (configure wireless devices and connections)
`route -n` (show/manipulate the IP routing table)
`lspci` (list all PCI devices)
`lsusb` (list USB devices)
`dmesg` (print or control the kernel ring buffer)
`lsmod` (show the status of modules in the Linux kernel)
`grep 'string'` (Show the lines of the file that contain the string)
`less` (show the contents of a file in a paged form.)
`which` (locate the path of a program)
`find` (search for files)
`df` (displays disk usage)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment