diff --git a/how-to-configure-hardened-debian-server/README.md b/how-to-configure-hardened-debian-server/README.md index 32e8fb7..d26d97a 100644 --- a/how-to-configure-hardened-debian-server/README.md +++ b/how-to-configure-hardened-debian-server/README.md @@ -292,16 +292,10 @@ nft list ruleset >> /etc/nftables.conf ### Step 16: update APT index and upgrade packages -#### Update APT index +```console +$ apt update -```shell -apt update -``` - -#### Upgrade packages - -```shell -apt upgrade -y +$ apt upgrade -y ``` ### Step 17: set timezone (the following is for Montreal time) diff --git a/how-to-configure-hardened-raspberry-pi/README.md b/how-to-configure-hardened-raspberry-pi/README.md index 20f4084..b89b468 100644 --- a/how-to-configure-hardened-raspberry-pi/README.md +++ b/how-to-configure-hardened-raspberry-pi/README.md @@ -390,18 +390,12 @@ timedatectl set-timezone America/Montreal systemctl disable dphys-swapfile ``` -### Step 27: update APT index and upgrade system +### Step 27: update APT index and upgrade packages -#### Update APT index +```console +$ apt update -```shell -apt update -``` - -#### Upgrade packages - -```shell -apt upgrade -y +$ apt upgrade -y ``` 👍