Category: shell

debian, linux, raspberrypi, shell

Customize your MOTD login message in Debian and Ubuntu

This is a little guide to display dynamic login messages on a Debian system. This is one of those things where the internet has plenty of resources, but they are mostly outdated and contradictory. Even typing man motd in Debian is a sad experience. It is not a difficult thing to do but it can be …

linux, networking, shell

Easy passwordless SSH with sshh

This little wrapper for SSH and SCP allows for comfortable management and scripting. It is specifically recommended for developing and testing embedded systems and virtual machines  before production, where strong security is not required. Usage Use sshh and scpp exactly as you would use ssh and scp. Instalation Easy install! Paste on your zsh terminal …

shell, zsh

List files without stopping to type in zsh

This zsh widget allows you to list files in the current directory without interrupting the command you are typing. Usage Hit <tab>  in the middle of any command. It will list all files below the command line. Hit  <space><tab>  on an empty command line. It will list directories. Hit  <space><space><tab>  on an empty command line. It will …

shell

Colorize your stdout with xcol

This little tool will colorize its standard input with a different color for each one of its arguments. Usage xcol imitates the usage of grep, so you can pipe any stdout to it

, or read from a file

Just like grep . You can match any regular expression that sed  would accept

shell, tmux

Smart tmux sessions

Usage Instead of tmux just type

Installation Get the code from github, and append it to your .zshrc or .bashrc. To do it in one step, paste in zsh

, or in bash

New shell sessions will automatically start or resume a tmux session. Comment last line of .zshrc or .bashrc after …