← Back to the journal

CATEGORY ARCHIVE

Scripting.

Practical knowledge, one discovery at a time.

52 ARTICLES

curl – show only http response code

Most browsers have developer plugins where you can see the HTTP status code response and other request/response headers. For automation purposes though, you are most

·3 min read↗

Sort IP addresses numerically

A novice user's first attempt to sort a list of IP addresses would be to use 'sort -n', that is a numeric-sort option for sort command. Unfortunately, this will sort

·2 min read↗

Linux – run a scheduled job once

When we think of running scheduled tasks in Linux, the first tool which comes to mind to most Linux users and admins is cron. Cron is very popular and useful when yo

·3 min read↗

shuffle files in a directory with python

I have a playlist file which contains audio files to play. The audio player unfortunately plays the music files in a sequential order, in whatever order they are lis

·2 min read↗

httpie – to curl or not to curl

Curl is the defacto CLI tool for interacting with web services and other non-HTTP services such as FTP or LDAP. Linux or Unix system administrators as well as develo

·3 min read↗

Find your next command.

Search LinuxFreelancer.

Looking for music? Listen to the radio ↗