Showing headlines posted by savona
« Previous ( 1 2 3 4 5 6 )How to Kick a User Off of a Linux System
Learn how to kick a user off of a system. Sometimes it is necessary to forcefully disconnect a user from the system for maintenance or because of malicious activity. In this article we will discuss how to forcefully kick a user and basic sysadmin etiquette.
Linux tee Command Usage and Examples
The Linux tee command is a very simple yet useful utility. This article will teach you the basics of the tee command along with a few advanced use cases. Learn how to pipe output from a command into multiple other commands. Also tailing a file while saving it's output, a handy trick all SysAdmins should know. This article covers the basic usage, but also some more interesting and advanced use cases for tee.
How to Use the PATH Environmental Variable
In this short tutorial we examine the PATH variable. We discuss what it is, it's basic function, how to add and delete directories from your PATH, and demonstrate the benefits of PATH.
3 Ways to Mount a Windows Share in Linux
Learn how to mount a Windows SMB or CIFS share in the Linux GUI, on the command line with fstab, or using autofs. We also explain the SMB vs CIFS vs Samba.
Using Trap to Exit Bash Scripts Cleanly
In this tutorial we explain how to use the trap bash builtin to exit bash scripts cleanly. We explore examples of how to clean up temp files, ensure services stay running and close ports.
Using the Linux column command
In this tutorial we take a look at the little known column command. This nifty utility allows you to format output into columns. You can format your output into tables, add headers, align text in the columns and even output JSON.
A Complete Guide to Using the tar Command with Examples
A complete guide to using the tar command for creating archives in Linux. We give examples of creating, extracting, compressing tar archives and more advanced options like single file extraction and appending files.
Using the NL (Number Lines) Command Line Utility
In this Linux quick tip we cover both basic and advanced usage of the nl command with examples. Everything from formatting output to advanced logical pages are covered.
A Definitive Guide to Securing the SSH Daemon
In this article we dive deep into securing the SSH daemon. We outline and explain over 25 settings and configuration options. Everything from well known best practices, more obscure configurations and configuring your firewall.
Top 5 Bash Tips and Tricks for Beginners
In this article we present our top 5 tips and tricks every bash user should learn. With these tips in your Linux toolbox you will become an efficient command line master.
5 Methods to Generate a Random Password on the Command Line
In this article we explore using the kernel's random number generator and the systems entropy pool to generate random passwords on the command line. We list 5 different methods and include one utility that we found useful.
Basic dig Command Usage and Detailed Explanation of its Output.
In this tutorial we examine the very useful dig command. We cover basic usage, some advanced techniques and provide a detailed line by line explanation of digs cryptic output.
Using a Linux Command Line Dictionary
In this article we discuss how to install and use the command line dictionary. It is a nostalgic look at a remnant of the past that still may have a practical use.
How to make a countdown timer in bash.
In this tutorial we will show you how to make three versions of a countdown timer in bash. We start with a simple countdown timer, then progress to a more colorful version, and finally a fancy version which uses tput for screen coloring and cursor positioning. This is an excellent way to display time left on script with a long wait period.
Introduction to Linux I/O, Standard Streams and Redirection.
A introductory tutorial on Linux IO, Standard Streams, their file descriptors and redirection. This covers the three basic input output stream (stdin, stdout, and stderr) and well as explains their file descriptors. It also examines practical use cases for each including redirection.
How to Password Protect and Encrypt a File on Linux Command Line
In this Linux quick tip we will discuss password protecting a file using GNU Privacy Guard (GnuPG). This tool provides digital encryption and signing services using the OpenPGP standard. We will cover the basics of the gpg command in respects to encryption and decryption files using a passphrase, how to confirm encryption and specifying which cipher to use.
How to find your public IP address from the Linux command line
An overview of tools and techniques to allow you to get the public facing IP address of your system from the Linux command line.
How to Disable Tracker Processes and Reclaim Your Resources
Tracker is a set of processes that run and index files on your disk for quicker searching. It is capable of indexing not only the normal name, location and modified dates of your files, but also the metadata and contents. This makes it both a resource hog and a privacy concern. In this tutorial we will learn how to disable Tracker and reclaim system resources.