> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/os/unix.md).

# linux

- [Reference](https://ploegert.gitbook.io/til/os/unix/reference.md)
- [ubuntu-specific](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific.md)
- [Upgrading Ubuntu](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/upgrading-ubuntu.md)
- [Check Ubuntu Version](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/check-ubuntu-version.md)
- [Config ubuntu 20.04 vm for rdp](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/config-ubuntu-20.04-vm-for-rdp.md)
- [Setup Charles Proxy on Ubuntu](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/setup-charles-proxy-on-ubuntu.md): This is an opinionated article that details how to setup Charles proxy on Ubuntu (as shown on 24.04). Please see charles website for more information: https://www.charlesproxy.com/.
- [SNMP Setup on Ubuntu](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/snmp-setup-on-ubuntu.md)
- [pam\_mount for network shares](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/pam_mount-for-network-shares.md)
- [LVM Disk Expansion](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/lvm-disk-expansion.md)
- [Active Directory Domain Join](https://ploegert.gitbook.io/til/os/unix/ubuntu-specific/active-directory-domain-join.md)
- [Fedora](https://ploegert.gitbook.io/til/os/unix/fedora.md): Source: https://github.com/henk52/knowledgesharing/wiki/FedoraCookbook
- [alias](https://ploegert.gitbook.io/til/os/unix/alias.md)
- [Ignore The Alias When Running A Command](https://ploegert.gitbook.io/til/os/unix/alias/ignore-the-alias-when-running-a-command.md)
- [crypto](https://ploegert.gitbook.io/til/os/unix/crypto.md)
- [Generate A SAML Key And Certificate Pair](https://ploegert.gitbook.io/til/os/unix/crypto/generate-a-saml-key-and-certificate-pair.md)
- [datetime](https://ploegert.gitbook.io/til/os/unix/datetime.md)
- [Figure Out The Week Of The Year From The Terminal](https://ploegert.gitbook.io/til/os/unix/datetime/figure-out-the-week-of-the-year-from-the-terminal.md)
- [Show Current System Time And Settings](https://ploegert.gitbook.io/til/os/unix/datetime/show-current-system-time-and-settings.md)
- [Configure Your Server Timezone](https://ploegert.gitbook.io/til/os/unix/datetime/configure-your-server-timezone.md)
- [Get The Unix Timestamp](https://ploegert.gitbook.io/til/os/unix/datetime/get-the-unix-timestamp.md)
- [Touch Access And Modify Times Individually](https://ploegert.gitbook.io/til/os/unix/datetime/touch-access-and-modify-times-individually.md)
- [Format And Print The Current Date And Time](https://ploegert.gitbook.io/til/os/unix/datetime/format-and-print-the-current-date-and-time.md)
- [disk](https://ploegert.gitbook.io/til/os/unix/disk.md)
- [Add disk to Virtual Machine](https://ploegert.gitbook.io/til/os/unix/disk/add-disk-to-virtual-machine.md)
- [Display Free Disk Space](https://ploegert.gitbook.io/til/os/unix/disk/display-free-disk-space.md)
- [Show Disk Usage For The Current Directory](https://ploegert.gitbook.io/til/os/unix/disk/show-disk-usage-for-the-current-directory.md)
- [directory](https://ploegert.gitbook.io/til/os/unix/directory.md)
- [Change To That New Directory](https://ploegert.gitbook.io/til/os/unix/directory/change-to-that-new-directory.md)
- [Check The Current Working Directory](https://ploegert.gitbook.io/til/os/unix/directory/check-the-current-working-directory.md)
- [Configure cd To Behave Like pushd In Zsh](https://ploegert.gitbook.io/til/os/unix/directory/configure-cd-to-behave-like-pushd-in-zsh.md)
- [Display The Contents Of A Directory As A Tree](https://ploegert.gitbook.io/til/os/unix/directory/display-the-contents-of-a-directory-as-a-tree.md)
- [Copying Nested Directories With Ditto](https://ploegert.gitbook.io/til/os/unix/directory/copying-nested-directories-with-ditto.md)
- [Globbing For Filenames In Zsh](https://ploegert.gitbook.io/til/os/unix/directory/globbing-for-filenames-in-zsh.md)
- [Globbing For All Directories In Zsh](https://ploegert.gitbook.io/til/os/unix/directory/globbing-for-all-directories-in-zsh.md)
- [Use fzf To Change Directories](https://ploegert.gitbook.io/til/os/unix/directory/use-fzf-to-change-directories.md)
- [Show The Size Of Everything In A Directory](https://ploegert.gitbook.io/til/os/unix/directory/show-the-size-of-everything-in-a-directory.md)
- [List The Stack Of Remembered Directories](https://ploegert.gitbook.io/til/os/unix/directory/list-the-stack-of-remembered-directories.md)
- [file](https://ploegert.gitbook.io/til/os/unix/file.md)
- [Copying File Contents To System Paste Buffer](https://ploegert.gitbook.io/til/os/unix/file/copying-file-contents-to-system-paste-buffer.md)
- [Do Not Overwrite Existing Files](https://ploegert.gitbook.io/til/os/unix/file/do-not-overwrite-existing-files.md)
- [File Type Info With File](https://ploegert.gitbook.io/til/os/unix/file/file-type-info-with-file.md)
- [Find Files With fd](https://ploegert.gitbook.io/til/os/unix/file/find-files-with-fd.md)
- [Find Newer Files](https://ploegert.gitbook.io/til/os/unix/file/find-newer-files.md)
- [Get Matching Filenames As Output From Grep](https://ploegert.gitbook.io/til/os/unix/file/get-matching-filenames-as-output-from-grep.md)
- [Hexdump A Compiled File](https://ploegert.gitbook.io/til/os/unix/file/hexdump-a-compiled-file.md)
- [List Files Ordered By Modification Date](https://ploegert.gitbook.io/til/os/unix/file/list-files-ordered-by-modification-date.md)
- [List Names Of Files With Matches](https://ploegert.gitbook.io/til/os/unix/file/list-names-of-files-with-matches.md)
- [List Stats For A File](https://ploegert.gitbook.io/til/os/unix/file/list-stats-for-a-file.md)
- [Create A File Descriptor with Process Substitution](https://ploegert.gitbook.io/til/os/unix/file/create-a-file-descriptor-with-process-substitution.md)
- [Print Out Files In Reverse](https://ploegert.gitbook.io/til/os/unix/file/print-out-files-in-reverse.md)
- [Securely Remove Files](https://ploegert.gitbook.io/til/os/unix/file/securely-remove-files.md)
- [Print A Range Of Lines For A File With Bat](https://ploegert.gitbook.io/til/os/unix/file/print-a-range-of-lines-for-a-file-with-bat.md)
- [http](https://ploegert.gitbook.io/til/os/unix/http.md)
- [Curl With Cookies](https://ploegert.gitbook.io/til/os/unix/http/curl-with-cookies.md)
- [Curling For Headers](https://ploegert.gitbook.io/til/os/unix/http/curling-for-headers.md)
- [Curling With Basic Auth Credentials](https://ploegert.gitbook.io/til/os/unix/http/curling-with-basic-auth-credentials.md)
- [history](https://ploegert.gitbook.io/til/os/unix/history.md)
- [Jump To The Ends Of Your Shell History](https://ploegert.gitbook.io/til/os/unix/history/jump-to-the-ends-of-your-shell-history.md)
- [Last Argument Of The Last Command](https://ploegert.gitbook.io/til/os/unix/history/last-argument-of-the-last-command.md)
- [Global Substitution On The Previous Command](https://ploegert.gitbook.io/til/os/unix/history/global-substitution-on-the-previous-command.md)
- [Search History](https://ploegert.gitbook.io/til/os/unix/history/search-history.md)
- [java](https://ploegert.gitbook.io/til/os/unix/java.md)
- [List The Available JDKs](https://ploegert.gitbook.io/til/os/unix/java/list-the-available-jdks.md)
- [networking](https://ploegert.gitbook.io/til/os/unix/networking.md)
- [Check If A Port Is In Use](https://ploegert.gitbook.io/til/os/unix/networking/check-if-a-port-is-in-use.md)
- [Kill Everything Running On A Certain Port](https://ploegert.gitbook.io/til/os/unix/networking/kill-everything-running-on-a-certain-port.md)
- [Map A Domain To localhost](https://ploegert.gitbook.io/til/os/unix/networking/map-a-domain-to-localhost.md)
- [List Of Sessions To A Machine](https://ploegert.gitbook.io/til/os/unix/networking/list-of-sessions-to-a-machine.md)
- [package management](https://ploegert.gitbook.io/til/os/unix/package-management.md)
- [Get Repo's](https://ploegert.gitbook.io/til/os/unix/package-management/get-repos.md)
- [Hold package version - do not upgrade](https://ploegert.gitbook.io/til/os/unix/package-management/hold-package-version-do-not-upgrade.md)
- [Install a Specific Version of Package](https://ploegert.gitbook.io/til/os/unix/package-management/install-a-specific-version-of-package.md)
- [Switch Versions of a Brew Formula](https://ploegert.gitbook.io/til/os/unix/package-management/switch-versions-of-a-brew-formula.md)
- [Switch between Local & remote packages](https://ploegert.gitbook.io/til/os/unix/package-management/switch-between-local-and-remote-packages.md)
- [process](https://ploegert.gitbook.io/til/os/unix/process.md)
- [PID Of The Current Shell](https://ploegert.gitbook.io/til/os/unix/process/pid-of-the-current-shell.md)
- [Open The Current Command In An Editor](https://ploegert.gitbook.io/til/os/unix/process/open-the-current-command-in-an-editor.md)
- [List Parent pid With ps](https://ploegert.gitbook.io/til/os/unix/process/list-parent-pid-with-ps.md)
- [Check If Command Is Executable Before Using](https://ploegert.gitbook.io/til/os/unix/process/check-if-command-is-executable-before-using.md)
- [Exclude Certain Files From An rsync Run](https://ploegert.gitbook.io/til/os/unix/process/exclude-certain-files-from-an-rsync-run.md)
- [List The Statuses Of All Upstart Jobs](https://ploegert.gitbook.io/til/os/unix/process/list-the-statuses-of-all-upstart-jobs.md)
- [Do A Dry Run Of An rsync](https://ploegert.gitbook.io/til/os/unix/process/do-a-dry-run-of-an-rsync.md)
- [Where Are The Binaries?](https://ploegert.gitbook.io/til/os/unix/process/where-are-the-binaries.md)
- [Watch This Run Repeatedly](https://ploegert.gitbook.io/til/os/unix/process/watch-this-run-repeatedly.md)
- [shells](https://ploegert.gitbook.io/til/os/unix/shells.md)
- [Change Default Shell For A User](https://ploegert.gitbook.io/til/os/unix/shells/change-default-shell-for-a-user.md)
- [terminal](https://ploegert.gitbook.io/til/os/unix/terminal.md)
- [Clear The Screen](https://ploegert.gitbook.io/til/os/unix/terminal/clear-the-screen.md)
- [Cat Files With Color Using Bat](https://ploegert.gitbook.io/til/os/unix/terminal/cat-files-with-color-using-bat.md)
- [Display All The Terminal Colors](https://ploegert.gitbook.io/til/os/unix/terminal/display-all-the-terminal-colors.md)
- [Cat A File With Line Numbers](https://ploegert.gitbook.io/til/os/unix/terminal/cat-a-file-with-line-numbers.md)
- [Less With Style](https://ploegert.gitbook.io/til/os/unix/terminal/less-with-style.md)
- [View A Web Page In The Terminal](https://ploegert.gitbook.io/til/os/unix/terminal/view-a-web-page-in-the-terminal.md)
- [Undo Some Command Line Editing](https://ploegert.gitbook.io/til/os/unix/terminal/undo-some-command-line-editing.md)
- [Command Line Length Limitations](https://ploegert.gitbook.io/til/os/unix/terminal/command-line-length-limitations.md)
- [Saying Yes](https://ploegert.gitbook.io/til/os/unix/terminal/saying-yes.md)
- [Watch The Difference](https://ploegert.gitbook.io/til/os/unix/terminal/watch-the-difference.md)
- [string](https://ploegert.gitbook.io/til/os/unix/string.md)
- [Repeat Yourself](https://ploegert.gitbook.io/til/os/unix/string/repeat-yourself.md)
- [ssh](https://ploegert.gitbook.io/til/os/unix/ssh.md)
- [Killing A Frozen SSH Session](https://ploegert.gitbook.io/til/os/unix/ssh/killing-a-frozen-ssh-session.md)
- [Forward Multiple Ports Over SSH](https://ploegert.gitbook.io/til/os/unix/ssh/forward-multiple-ports-over-ssh.md)
- [SSH Escape Sequences](https://ploegert.gitbook.io/til/os/unix/ssh/ssh-escape-sequences.md)
- [Specify The Language For A File With Bat](https://ploegert.gitbook.io/til/os/unix/ssh/specify-the-language-for-a-file-with-bat.md)
- [SSH With Port Forwarding](https://ploegert.gitbook.io/til/os/unix/ssh/ssh-with-port-forwarding.md)
- [search/query](https://ploegert.gitbook.io/til/os/unix/search-query.md)
- [Count The Number Of Matches In A Grep](https://ploegert.gitbook.io/til/os/unix/search-query/count-the-number-of-matches-in-a-grep.md)
- [Enable Multi-Select Of Results With fzf](https://ploegert.gitbook.io/til/os/unix/search-query/enable-multi-select-of-results-with-fzf.md)
- [Exclude A Directory With Find](https://ploegert.gitbook.io/til/os/unix/search-query/exclude-a-directory-with-find.md)
- [Find A File Installed By Brew](https://ploegert.gitbook.io/til/os/unix/search-query/find-a-file-installed-by-brew.md)
- [Grep For Files With Multiple Matches](https://ploegert.gitbook.io/til/os/unix/search-query/grep-for-files-with-multiple-matches.md)
- [Grep For Multiple Patterns](https://ploegert.gitbook.io/til/os/unix/search-query/grep-for-multiple-patterns.md)
- [Grep For Files Without A Match](https://ploegert.gitbook.io/til/os/unix/search-query/grep-for-files-without-a-match.md)
- [Partial String Matching In Bash Scripts](https://ploegert.gitbook.io/til/os/unix/search-query/partial-string-matching-in-bash-scripts.md)
- [Only Show The Matches](https://ploegert.gitbook.io/til/os/unix/search-query/only-show-the-matches.md)
- [Search Files Specific To A Language](https://ploegert.gitbook.io/til/os/unix/search-query/search-files-specific-to-a-language.md)
- [Search Man Page Descriptions](https://ploegert.gitbook.io/til/os/unix/search-query/search-man-page-descriptions.md)
- [Show A File Preview When Searching With FZF](https://ploegert.gitbook.io/til/os/unix/search-query/show-a-file-preview-when-searching-with-fzf.md)
- [Use Regex Pattern Matching With Grep](https://ploegert.gitbook.io/til/os/unix/search-query/use-regex-pattern-matching-with-grep.md)
- [Skip Paging If Output Fits On Screen With Less](https://ploegert.gitbook.io/til/os/unix/search-query/skip-paging-if-output-fits-on-screen-with-less.md)
- [Sort In Numerical Order](https://ploegert.gitbook.io/til/os/unix/search-query/sort-in-numerical-order.md)
- [user](https://ploegert.gitbook.io/til/os/unix/user.md)
- [List All Users](https://ploegert.gitbook.io/til/os/unix/user/list-all-users.md)
- [variables](https://ploegert.gitbook.io/til/os/unix/variables.md)
- [All The Environment Variables](https://ploegert.gitbook.io/til/os/unix/variables/all-the-environment-variables.md)
- [Compare Two Variables In A Bash Script](https://ploegert.gitbook.io/til/os/unix/variables/compare-two-variables-in-a-bash-script.md)
- [Provide A Fallback Value For Unset Parameter](https://ploegert.gitbook.io/til/os/unix/variables/provide-a-fallback-value-for-unset-parameter.md)
- [Check If The First Argument Is Given](https://ploegert.gitbook.io/til/os/unix/variables/check-if-the-first-argument-is-given.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ploegert.gitbook.io/til/os/unix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
