diff --git a/wiki/docker-images/awesometechnologies_-_synapse-admin.md b/wiki/docker-images/awesometechnologies_-_synapse-admin.md index 0768954..01e4dbc 100644 --- a/wiki/docker-images/awesometechnologies_-_synapse-admin.md +++ b/wiki/docker-images/awesometechnologies_-_synapse-admin.md @@ -20,7 +20,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull awesometechnologies/synapse-admin:latest diff --git a/wiki/docker-images/b4bz_-_homer.md b/wiki/docker-images/b4bz_-_homer.md index 31edcba..f9184e3 100644 --- a/wiki/docker-images/b4bz_-_homer.md +++ b/wiki/docker-images/b4bz_-_homer.md @@ -29,7 +29,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop homer docker rm homer diff --git a/wiki/docker-images/benbusby_-_whoogle-search.md b/wiki/docker-images/benbusby_-_whoogle-search.md index 50256de..5b8ce17 100644 --- a/wiki/docker-images/benbusby_-_whoogle-search.md +++ b/wiki/docker-images/benbusby_-_whoogle-search.md @@ -31,7 +31,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh cd whoogle-search docker-compose down diff --git a/wiki/docker-images/chocobozzz_-_peertube.md b/wiki/docker-images/chocobozzz_-_peertube.md index f149593..4d804dc 100644 --- a/wiki/docker-images/chocobozzz_-_peertube.md +++ b/wiki/docker-images/chocobozzz_-_peertube.md @@ -33,7 +33,7 @@ Set the following volumes with the -v tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker-compose up -d diff --git a/wiki/docker-images/cloudrac3r_-_bibliogram.md b/wiki/docker-images/cloudrac3r_-_bibliogram.md index 2327c66..5518e2c 100755 --- a/wiki/docker-images/cloudrac3r_-_bibliogram.md +++ b/wiki/docker-images/cloudrac3r_-_bibliogram.md @@ -32,7 +32,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh cd /root/docker/bibliogram/bibliogram docker-compose down diff --git a/wiki/docker-images/dperson_-_torproxy.md b/wiki/docker-images/dperson_-_torproxy.md index ae93377..08acf7f 100644 --- a/wiki/docker-images/dperson_-_torproxy.md +++ b/wiki/docker-images/dperson_-_torproxy.md @@ -28,7 +28,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop tor-proxy docker rm tor-proxy diff --git a/wiki/docker-images/gitea_-_gitea.md b/wiki/docker-images/gitea_-_gitea.md index 93018e9..09c8c6c 100644 --- a/wiki/docker-images/gitea_-_gitea.md +++ b/wiki/docker-images/gitea_-_gitea.md @@ -64,7 +64,7 @@ docker-compose file. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker-compose up -d diff --git a/wiki/docker-images/henrywhitaker3_-_speedtest-tracker.md b/wiki/docker-images/henrywhitaker3_-_speedtest-tracker.md index 3c87627..6f268f6 100644 --- a/wiki/docker-images/henrywhitaker3_-_speedtest-tracker.md +++ b/wiki/docker-images/henrywhitaker3_-_speedtest-tracker.md @@ -35,7 +35,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop speedtest docker rm speedtest diff --git a/wiki/docker-images/itzg_-_minecraft-server.md b/wiki/docker-images/itzg_-_minecraft-server.md index 99ad236..0baff6d 100755 --- a/wiki/docker-images/itzg_-_minecraft-server.md +++ b/wiki/docker-images/itzg_-_minecraft-server.md @@ -40,7 +40,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop minecraft docker rm minecraft diff --git a/wiki/docker-images/iv-org_-_invidious.md b/wiki/docker-images/iv-org_-_invidious.md index 7837bb8..31ce418 100755 --- a/wiki/docker-images/iv-org_-_invidious.md +++ b/wiki/docker-images/iv-org_-_invidious.md @@ -47,7 +47,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh cd invidious docker-compose down diff --git a/wiki/docker-images/jkarlos_-_git-server-docker.md b/wiki/docker-images/jkarlos_-_git-server-docker.md index bf4833a..d86a2eb 100644 --- a/wiki/docker-images/jkarlos_-_git-server-docker.md +++ b/wiki/docker-images/jkarlos_-_git-server-docker.md @@ -27,7 +27,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop git-server docker rm git-server diff --git a/wiki/docker-images/johnktims_-_folding-at-home.md b/wiki/docker-images/johnktims_-_folding-at-home.md index cf964c0..edd362e 100644 --- a/wiki/docker-images/johnktims_-_folding-at-home.md +++ b/wiki/docker-images/johnktims_-_folding-at-home.md @@ -32,7 +32,7 @@ GPU support is documented in [the docker article](../docker.md). ## rebuild.sh -```shell +```sh #!/bin/sh docker stop folding-at-home docker rm folding-at-home diff --git a/wiki/docker-images/kylemanna_-_openvpn.md b/wiki/docker-images/kylemanna_-_openvpn.md index 9cec7e0..74da61c 100644 --- a/wiki/docker-images/kylemanna_-_openvpn.md +++ b/wiki/docker-images/kylemanna_-_openvpn.md @@ -34,7 +34,7 @@ There are some special variables to set. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop openvpn docker rm openvpn diff --git a/wiki/docker-images/linuxserver_-_airsonic-advanced.md b/wiki/docker-images/linuxserver_-_airsonic-advanced.md index a816263..cfedaba 100644 --- a/wiki/docker-images/linuxserver_-_airsonic-advanced.md +++ b/wiki/docker-images/linuxserver_-_airsonic-advanced.md @@ -43,7 +43,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop airsonicadv docker rm airsonicadv diff --git a/wiki/docker-images/linuxserver_-_airsonic.md b/wiki/docker-images/linuxserver_-_airsonic.md index 35d9e1e..a439e27 100644 --- a/wiki/docker-images/linuxserver_-_airsonic.md +++ b/wiki/docker-images/linuxserver_-_airsonic.md @@ -41,7 +41,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop airsonic docker rm airsonic diff --git a/wiki/docker-images/linuxserver_-_jellyfin.md b/wiki/docker-images/linuxserver_-_jellyfin.md index eafdf43..5ee4f50 100644 --- a/wiki/docker-images/linuxserver_-_jellyfin.md +++ b/wiki/docker-images/linuxserver_-_jellyfin.md @@ -48,7 +48,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull linuxserver/jellyfin:latest diff --git a/wiki/docker-images/linuxserver_-_syncthing.md b/wiki/docker-images/linuxserver_-_syncthing.md index c056dc5..8a99be3 100644 --- a/wiki/docker-images/linuxserver_-_syncthing.md +++ b/wiki/docker-images/linuxserver_-_syncthing.md @@ -40,7 +40,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop syncthing docker rm syncthing diff --git a/wiki/docker-images/mailserver_-_docker-mailserver.md b/wiki/docker-images/mailserver_-_docker-mailserver.md index ccdc2a8..9d27440 100644 --- a/wiki/docker-images/mailserver_-_docker-mailserver.md +++ b/wiki/docker-images/mailserver_-_docker-mailserver.md @@ -9,7 +9,7 @@ It contains dovecot, antispam, antivirus, ssl, etc. The configuration is done automatically using scripts by mailserver. First you need to download the essential setup files. -```shell +```sh wget -O .env https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/compose.env wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/docker-compose.yml wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/mailserver.env @@ -35,7 +35,7 @@ Afterwards you're ready to go by once again running the `rebuild.sh` file. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull mailserver/docker-mailserver:latest diff --git a/wiki/docker-images/matrixdotorg_-_synapse.md b/wiki/docker-images/matrixdotorg_-_synapse.md index d47de12..651e869 100644 --- a/wiki/docker-images/matrixdotorg_-_synapse.md +++ b/wiki/docker-images/matrixdotorg_-_synapse.md @@ -42,7 +42,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull matrixdotorg/synapse:latest diff --git a/wiki/docker-images/nextcloud.md b/wiki/docker-images/nextcloud.md index 105ad7b..b182b9e 100644 --- a/wiki/docker-images/nextcloud.md +++ b/wiki/docker-images/nextcloud.md @@ -30,7 +30,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull nextcloud:latest diff --git a/wiki/docker-images/nginx.md b/wiki/docker-images/nginx.md index e63d173..48fbbea 100644 --- a/wiki/docker-images/nginx.md +++ b/wiki/docker-images/nginx.md @@ -29,7 +29,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull nginx:latest diff --git a/wiki/docker-images/olbat_-_cupsd.md b/wiki/docker-images/olbat_-_cupsd.md index e8a572c..9d612e9 100644 --- a/wiki/docker-images/olbat_-_cupsd.md +++ b/wiki/docker-images/olbat_-_cupsd.md @@ -31,7 +31,7 @@ The default username is `print`, the default password is `print`. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop cups docker rm cups diff --git a/wiki/docker-images/owncloud.md b/wiki/docker-images/owncloud.md index 1398d6b..96a5264 100644 --- a/wiki/docker-images/owncloud.md +++ b/wiki/docker-images/owncloud.md @@ -32,7 +32,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull owncloud diff --git a/wiki/docker-images/oznu_-_docker-cloudflare-ddns.md b/wiki/docker-images/oznu_-_docker-cloudflare-ddns.md index bb4cd89..18a4135 100644 --- a/wiki/docker-images/oznu_-_docker-cloudflare-ddns.md +++ b/wiki/docker-images/oznu_-_docker-cloudflare-ddns.md @@ -20,7 +20,7 @@ Set the following variables with the -e tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop ddns docker rm ddns diff --git a/wiki/docker-images/oznu_-_onedrive.md b/wiki/docker-images/oznu_-_onedrive.md index 61f7e12..671b083 100644 --- a/wiki/docker-images/oznu_-_onedrive.md +++ b/wiki/docker-images/oznu_-_onedrive.md @@ -28,7 +28,7 @@ Set the following volumes with the -v tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop onedrive docker rm onedrive diff --git a/wiki/docker-images/portainer_-_agent.md b/wiki/docker-images/portainer_-_agent.md index 6da1575..44ed92e 100644 --- a/wiki/docker-images/portainer_-_agent.md +++ b/wiki/docker-images/portainer_-_agent.md @@ -27,7 +27,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop portainer_agent docker rm portainer_agent diff --git a/wiki/docker-images/portainer_-_portainer.md b/wiki/docker-images/portainer_-_portainer.md index 7a8d2b1..d085860 100644 --- a/wiki/docker-images/portainer_-_portainer.md +++ b/wiki/docker-images/portainer_-_portainer.md @@ -27,7 +27,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop portainer docker rm portainer diff --git a/wiki/docker-images/prologic_-_golinks.md b/wiki/docker-images/prologic_-_golinks.md index c542704..db0d92c 100644 --- a/wiki/docker-images/prologic_-_golinks.md +++ b/wiki/docker-images/prologic_-_golinks.md @@ -28,7 +28,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull prologic/golinks:latest diff --git a/wiki/docker-images/prologic_-_gopherproxy.md b/wiki/docker-images/prologic_-_gopherproxy.md index 2272567..be82c3b 100644 --- a/wiki/docker-images/prologic_-_gopherproxy.md +++ b/wiki/docker-images/prologic_-_gopherproxy.md @@ -27,7 +27,7 @@ There are some special variables to set. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop gopheroverhttp docker rm gopheroverhttp diff --git a/wiki/docker-images/prologic_-_todo.md b/wiki/docker-images/prologic_-_todo.md index 7a44568..0bd3d70 100644 --- a/wiki/docker-images/prologic_-_todo.md +++ b/wiki/docker-images/prologic_-_todo.md @@ -26,7 +26,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop todo docker rm todo diff --git a/wiki/docker-images/rblsb_-_synctube.md b/wiki/docker-images/rblsb_-_synctube.md index 84061e9..1e12e15 100644 --- a/wiki/docker-images/rblsb_-_synctube.md +++ b/wiki/docker-images/rblsb_-_synctube.md @@ -31,7 +31,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop synctube docker rm synctube diff --git a/wiki/docker-images/rlister_-_hastebin.md b/wiki/docker-images/rlister_-_hastebin.md index 92dde3c..9dff10d 100644 --- a/wiki/docker-images/rlister_-_hastebin.md +++ b/wiki/docker-images/rlister_-_hastebin.md @@ -34,7 +34,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop hastebin docker rm hastebin diff --git a/wiki/docker-images/samba.md b/wiki/docker-images/samba.md index 45071c9..7164f33 100644 --- a/wiki/docker-images/samba.md +++ b/wiki/docker-images/samba.md @@ -41,7 +41,7 @@ There are some special variables to set. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop samba docker rm samba diff --git a/wiki/docker-images/searx_-_searx.md b/wiki/docker-images/searx_-_searx.md index ed59ef4..1adb9fa 100644 --- a/wiki/docker-images/searx_-_searx.md +++ b/wiki/docker-images/searx_-_searx.md @@ -28,7 +28,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop searx docker rm searx diff --git a/wiki/docker-images/sissbrueckner_-_linkding.md b/wiki/docker-images/sissbrueckner_-_linkding.md index 2e7a9b5..8ce8f9a 100644 --- a/wiki/docker-images/sissbrueckner_-_linkding.md +++ b/wiki/docker-images/sissbrueckner_-_linkding.md @@ -36,7 +36,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop linkding docker rm linkding diff --git a/wiki/docker-images/spikecodes_-_libreddit.md b/wiki/docker-images/spikecodes_-_libreddit.md index b9c3dd8..80d3cf2 100755 --- a/wiki/docker-images/spikecodes_-_libreddit.md +++ b/wiki/docker-images/spikecodes_-_libreddit.md @@ -19,7 +19,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop libreddit docker rm libreddit diff --git a/wiki/docker-images/teamspeak.md b/wiki/docker-images/teamspeak.md index b676be8..3a6ad4f 100644 --- a/wiki/docker-images/teamspeak.md +++ b/wiki/docker-images/teamspeak.md @@ -36,7 +36,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop teamspeak3 docker rm teamspeak3 diff --git a/wiki/docker-images/tetricz_-_mordhau-server.md b/wiki/docker-images/tetricz_-_mordhau-server.md index e6a3e86..be3cfe3 100644 --- a/wiki/docker-images/tetricz_-_mordhau-server.md +++ b/wiki/docker-images/tetricz_-_mordhau-server.md @@ -49,9 +49,8 @@ Set the following ports with the -p tag. ## start.sh -```shell +```sh #!/bin/sh - docker pull tetricz/mordhau-server docker run --name=mordhau \ --restart=unless-stopped \ @@ -77,9 +76,8 @@ docker run --name=mordhau \ ## stop.sh -```shell +```sh #/bin/sh - docker stop mordhau docker rm mordhau ``` diff --git a/wiki/docker-images/tomsquest_-_docker-radicale.md b/wiki/docker-images/tomsquest_-_docker-radicale.md index ca767ce..cba4b09 100644 --- a/wiki/docker-images/tomsquest_-_docker-radicale.md +++ b/wiki/docker-images/tomsquest_-_docker-radicale.md @@ -41,7 +41,7 @@ There are some special variables to set. ## rebuild.sh -```shell +```sh #/bin/sh docker stop radicale docker rm radicale diff --git a/wiki/docker-images/traefik.md b/wiki/docker-images/traefik.md index dd88841..ec78eb1 100644 --- a/wiki/docker-images/traefik.md +++ b/wiki/docker-images/traefik.md @@ -60,7 +60,7 @@ The last line is to add authentication. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull traefik:v2.4 diff --git a/wiki/docker-images/vectorim_-_riot-web.md b/wiki/docker-images/vectorim_-_riot-web.md index 4f940ff..63c1853 100644 --- a/wiki/docker-images/vectorim_-_riot-web.md +++ b/wiki/docker-images/vectorim_-_riot-web.md @@ -28,7 +28,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull vectorim/riot-web:latest diff --git a/wiki/docker-images/ventz_-_bind.md b/wiki/docker-images/ventz_-_bind.md index 41d1c71..6a4f933 100644 --- a/wiki/docker-images/ventz_-_bind.md +++ b/wiki/docker-images/ventz_-_bind.md @@ -37,7 +37,7 @@ There are some special variables to set. ## Rebuild -```shell +```sh #!/bin/sh docker stop bind docker rm bind diff --git a/wiki/docker-images/wallabag_-_wallabag.md b/wiki/docker-images/wallabag_-_wallabag.md index 79df5b4..20f3480 100644 --- a/wiki/docker-images/wallabag_-_wallabag.md +++ b/wiki/docker-images/wallabag_-_wallabag.md @@ -51,7 +51,7 @@ Set the following ports in the `ports:` section. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker pull wallabag/wallabag:latest diff --git a/wiki/docker-images/xy2z_-_pinedocs.md b/wiki/docker-images/xy2z_-_pinedocs.md index 990821e..6a05f67 100644 --- a/wiki/docker-images/xy2z_-_pinedocs.md +++ b/wiki/docker-images/xy2z_-_pinedocs.md @@ -26,7 +26,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop pinedocs docker rm pinedocs diff --git a/wiki/docker-images/yourls.md b/wiki/docker-images/yourls.md index 7485d01..f6fef08 100644 --- a/wiki/docker-images/yourls.md +++ b/wiki/docker-images/yourls.md @@ -40,7 +40,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker-compose down docker-compose up -d diff --git a/wiki/docker-images/zedeus_-_nitter.md b/wiki/docker-images/zedeus_-_nitter.md index d771297..a9b2216 100755 --- a/wiki/docker-images/zedeus_-_nitter.md +++ b/wiki/docker-images/zedeus_-_nitter.md @@ -28,7 +28,7 @@ Set the following ports with the -p tag. ## rebuild.sh -```shell +```sh #!/bin/sh docker stop nitter docker rm nitter diff --git a/wiki/docker.md b/wiki/docker.md index 702521c..67f31a6 100644 --- a/wiki/docker.md +++ b/wiki/docker.md @@ -11,7 +11,7 @@ Due to easy handling and reproducable environments it is a useful tool. Another possibility is to try the official convenience script. To get and execute it run the following in your terminal. -```shell +```sh curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh ``` diff --git a/wiki/linux/date.md b/wiki/linux/date.md index ac26360..37acc55 100644 --- a/wiki/linux/date.md +++ b/wiki/linux/date.md @@ -7,7 +7,7 @@ To change the hardware clock look at the [according article](./hwclock.md) To change the time and date run the following command: -```shell +```sh date ``` @@ -16,14 +16,14 @@ date To change the date run the following command with an adjusted value for the date: -```shell +```sh date +%Y%m%d -s "20210809" ``` To change the time run the following command with an adjusted value for the date: -```shell +```sh date +%T -s "18:49:42" ``` @@ -34,6 +34,6 @@ After that you can check if the time is correct by displaying it. To set your timezone run the following command with the accordingly selected file for your location: -```shell +```sh cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime ``` diff --git a/wiki/linux/ffmpeg.md b/wiki/linux/ffmpeg.md index 8c2c8fe..b950d52 100644 --- a/wiki/linux/ffmpeg.md +++ b/wiki/linux/ffmpeg.md @@ -8,7 +8,7 @@ many audio and video tools and libraries. First you need to create a text file `files.txt` that includes a line for every video you want to concatenate in the form of: -```shell +```sh file '' ``` @@ -16,7 +16,7 @@ You have to give the absolute path towards the files. Make sure the videos are in correct order. To concatenate these video files you can run: -```shell +```sh ffmpeg -f concat -safe 0 -i files.txt -map 0 -c copy output.mp4 ``` diff --git a/wiki/linux/hwclock.md b/wiki/linux/hwclock.md index a561420..8cdfde2 100644 --- a/wiki/linux/hwclock.md +++ b/wiki/linux/hwclock.md @@ -6,7 +6,7 @@ To display the hardware clock run the following command: -```shell +```sh hwclock ``` @@ -14,6 +14,6 @@ hwclock To sync the hardware clock run the following command: -```shell +```sh hwclock -w ``` diff --git a/wiki/linux/ip.md b/wiki/linux/ip.md index 7dc37c3..331175c 100644 --- a/wiki/linux/ip.md +++ b/wiki/linux/ip.md @@ -8,7 +8,7 @@ It is a replacement for the program `ifconfig`. You can list network interfaces by running: -```shell +```sh ip link list ``` @@ -16,12 +16,12 @@ ip link list Assuming the interface is named `wlan0` run the following: -```shell +```sh ip link set wlan0 up ``` Disabling works accordingly by running: -```shell +```sh ip link set wlan0 down ``` diff --git a/wiki/linux/lvm.md b/wiki/linux/lvm.md index 305a382..baf7c48 100644 --- a/wiki/linux/lvm.md +++ b/wiki/linux/lvm.md @@ -19,7 +19,7 @@ First format the disk so that it has one partition (we will assume its called `/dev/sdc1`). To add the partition to a group run: -```shell +```sh pvcreate /dev/sdc1 vgextend /dev/sdc1 ``` @@ -44,18 +44,18 @@ If you don't have enough space you have to resize the physical volume as described in this article. Then run: -```shell +```sh lvextend -L + /dev// ``` If you want to allocate all the free space existing in a volume group run: -```shell +```sh lvextend -l +100%FREE /dev// ``` Now you need to extend the filesystem with: -```shell +```sh resize2fs /dev// ``` diff --git a/wiki/linux/proxmox.md b/wiki/linux/proxmox.md index 7d38bc2..4be429d 100644 --- a/wiki/linux/proxmox.md +++ b/wiki/linux/proxmox.md @@ -20,13 +20,13 @@ For further information see [the disk management article](./disk-management.md) SSH into Proxmox. Enlarge a disk by using: -```shell +```sh qm resize ``` For example if you want to the disk 100 by 100G (100GibiByte): -```shell +```sh qm resize 100 ide0 +100G ``` @@ -47,19 +47,19 @@ Finally extend the filesystem `resize2fs /dev/mapper/pve-root`. On the host system find the usb you're looking to pass through with -```shell +```sh lsusb ``` Then assign it to the vm using -```shell +```sh qm set -usb host= ``` for example -```shell +```sh qm set 101 -usb0 host=aaaa:8816 ``` diff --git a/wiki/linux/ssh.md b/wiki/linux/ssh.md index 44d7ef6..83affb0 100644 --- a/wiki/linux/ssh.md +++ b/wiki/linux/ssh.md @@ -20,7 +20,7 @@ To enable easy login without password you can add the contents of the file on the machine you want to log into. You can use the modified command below for ease of use: -```shell +```sh cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys' ``` @@ -30,6 +30,6 @@ To mount a directory (in this case called `directory`) from a remote server (in this case called `server` also can be substituted by something like `user@server-ip`) on a local mount (in this case `mountpoint`) run: -```shell +```sh sshfs server:/directory mountpoint ```