Running a Command on Each Item in a List

Easily run a command on each item in a list - think list of filenames for example.

October 9, 2022 · 1 min · lukefilewalker

Redirect Output When You Don't Have Permission to

How to redirect output from a command you’ve run to a file that you don’t have permission to write to i.e. to a destination that you need to use sudo on.

September 2, 2022 · 1 min · lukefilewalker

Fetch Process IDs or Names of the Processes Listening On Ports

Fetch Process IDs or Names of the Processes Listening On Ports.

August 28, 2022 · 2 min · lukefilewalker

Manually Upgrading All Qt5 Packages on FreeBSD

How to manually upgrade all QT5 packages on FreeBSD with xargs.

October 17, 2019 · 2 min · lukefilewalker

Creating an Empty File in *nix as Well as Windows in the CLI

How to create an empty file from the CLI in *nix as well as Windows

August 2, 2016 · 1 min · lukefilewalker

Get Your External IP Address From the CLI

How to get your external IP address on the CLI.

December 28, 2015 · 1 min · lukefilewalker

Delete All Files Except for a Particular Extension

How to delete all the files in the current directory except for files of a certain extension.

December 15, 2015 · 1 min · lukefilewalker

Using Sed to Find and Replace a String in a File

Find and replace using the *nix tool sed.

November 27, 2015 · 1 min · lukefilewalker

Copy and Paste to and From the Clipboard in the CLI

How to copy and paste to and from the clipboard while working in the CLI.

October 23, 2015 · 2 min · lukefilewalker

Getting a List of Files in a Directory

How to display a single column list of all the files in a directory.

May 8, 2015 · 1 min · lukefilewalker