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
cli

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
cli

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
cli

Using The File Command to Identify a File

Using the file command to identify a file’s type on a *nix system.

August 8, 2022 · 1 min · lukefilewalker
cli

Fetching Useful Information About Your Storage Disks in the CLI

How to fetch information from the manufacturer and model to temperatures.

May 15, 2022 · 2 min · lukefilewalker
cli

Manually Upgrading All Qt5 Packages on FreeBSD

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

October 17, 2019 · 2 min · lukefilewalker
cli os

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
cli os

Get Your External IP Address From the CLI

How to get your external IP address on the CLI.

December 28, 2015 · 1 min · lukefilewalker
cli

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
cli

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
cli