Putorius
Linux how-tos, tutorials, tricks, hacks and quick tips for everyone from Linux newbies to seasoned system admins. Learn to master the Linux command line.
- Posts
- 272 from 25 Jul 2010 to 6 Jan 2025
- Posting
- now and then
- Kind
- personal blog
- Feed
- https://www.putorius.net/feed
2025 1
2024 6
2023 1
2022 11
- Securely Erase a SATA Hard Drive for Disposal using hdparm in Linux
- How to Add Comments to UFW Rules
- How to Add Comments to IPTables Rules
- Automatically Install Updates on RHEL8 or Fedora
- Install, Configure, and Scan for Viruses on Linux with ClamAV
- How to Flush Local DNS Cache on Linux
- Specify the Timezone with Linux date Command
- How to Find Motherboard Model and Serial Number in Linux
- Limit Docker Container Access to Specific IP Addresses (Whitelist)
- Run a Command and Send the Output to an Email on Linux
- How to Find Date and Time Linux OS was Installed
2021 25
- Force SSH Client to Use IPv4 or IPv6
- Export Logs to a File with Journalctl
- Check How Long a Process Has Been Running in Linux
- How to Upgrade to Fedora 34 from Fedora 33 – Fedora Version Update
- 7Zip 21.0 Provides Native Linux Support – How to Install and Use
- Linux Gaming Old School – Terminal Based Games on Linux
- How to Show Line Numbers in vi / vim Editors
- Linux pee Command – Tee Standard Input Into Pipes
- Moreutils – An Extension of GNU Core Utilities
- Specify Name (Save As) When Saving File in vi / vim
- Linux Sponge – Soak Up Standard Input and Write to a File
- CrowdSec – Open Source Security Automation Tool
- SFTP, FTPS, and SCP – What’s the Difference?
- How to Schedule File Backups to Google Drive in Linux
- List Files in a Package with DNF Linux Package Manager
- ts Command – Add or Convert Timestamps For Any Output in Linux
- How to Format a JSON File in Vim (vi editor)
- Chromecast From a Linux PC – Allow Multicast on Firewall
- How to Get File Name Only With Linux Find Command
- Linux Basename Command – Strip Directory from Filename
- How to Install Netstat Command in Linux
- Linux head Command – Print First X Lines from File
- Linux fmt Command – Formatting Text on the Command Line
- An Introduction to Bash Brace Expansion
- How to Change a User’s Default Shell in Linux
2020 49
- Remove ^M (CTRL-M) Characters from a File in Linux
- Keyboard Shortcut to Turn Display Off in Linux
- csplit – Splitting a File Into Two or More on Linux Command Line
- 4 Way Honey Tokens Help Detect Cybercriminals
- Create iptables Rules Based on Hostname Using an IPSet
- Shred Command – Securely Erase Files or Entire Disk on Linux
- Cron vs Anacron – Different Ways of Scheduling Jobs on Linux
- How to Mount Google Drive in Linux
- Linux Who Command – Display List of Logged In Users
- Uptime Command – How Long Has My System Been Running?
- Recording Your Screen with Gnome Screencast
- How to Create a Multiple Choice Menu in Bash Scripts
- Automatically Accept SSH Fingerprint
- Linux Seq Command – Print a Sequence of Numbers
- Which Command – Show Full Path of Shell Commands
- systemd-tmpfiles – Managing Temporary Files & Directories
- Using nmcli to Import Openvpn Files From the Command Line
- Using Snap Packages in Linux – A Beginners Guide to Snapd
- Download YouTube Videos (And More) on Linux Command Line
- How to Upgrade Fedora 31 to Fedora 32
- Unexpand – Convert Spaces to Tabs on Linux Command Line
- How to Exclude a Directory From Find Command Searches
- Find Files & Directories Taking Up the Most Disk Space in Linux
- Expand – Convert Tabs to Spaces on Linux Command Line
- BMON – Monitor Bandwidth from the Linux Command Line
- Take Screenshots of Websites from the Linux Command Line
- Gnome Advanced Power Settings Using dconf-editor
- Unlink Command – Remove Files and Symbolic Links in Linux
- Brute Force Attacks – Pen Testing Using Hydra and RSMangler
- Convert MKV to MP4 on Linux Using FFmpeg
- How to View or Make a Hidden File in Linux
- Trash-CLI Command Line Recycle Bin – Never Lose Another File
- Banner Grabbing – Penetration Testing Basics
- How to List Various CRON Jobs in Linux
- NMap – A Basic Security Audit of Exposed Ports and Services
- 5 Non-Technical Tips for the Linux Beginner
- Sort Command – Sort Text / Output on the Linux Command Line
- Linux Cheat Sheets for Quick Access from the Command Line
- Uniq – Print or Remove Duplicate Lines on Linux Command Line
- How to Install FFmpeg on Various Linux Distributions
- xguest – Guest Access / Kiosk Mode on a Linux System
- Pushd and Popd – Working with the Directory Stack in Linux
- How to Grep the Output of Curl Command
- Using systemd Path Units to Monitor Files and Directories
- Command Substitution for Bash Shell Scripting Beginners
- wc Command – Count Output by Lines, Words, or Characters
- How to Grep on a Variable or Grep a String From a Variable
- Photopea – A Web Based Photoshop Alternative for Linux
- 3 Privacy & Security Focused Linux Distributions to Try in 2020
2019 89
- GPaste Review – The Best Clipboard Manager for Gnome
- Prime Numbers, Encryption and the Linux Factor Command
- du Command – Check Disk Usage on the Command Line
- Logname Command – Print the Name of the Current User
- Fold Command – Wrap Lines of a File to Specific Length
- Disable Gnome Initial Setup Screen – gnome-initial-setup
- Introduction to DNF History – How to Rollback System Updates
- Looping Through a File that Contains Spaces – Bash for Loop
- Run an Internet Speed Test from the Linux Command Line
- Send File as Attachment or Email Body from Command Line
- What Is /Dev/Null – an Introduction to the Bit Bucket
- 4 Ways to Find Which Process is Listening on a Specific Port
- Stat Command – Display File Information on the Command Line
- Find Last Reboot Time of Linux System from Command Line
- Cluster SSH – Manage Multiple Linux Servers Simultaneously
- DHCP + PING = DHCPING = Testing DHCP Availability
- Linux Date Command – Display, Format & Set the Date on Linux
- Ping – Basic Network Troubleshooting in Linux
- Find DHCP Server IP Address on Linux Command Line
- Traceroute – Troubleshoot Network Connections in Linux
- rmdir Command – How to Delete a Directory in Linux
- Customize Gnome 3 with the Gnome Tweak Tool A.K.A. Tweaks
- How to Disable SELinux – Temporary or Permanent
- Screen Command – Beginners Guide to Terminal Multiplexing
- Exec Command – Process Replacement & Redirection in Bash
- Find Command – Search for files on the Linux Command Line
- Checksum – File Integrity Check on Linux Command Line
- Timeout Command – Stop Command After X Seconds
- Using the Bash case Statement in Shell Scripting
- Paste Command – Merge Files on the Linux Command Line
- df Command – Check Disk Space Information on Command Line
- Bash – Using Control Operators
- Read Command – Prompt User for Input in Bash Scripts
- Bash Hash Table – Speeding Up the Command Execution
- File Command – Determine File Types on Linux Command Line
- Rename Command – Renaming Files In Linux
- Tail Multiple Files From Linux Command Line
- Create a Custom MOTD or Login Banner in Linux
- cd Command – Change Directories on Linux Command Line
- Tail Command – Output the Last Lines of Files
- rm Command – Deleting Files on the Linux Command Line
- at Command – Schedule a One-Time Job
- Changing System Locale Settings in Red Hat 8
- Using Lock Files for Job Control in Bash Scripts
- Find and Delete Empty Directories on the Linux Command Line
- mktemp – Working with Temporary Files in Shell Scripts
- 4 Ways to Discover Your IP Address from the Linux Command Line
- How to Mitigate ICMP Timestamp Vulnerabilities in Linux
- How to Generate a Random Number in Linux
- 5 Command Line Tools to Break Your Dependence on the GUI
- rev Command – Reverse Order of Characters on Command Line
- Using systemd Timer Units to Schedule Jobs
- How to Get the Execution Time of Shell Scripts in Linux
- Yes Command, it isn’t completely useless.
- How to Enable EPEL in CentOS and Red Hat
- Print the Execution Time of Command in Linux
- tr Command – Translate, Replace or Remove Specific Characters
- Creating a Password Policy in Linux
- How to Delete a User from the Command Line
- How to Kick a User Off of a Linux System
- Linux tee Command – Split Output to Screen and a File
- How to set the PATH variable in Linux
- How to Mount a Windows Share in Linux
- Using Trap to Exit Bash Scripts Cleanly
- Column Command – Format Any Output Into Columns
- tar Command – Working with File Archives in Linux
- nl Command – Add Line Numbers to Output on Linux Command Line
- A Guide to Securing the SSH Daemon
- 5 Methods to Generate a Random Password from the Command Line
- Grep Multiple Strings or Patterns from a Text File in Linux
- Dictd – Using a Linux Command Line Dictionary
- Dig – DNS Troubleshooting from the Linux Command Line
- How to Password Protect and Encrypt a File in Linux
- Top 5 Bash Tips and Tricks for Beginners
- How to grep an IP Address from a File
- Linux Fundamentals – I/O, Standard Streams, and Redirection.
- How to Find Your Public IP Address on Linux Command Line
- tac Command – Cat a File in Reverse Order
- cat Command – Reading and Combining Files in Linux
- Touch Command – Change File Timestamps and More
- How to configure SSH Port Forwarding / SSH Tunneling
- How to Update a Disconnected Red Hat 7 or CentOS 7 Linux System
- Configure Host Specific SSH Settings
- Disable Tracker on Fedora 29, CentOS 7 and Red Hat 7
- Getting started with Docker on Linux
- Linux Easter Egg – Steam Locomotive
- Firewalld Basics – Securing Your Linux System
- Using a PIR Sensor for Motion Detection with a Raspberry Pi 3
- MagicMirror running in a Docker Container on Linux
2018 9
- Amcrest Cameras in Linux using VLC and RTSP
- Tux Linux Mascot Paper Craft
- Run Command on Remote System with SSH
- Star Wars on the Linux Command Line
- ls Command – List Directory Contents on Linux Command Line
- Disable User Logins to Linux System
- Linux Hard Links vs Symbolic Links and How to Create Them
- How to count files in a directory and it’s subdirectories on Linux
- Update Search Domains on Red Hat 7, CentOS 7 and Fedora using nmcli
2017 8
- Use DoD CAC Smart Card with Google Chrome in Linux
- Using Color in the Output of Your Bash Script
- Introduction to UFW – Uncomplicated Firewall Basics
- List Installed Kernels and Currently Running Kernel
- How to Hide the Mouse Pointer (Cursor) to Create a Kiosk or Dashboard
- How Repeat Your Last Command in BASH
- Use DoD Smart Card PKI Authentication with FireFox on Linux
- How to Install DoD Root Certificates in Google Chrome on Linux
2016 7
- Google Drive Linux Clients – Options?
- How to Log IPTables – Send messages to rsyslog or journalctl
- How to Install Local rpm Files
- Start Specific Services First in RedHat 7/CentOS 7 – SystemD – Set Service Start Order
- How To Stop Your SSH Session From Disconnecting
- Viewing logs with journalctl in Red Hat 7 and CentOS 7
- Sync local folder to Google Drive in Linux
2015 16
- Watch Command – Monitor Command Output in Linux
- cp Command – Copy Files on the Linux Command Line
- Standard Wildcards / Globbing Patterns in Linux
- Setting Time and Date in Red Hat 7 / CentOS 7
- How To Install VNC Server in Red Hat 7 / CentOS 7
- How to Create an Encrypted (Password Protected) Tar or Zip Archive in Linux
- How to Change the System Hostname in Red Hat 7 or CentOS 7
- Converting Lowercase Text to Uppercase Text
- Bash History – An Introduction to History and it’s Variables
- Stop Cron Daemon from Sending Email for Each Job
- How to Add a User to a Group in Linux on Command Line
- How To Make a Countdown Timer in Bash
- How to Change Runlevel on CentOS 7 / Red Hat 7
- How To Send Mail Through ISP SMTP With Postfix
- Find BIOS Information From The Command Line
- Disable Firewalld and Use IPTables on CentOS 7 or Red Hat 7
2014 12
- Disable Tracker on Fedora 21 / Fedora 20
- Disable ACPI on Red Hat / CentOS
- Why Does Ping and DNS Resolve Names Differently
- Reboot Linux System from the Command Line
- Bash Bug – Shellshock Vulnerability in Bash
- Explaination of ssh:notty, root@notty, or username@notty.
- How to Loop Through a Comma Separated File (CSV) in Bash
- Bash Aliases – Quickly Execute Your Favorite Commands
- Start Services on Boot in Red Hat 7 or CentOS 7
- How to Restart Services in Red Hat 7 / CentOS 7 using systemctl
- List Only Directories With The ls Command In Red Hat Linux
- Find BIOS information for several Linux servers
2013 8
- How to Run a Cron Job Every 30 Seconds
- Exclude File (or Files) From Rm Command in Linux
- How to Change a Machines Hostname in Red Hat 6
- Password Protect Single User Mode in Red Hat or CentOS
- Bash Script to Change a User’s Password
- How to Move Multiple File Types and Retain Directory Structure
- Using rsync to Synchronize Directories Over SSH
- Allowing Apache (Httpd) to Run From Home Directory
2012 19
- Rotating Custom Logs with Logrotate on Red Hat
- How to Configure a Static IP Address in Red Hat, CentOS and Fedora
- Script to Change all Users Passwords on Red Hat / Centos
- How To Ping IPv6 Address On Same Subnet in Linux
- How to Hide the Menubar in Gnome Terminal – Gnome3
- List All CRON Jobs Set for All Users
- How to Change the Lockscreen Wallpaper in Gnome 3
- How to Use WGET with a Proxy Server in Linux
- Locate Suitable Time Server to Serve as Reference Clocks
- How to Find Which Version of Red Hat is Installed
- How to Set the http_proxy Variable in Linux
- View and Edit EXIF Data from Images on Linux Command Line
- Force User to Change Password Upon Next Login
- How To Grep Out Blank Lines In A Text File
- Creating IPsec Tunnel Between Two Hosts using openswan
- Configuring Transaction Signatures (TSIG) on BIND 9
- How to configure system proxy settings in Red Hat Enterprise Linux
- Block Unwanted Advertisements with a Hosts File on Linux
- Extract a Single File From a tar Archive
2011 10
- Grep All Email Addresses from a Text File
- How to setup SSH Key Authentication – SSH Passwordless Login
- Changing a Linux Users Password in One Line Command
- Basics of iptables – Opening ports on linux firewalls
- Make GMail your Default EMail in Chrome / Linux
- How to chroot users in SFTP server
- Configuring an NTP server in Red Hat
- Using perl and expect to automate SSH connections.
- How to install perl modules with CPAN (perl-cpan)
- Forcing Password Complexity in Red Hat