diff options
Diffstat (limited to 'content/posts/2021-08-01-linux-cheatsheet.md')
| -rwxr-xr-x | content/posts/2021-08-01-linux-cheatsheet.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/content/posts/2021-08-01-linux-cheatsheet.md b/content/posts/2021-08-01-linux-cheatsheet.md index 126e922..1645eaf 100755 --- a/content/posts/2021-08-01-linux-cheatsheet.md +++ b/content/posts/2021-08-01-linux-cheatsheet.md | |||
| @@ -5,45 +5,6 @@ date: 2021-08-01 | |||
| 5 | draft: false | 5 | draft: false |
| 6 | --- | 6 | --- |
| 7 | 7 | ||
| 8 | **Table of contents** | ||
| 9 | |||
| 10 | 1. [Generate SSH key](#generate-ssh-key) | ||
| 11 | 2. [Login to host via SSH](#login-to-host-via-ssh) | ||
| 12 | 3. [Execute command on a server through SSH](#execute-command-on-a-server-through-ssh) | ||
| 13 | 4. [Displays currently logged in users in the system](#displays-currently-logged-in-users-in-the-system) | ||
| 14 | 5. [Displays Linux system information](#displays-linux-system-information) | ||
| 15 | 6. [Displays kernel release information](#displays-kernel-release-information) | ||
| 16 | 7. [Shows the system hostname](#shows-the-system-hostname) | ||
| 17 | 8. [Shows system reboot history](#shows-system-reboot-history) | ||
| 18 | 9. [Displays information about the user](#displays-information-about-the-user) | ||
| 19 | 10. [Displays IP addresses and all the network interfaces](#displays-ip-addresses-and-all-the-network-interfaces) | ||
| 20 | 11. [Downloads a file from an online source](#downloads-a-file-from-an-online-source) | ||
| 21 | 12. [Compress a file with gzip](#compress-a-file-with-gzip) | ||
| 22 | 13. [Interactive disk usage analyzer](#interactive-disk-usage-analyzer) | ||
| 23 | 14. [Install Node.js using the Node Version Manager](#install-nodejs-using-the-node-version-manager) | ||
| 24 | 15. [Too long; didn't read](#too-long-didnt-read) | ||
| 25 | 16. [Combine all Nginx access logs to one big log file](#combine-all-nginx-access-logs-to-one-big-log-file) | ||
| 26 | 17. [Set up Redis server](#set-up-redis-server) | ||
| 27 | 18. [Generate statistics of your webserver](#generate-statistics-of-your-webserver) | ||
| 28 | 19. [Search for a given pattern in files](#search-for-a-given-pattern-in-files) | ||
| 29 | 20. [Find proccess ID for a specific program](#find-proccess-id-for-a-specific-program) | ||
| 30 | 21. [Print name of current/working directory](#print-name-of-currentworking-directory) | ||
| 31 | 22. [Creates a blank new file](#creates-a-blank-new-file) | ||
| 32 | 23. [Displays first lines in a file](#displays-first-lines-in-a-file) | ||
| 33 | 24. [Displays last lines in a file](#displays-last-lines-in-a-file) | ||
| 34 | 25. [Count lines in a file](#count-lines-in-a-file) | ||
| 35 | 26. [Find all instances of the file](#find-all-instances-of-the-file) | ||
| 36 | 27. [Find file names that begin with ‘index’ in /home folder](#find-file-names-that-begin-with-index-in-home-folder) | ||
| 37 | 28. [Find files larger than 100MB in the home folder](#find-files-larger-than-100mb-in-the-home-folder) | ||
| 38 | 29. [Displays block devices related information](#displays-block-devices-related-information) | ||
| 39 | 30. [Displays free space on mounted systems](#displays-free-space-on-mounted-systems) | ||
| 40 | 31. [Displays free and used memory in the system](#displays-free-and-used-memory-in-the-system) | ||
| 41 | 32. [Displays all active listening ports](#displays-all-active-listening-ports) | ||
| 42 | 33. [Kill a process violently](#kill-a-process-violently) | ||
| 43 | 34. [List files opened by user](#list-files-opened-by-user) | ||
| 44 | 35. [Execute "df -h", showing periodic updates](#execute-df--h-showing-periodic-updates) | ||
| 45 | |||
| 46 | |||
| 47 | ##### Generate SSH key | 8 | ##### Generate SSH key |
| 48 | 9 | ||
| 49 | ```bash | 10 | ```bash |
