change ``bash headers to ``sh

This commit is contained in:
2025-08-22 15:59:04 +02:00
parent 3e049e1687
commit 8eea348112
80 changed files with 773 additions and 555 deletions

View File

@@ -6,31 +6,31 @@ tags: [ "basics" ]
See running items in current terminal with
```bash
```sh
ps
```
or more with
```bash
```sh
ps -a
```
Or the entire system with
```bash
```sh
ps -e
```
Or the entire system with more information, BSD style, with:
```bash
```sh
ps aux
```
And then search for a particular program with
```bash
```sh
ps aux | grep cmus
```
@@ -40,19 +40,19 @@ Pause a job with ^z. Put it in the background with the '&' suffix.
List jobs in the current shell with
```bash
```sh
jobs
```
And then you can pull number 1 up again with
```bash
```sh
fg 1
```
Or continue running a stopped job with:
```bash
```sh
bg 1
```
@@ -62,31 +62,31 @@ This changes how nice a program is, from -20 to 19.
Install a program, but nicely, at nice value '10':
```bash
```sh
nice -10 sudo apt -y install libreoffice
```
Aggressively use Steam, with a nice value of '-13'.
```bash
```sh
nice --13 steam&
```
Find out that Steam's fucking everything up, so you change its nice value with 'renice':
```bash
```sh
renice --5 -p 3781
```
Nerf all of roach-1's processes:
```bash
```sh
renice 10 -u roach-1
```
... or the entire group
```bash
```sh
renice -14 -g hackers
```