|
2 | 2 |
|
3 | 3 | Handy list of oft-used Linux commands that I will never remember. Not intended to be an all-purpose cheatsheet, highly specific to my limited usage. These commands work in `bash`. For `fish`, the variable substitutions and wildcards need to be changed.
|
4 | 4 |
|
5 | | -- [Shell 101](#shell-101) |
6 | | - - [List directory contents with size](#list-directory-contents-with-size) |
7 | | - - [Count number of items in directory](#count-number-of-items-in-directory) |
8 | | - - [Find all files larger than a given size](#find-all-files-larger-than-a-given-size) |
9 | | - - [Run command on every file](#run-command-on-every-file) |
10 | | - - [Monitor GPU usage](#monitor-gpu-usage) |
11 | | - - [File Permissions](#file-permissions) |
12 | | - - [Symbolic Links](#symbolic-links) |
13 | | - - [Process Management](#process-management) |
14 | | - - [fish](#fish) |
15 | | - - [wget](#wget) |
16 | | -- [Networking](#networking) |
17 | | - - [Port Monitoring](#port-monitoring) |
18 | | - - [SSH 101](#ssh-101) |
19 | | - - [rsync](#rsync) |
20 | | -- [System Setup](#system-setup) |
21 | | - - [Essential Installs in Ubuntu LTS Minimal](#essential-installs) |
22 | | - - [Increasing swap memory](#increasing-swap) |
23 | | -- [Session management using screen](#session-management-using-screen) |
24 | | -- [Docker 101](#docker-101) |
25 | | -- [Git 101](#git-101) |
26 | | -- [make Basics](#make-basics) |
27 | | -- [Data Wrangling](#data-wrangling) |
28 | | - - [grep](#grep) |
29 | | - - [awk and sed](#awk-and-sed) |
30 | | - - [awk to print all columns from nth to last](#awk-to-print-all-columns-from-nth-to-last) |
31 | | - - [sed for removing and adding characters](#sed-for-removing-and-adding-characters) |
32 | | -- [Machine Learning Toolchain](#machine-learning-toolchain) |
33 | | - - [Install Tensorflow GPU](#install-tensorflow-gpu) |
34 | | - - [Disable Tensorflow debug messages](#disable-tensorflow-debug-messages) |
35 | | -- [Rust Toolchain](#rust-toolchain) |
| 5 | +- [Collection of frequently used Linux commands](#collection-of-frequently-used-linux-commands) |
| 6 | + - [Shell 101](#shell-101) |
| 7 | + - [List directory contents with size](#list-directory-contents-with-size) |
| 8 | + - [Count number of items in directory](#count-number-of-items-in-directory) |
| 9 | + - [Find all files larger than a given size](#find-all-files-larger-than-a-given-size) |
| 10 | + - [Run command on every file](#run-command-on-every-file) |
| 11 | + - [Monitor GPU usage](#monitor-gpu-usage) |
| 12 | + - [File permissions](#file-permissions) |
| 13 | + - [Symbolic Links](#symbolic-links) |
| 14 | + - [Process Management](#process-management) |
| 15 | + - [fish](#fish) |
| 16 | + - [wget](#wget) |
| 17 | + - [Networking](#networking) |
| 18 | + - [Port Monitoring](#port-monitoring) |
| 19 | + - [SSH 101](#ssh-101) |
| 20 | + - [rsync](#rsync) |
| 21 | + - [System Setup](#system-setup) |
| 22 | + - [Essential Installs](#essential-installs) |
| 23 | + - [Increasing swap](#increasing-swap) |
| 24 | + - [Session management using screen](#session-management-using-screen) |
| 25 | + - [Docker 101](#docker-101) |
| 26 | + - [Git 101](#git-101) |
| 27 | + - [make Basics](#make-basics) |
| 28 | + - [Data Wrangling](#data-wrangling) |
| 29 | + - [grep](#grep) |
| 30 | + - [awk and sed](#awk-and-sed) |
| 31 | + - [awk to print all columns from nth to last](#awk-to-print-all-columns-from-nth-to-last) |
| 32 | + - [sed for removing and adding characters](#sed-for-removing-and-adding-characters) |
| 33 | + - [Machine Learning Toolchain](#machine-learning-toolchain) |
| 34 | + - [Install Tensorflow GPU](#install-tensorflow-gpu) |
| 35 | + - [Disable Tensorflow debug messages](#disable-tensorflow-debug-messages) |
| 36 | + - [Rust Toolchain](#rust-toolchain) |
| 37 | + - [Adding Rust to Fish](#adding-rust-to-fish) |
| 38 | + - [Adding Rust to VS Code](#adding-rust-to-vs-code) |
| 39 | + - [Tab Completion](#tab-completion) |
36 | 40 |
|
37 | 41 | ## Shell 101
|
38 | 42 |
|
@@ -348,6 +352,10 @@ git apply --3way some.patch # apply a patch like a stash
|
348 | 352 |
|
349 | 353 | [Atlassian Git Tutorials](https://www.atlassian.com/git/tutorials)
|
350 | 354 |
|
| 355 | +Repository restructuring without losing commit history: |
| 356 | +- [git-filter-repo](https://github.com/newren/git-filter-repo) - [Examples](https://htmlpreview.github.io/?https://github.com/newren/git-filter-repo/blob/docs/html/git-filter-repo.html#EXAMPLES) |
| 357 | +- [Merging repositories](https://gist.github.com/lazyoracle/9738dfccec631d94692a7d2300837b27) |
| 358 | + |
351 | 359 | ## make Basics
|
352 | 360 |
|
353 | 361 | Make `target` for dependencies `dep1` and `dep2` using recipe specified by `command`
|
|
0 commit comments