Linux Fundamentals 5
Linux Fundamentals 5
Getting Help
Cheat Sheet
We will always stumble across tools whose optional parameters we do not know from memory or tools we have never seen before.
Therefore it is vital to know how we can help ourselves to get familiar with those tools. The rst two ways are the man pages and the Table of Contents
help functions. It is always a good idea to familiarize ourselves with the tool we want to try rst. We will also learn some possible Introduction
tricks with some of the tools that we thought were not possible. In the man pages, we will nd the detailed manuals with detailed Linux Structure
explanations.
Linux Distributions
Getting Help
Work ow
Example:
Navigation
Example:
Working with Files and Directories
nosredna@htb[/htb]$ man curl
Editing Files
Find Files and Directories
Example:
File Descriptors and Redirections
curl(1) Curl Manual
Filter Contents
NAME
curl - transfer a URL
Regular Expressions
SYNOPSIS
Permission Management
curl [options] [URL...]
Package Management
curl offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post,
Service and Process Management
curl is powered by libcurl for all transfer-related features. See libcurl(3) for details.
Network Services
Working with Web Services
After looking at some examples, we can also quickly look at the optional parameters without browsing through the complete
Backup and Restore
documentation. We have several ways to do that.
File System Management
Syntax:
Containerization
Example:
Start Instance
Example:
1 / 1 spawns left
nosredna@htb[/htb]$ curl -h
As we can see, the results from each other do not di er in this example. Another tool that can be useful in the beginning is apropos.
Each manual page has a short description available within it. This tool searches the descriptions for instances of a given keyword.
Syntax:
Syntax:
Example:
Example:
Another useful resource to get help if we have issues to understand a long command is: https://explainshell.com/
Powered by