Category Archives: CommandLine

my package of the day: file – classify (unknown) files and mime-types on the console

You know this? Somebody just sent you a mail with attachments that don’t have usable file extensions so you don’t really know how to handle them. Audio file? PDF? What is it? The same problem might occur after a file … Continue reading

Posted in Allgemein, Bash, CommandLine, Debian, GNU, Linux, PackeOfTheDay, Script, Shell, Ubuntu | 3 Comments

my package of the day: listadmin – moderate mailman mailing lists from the console

Are you involved in moderating Mailman mailing lists? Then maybe you know the pain: As you try to stop spammers flooding you list you hold messages from unknown senders back for review. Or you have a moderated mailing list that … Continue reading

Posted in Allgemein, Bash, CommandLine, Debian, Mail, PackeOfTheDay, Script, Shell, Ubuntu | Leave a comment

my package of the day: fish – the friendly interactive shell

Always wanted to learn using a shell more deeply? Maybe “fish“, the “friendly interactive shell” is the right kickoff for you. If you are already a heavy command line user with customized .bashrc or even .zshrc (like me), thank you … Continue reading

Posted in Allgemein, Bash, CommandLine, Debian, GNU, Linux, PackeOfTheDay, SSH, Script, Shell, Ubuntu | 6 Comments

my package of the day: weather-util (weather report and forecast for the console)

Let me introduce you today into a tool that a lot of people might evaluate as useless: Jeremy Stanley’s weather-util. Whith this tiny python script, which finally found its way into Debian Etch and Ubuntu repositories, you can retrieve weather … Continue reading

Posted in Allgemein, Bash, CommandLine, Debian, GNU, Linux, Network, PackeOfTheDay, Script, Shell, Ubuntu | 7 Comments

my package of the day: less (yes, less)

Let me tell you something about “less”: You are probably underrating it for no reason. Of course you know “less” is always there and it does it’s job – showing files while being able to scroll backward – and some … Continue reading

Posted in Allgemein, CommandLine, Debian, GNU, HardyHeron, Linux, Shell, Ubuntu | 5 Comments

removing outdated ssh fingerprints from known_hosts with sed or … ssh-keygen

At least from the last issue in Debian-based systems including Ubuntu you might know the pain of getting the message from you ssh client that the server host key has changed as ssh stores the fingerprint of ssh daemons it … Continue reading

Posted in CommandLine, Debian, Network, SSH, Security, Shell, Ubuntu | 11 Comments

good howto: Bash Pitfalls

There is a very nice collection of common Bash scripting pitfalls and hints on how to avoid them on Greg’s Wiki: Bash Pitfalls If you are writing little Bash scripts from time to time or are even a heavy Bash … Continue reading

Posted in Bash, CommandLine, Debian, Script, Ubuntu | Leave a comment

new kernel release detection snippet

Just a small and old snippet that might be helpful or an example: Some years ago I’s in need of getting to know early about new released Linux kernel versions. Therefore I wrote a (not sophisticated but working) crontabbed script … Continue reading

Posted in Bash, CommandLine, Debian, GNU, Linux, Script, Shell, Ubuntu | 4 Comments

more battery, please

After I found out that the enhanced Gnome power manager applet has some trouble dealing with two batteries (it currently assumes you have only one and therefore it’s ability to guess the correct lifetime based on recent discharging times shows … Continue reading

Posted in CommandLine, Debian, Laptop, Power, Ubuntu | 5 Comments

Bashup – a sophisticated Bash backup script

Mnemonikk (who still lacks a blog because he cannot decide which name to choose) finally made the step to create a sourceforge project for Bashup. Bashup is a more or less modular and Bourne shell compatible backup script with few … Continue reading

Posted in Backup, CommandLine, Debian, FileTransfer, Network, SSH, Ubuntu | 4 Comments