Language Selection

English French German Italian Portuguese Spanish

My sysadmin toolbox

Filed under
Software

My working day includes a variety of tasks, and most of them take place on the command line, because that approach enables me to do things in the most efficient way. But you can also waste a lot of time on the command line if you don't know what utilities will give you what you need quickly. Here's an introduction to the most important tools I use every day.

zsh

The GNU Bourne Again Shell, bash, is the command line interpreter traditionally associated with Linux systems, and most GNU/Linux systems ship it as default. While it has considerably improved in terms of comfort, it stands behind the powerful Z Shell, which you can use as a superset of the Bourne Again Shell.

The additional features zsh offers can save you a lot of time. Zsh comes with a comprehensive completion system that has out-of-the-box support for SSH hostnames, Makefile targets, command-line arguments (for example, for MPlayer and configure scripts) and in general more than you can shake a stick at.

Among its fancier of extensions are:

ls -d *(/) # list directories
ls *(m0) # list files modified today
!$ # insert last argument of previous command
ls foo{1..3} # expands to ls foo1 foo2 foo3
These are only a fraction of its additional features. For a larger overview, consult zsh-lovers.

fmt/par

Full Story.

More in Tux Machines

Home automation hub runs Linux, offers cloud services

Cloud Media launched a Kickstarter campaign for a Linux-based “Stack Box” home automation hub with cloud services and Raspberry Pi expansion compatibility. Do we really need yet another crowdfunded Linux-based home automation hub? Of course we do! The Stack Box is now vying for Kickstarter funds through Sept. 17 at prices starting at $79 in black, with shipments due in December. Read more

Linux 3.17 Lands Memfd, A KDBUS Prerequisite

Memfd is a mechanism similar to Android's Ashmem that allows zero-copy message passing in KDBUS. Memfd effectively comes down to just a chunk of memory with a file descriptor attached that can be passed to mmap(). The memfd_create() function returns a raw shmem file and there's optional support for sealing. Memfd is needed by KDBUS for message passing and now the code -- after being public but out-of-tree for several months -- is finally mainline. As a result, the KDBUS code has been updated to take advantage of the mainline Linux 3.17 state. Read more

LXQt 0.8 Is Being Released Soon

Fans of LXQt, the merge of the Qt version of LXDE along with the Razor-qt desktop project, will soon see out a big update. LXQt 0.8.0 is being readied for release as the latest of this next-generation lightweight desktop environment. Heavy development continues on LXQt and recently the most important bugs have been addressed for the upcoming LXQt 0.8 milestone. Holding back the LXQt 0.8 release is finishing the language translations and figuring out what to do about their RandR utility. Read more

About the use of linux for normal people

I was trying to write this blog post for quite a long time, and it become so, so big that I’ll have to split it in three posts, It is like a ‘people of kde’ but different, the focus is not to show someone that works for KDE, but someone that tried to use KDE to work – being it a non-tech person. Since I spend most of my days helping people that is struggling with Free Software to pass the hate feeling, I feel that I have lots of things to say being that I’m activelly maintaining over 5 laptops from different friends that lives on different states. I also like to study humans, this very strange animal that has so many different ways of expressing himself that it’s so, so hard to get it right. First case of study: Cléo Martins, Professional Chef, Vegan and “Wanted to try linux because she liked the concept”, That’s a bold move. Read more