Commands tagged perl (190)

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands


Check These Out

Your GeoIP location on Google Maps

Disable system bell in an X session
Execute this command in a terminal to disable the system-bell during X-session lifetime.

Create commands to download all of your Google docs
Create commands to download all of your Google docs to the current directory.

Convert CSV to JSON
Replace 'csv_file.csv' with your filename.

Rotate a video file by 90 degrees CW
Change video orientation in metadata only

phpinfo from the command line

Get a brief overview of how many files and directories are installed
To start, you first need to make sure updatedb has been run/updatedb, and initialized the db: $ su -l root -c updatedb This locate command is provided through the mlocate package, installed by default on most GNU/Linux distributions. It's available on the BSDs as well. Not sure about support for proprietary UNIX systems. The output is self-explanatory- it provides an overview of how many directories and files are on your system.

Detect illegal access to kernel space, potentially useful for Meltdown detection
Based on capsule8 agent examples, not rigorously tested

Scan Network for Rogue APs.
I've used this scan to sucessfully find many rogue APs on a very, very large network.

find out which directories in /home have the most files currently open


Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: