Uncategorized Archives - Linux Digest https://moneyslow.com/html/linuxdigest.com/howto/category/uncategorized/ Linux tutorials for everyone Tue, 04 Apr 2023 23:50:22 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.5 How to Set Max-age in apache2 Cache-Control Headers https://moneyslow.com/html/linuxdigest.com/howto/how-to-set-max-age-in-apache2-cache-control-headers/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-set-max-age-in-apache2-cache-control-headers https://moneyslow.com/html/linuxdigest.com/howto/how-to-set-max-age-in-apache2-cache-control-headers/#respond Tue, 31 Jan 2023 21:36:35 +0000 https://moneyslow.com/html/linuxdigest.com/?p=2019 When a web server serves content to a user, the content is usually cached in the…

The post How to Set Max-age in apache2 Cache-Control Headers appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/how-to-set-max-age-in-apache2-cache-control-headers/feed/ 0
Linux laptop wont connect to wifi after suspend? A quick and dirty solution. https://moneyslow.com/html/linuxdigest.com/howto/linux-laptop-wont-connect-to-wifi-after-suspend-a-quick-and-dirty-solution/?utm_source=rss&utm_medium=rss&utm_campaign=linux-laptop-wont-connect-to-wifi-after-suspend-a-quick-and-dirty-solution https://moneyslow.com/html/linuxdigest.com/howto/linux-laptop-wont-connect-to-wifi-after-suspend-a-quick-and-dirty-solution/#respond Tue, 31 Jan 2023 21:36:10 +0000 https://moneyslow.com/html/linuxdigest.com/?p=2042 Recently I had this problem with my Lenovo laptop where it wouldn’t connect to wifi after…

The post Linux laptop wont connect to wifi after suspend? A quick and dirty solution. appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/linux-laptop-wont-connect-to-wifi-after-suspend-a-quick-and-dirty-solution/feed/ 0
Counting Unique Results from grep Output 🔎 https://moneyslow.com/html/linuxdigest.com/howto/counting-unique-results-from-grep-output/?utm_source=rss&utm_medium=rss&utm_campaign=counting-unique-results-from-grep-output https://moneyslow.com/html/linuxdigest.com/howto/counting-unique-results-from-grep-output/#respond Wed, 07 Dec 2022 23:12:51 +0000 https://moneyslow.com/html/linuxdigest.com/?p=2015 As a Linux admin, you will probably find yourself running grep quite frequently. It is a…

The post Counting Unique Results from grep Output 🔎 appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/counting-unique-results-from-grep-output/feed/ 0
Arithmetic Operators in Ansible https://moneyslow.com/html/linuxdigest.com/howto/arithmetic-operators-in-ansible/?utm_source=rss&utm_medium=rss&utm_campaign=arithmetic-operators-in-ansible https://moneyslow.com/html/linuxdigest.com/howto/arithmetic-operators-in-ansible/#respond Sun, 20 Nov 2022 22:47:55 +0000 https://moneyslow.com/html/linuxdigest.com/?p=2005 Did you know that you can do mathematic calculations in Ansible? This can be very helpful…

The post Arithmetic Operators in Ansible appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/arithmetic-operators-in-ansible/feed/ 0
How to fix SSH algorithm errors https://moneyslow.com/html/linuxdigest.com/howto/how-to-fix-ssh-algorithm-errors/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-fix-ssh-algorithm-errors https://moneyslow.com/html/linuxdigest.com/howto/how-to-fix-ssh-algorithm-errors/#respond Sun, 09 Oct 2022 18:49:58 +0000 https://moneyslow.com/html/linuxdigest.com/?p=1995 With older SSH servers, you will occasionally run into errors where the encryption algorithms offered are…

The post How to fix SSH algorithm errors appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/how-to-fix-ssh-algorithm-errors/feed/ 0
Sed cheat sheet https://moneyslow.com/html/linuxdigest.com/howto/sed-cheat-sheet/?utm_source=rss&utm_medium=rss&utm_campaign=sed-cheat-sheet https://moneyslow.com/html/linuxdigest.com/howto/sed-cheat-sheet/#respond Fri, 20 Nov 2020 12:59:30 +0000 https://moneyslow.com/html/linuxdigest.com/?p=1884 Sed basics Print file while replacing replacing a word. sed ‘s/old/new/g’ file.txt Print file with changes…

The post Sed cheat sheet appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/sed-cheat-sheet/feed/ 0
For loops in bash https://moneyslow.com/html/linuxdigest.com/howto/for-loops-in-bash/?utm_source=rss&utm_medium=rss&utm_campaign=for-loops-in-bash https://moneyslow.com/html/linuxdigest.com/howto/for-loops-in-bash/#respond Tue, 17 Nov 2020 10:42:17 +0000 https://moneyslow.com/html/linuxdigest.com/?p=1869 You can use for loops in bash just like in any other programing language. The basic…

The post For loops in bash appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/for-loops-in-bash/feed/ 0
Using the cut command in bash https://moneyslow.com/html/linuxdigest.com/howto/using-the-cut-command-in-bash/?utm_source=rss&utm_medium=rss&utm_campaign=using-the-cut-command-in-bash https://moneyslow.com/html/linuxdigest.com/howto/using-the-cut-command-in-bash/#respond Sat, 07 Nov 2020 10:22:56 +0000 https://moneyslow.com/html/linuxdigest.com/?p=1866 The cut command gives you the power to cut strings in the Linux shell or in…

The post Using the cut command in bash appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/using-the-cut-command-in-bash/feed/ 0
Run ntp inside a container https://moneyslow.com/html/linuxdigest.com/howto/run-ntp-inside-a-container/?utm_source=rss&utm_medium=rss&utm_campaign=run-ntp-inside-a-container https://moneyslow.com/html/linuxdigest.com/howto/run-ntp-inside-a-container/#respond Tue, 03 Dec 2019 23:36:56 +0000 http://linuxdigest.com/?p=1825 If you try to run ntp inside a container, like LXD or Docker, chances are, you…

The post Run ntp inside a container appeared first on Linux Digest.

]]>
https://moneyslow.com/html/linuxdigest.com/howto/run-ntp-inside-a-container/feed/ 0