Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Linux

By Greg Nowak, 22 May, 2026

OpenSSH 10 Crypto Changes: Why Old SFTP Integrations Need a Cleanup Plan

OpenSSH 10 removes DSA and warns on non-post-quantum key exchange. Here is how to scope SFTP cleanup without weakening every SSH connection.

Tags

  • OpenSSH
  • SFTP
  • SSH
  • Linux
  • Automation
By Greg Nowak, 10 February, 2022

Delete Files and Folders Older Than X days

find /[FOLDER_NAME]/* -mtime +[OLDER_THAN_DAYS] -exec rm -rf {} \;

Example deletes all files and folders in tmp folder that are older than 180 days: find /tmp/* -mtime +180 -exec rm -rf {} \;

Tags

  • bash
  • Script
  • Linux
By Greg Nowak, 23 September, 2021

Ubuntu Logs Journalctl and Dmesg

You can see a lot of good information for debugging and fixing errors on your Ubuntu server with journalctl and dmesg

journalctl --since "1 days ago"

journalctl --since "10 hours ago"

journalctl --since "12 hours ago" -p 3 -x --utc --no-pager

dmesg | less

dmesg -H --time-format iso| less

Resources:

https://unix.stackexchange.com/questions/50098/linux-network-troublesho…

Tags

  • Linux
  • logistics
  • Script
By Greg Nowak, 23 September, 2021

WordPress Cron: When to Replace WP-Cron with Server Cron

WP-Cron is reliable enough for low-stakes sites, but it is a poor fit when publishes, renewals, imports, or client workflows must run on time. This guide explains when server cron is worth it, how to switch safely, and how to test the right way.

Tags

  • wordpress
  • WP-CLI
  • Linux
  • Operations
By Greg Nowak, 22 September, 2021

Bash Find and Delete Files Older Than X Days

find [FOLDER_NAME]/* -prune -mtime +14 -exec rm {} \;

Tags

  • Script
  • Linux
By Greg Nowak, 24 August, 2021

How to Flush DNS Cache on Ubuntu Linux

If a site cutover, mail change, or API move is still resolving the old address, this guide shows the current Ubuntu DNS flush command, how to identify which local resolver is really in play, and what to verify when flushing does not solve it.

Tags

  • Ubuntu
  • Linux
  • DNS
  • Operations
By Greg Nowak, 11 August, 2021

Remove whoopsie-upload

sudo systemctl stop apport
sudo systemctl stop whoopsie 
sudo systemctl disable apport
sudo systemctl disable whoopsie
sudo aptitude purge apport whoopsie

Source: https://askubuntu.com/questions/1245078/woopsie-upload-all-process-cons…

Tags

  • Linux
By Greg Nowak, 11 August, 2021

SystemD Notes Tips and Tricks

A nice little guide: https://tecadmin.net/run-shell-script-as-systemd-service/

Tags

  • Linux
  • Script
By Greg Nowak, 10 August, 2021

Skype For Linux Fix High CPU Consumption

Possible fix:

Delete the cache: ~/.config/skypeforlinux/Cache/

Skype start command: nice -n 19 rm -r ~/.config/skypeforlinux/Cache/* ; nice -n 19 /usr/bin/skypeforlinux %U skypeforlinux --disable-accelerated-video-decode=true

Skype start command vanilla: /usr/bin/skypeforlinux %U

Tags

  • Linux
By Greg Nowak, 8 August, 2021

Linux Browser Tweaks

In firefox I have enabled a couple of tweaks described here for hardware acceleration: https://askubuntu.com/questions/1216192/why-is-kubuntu-using-much-more-…

 

Maybe more info here: https://itectec.com/ubuntu/ubuntu-why-is-kubuntu-using-much-more-cpu-th…

Tags

  • Linux

Pagination

  • 1
  • Next page
Linux

Review Greg on Google

Greg Nowak Google Reviews

 

  • Let's Encrypt Profiles Put Renewal Assumptions Under the Microscope
  • Moving Drupal Blocks on Mobile: CSS, Regions, and Safer Tradeoffs
  • Unzip with PHP on Shared Hosting: A Safer Way to Extract ZIP Files
  • Tidy Up composer.json with Composer Normalize
  • Before OpenAI agents touch the CRM, map the boring boundaries
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.