The history command is very useful when you frequently work at the terminal and you want to invoke a command given in the past.But there are several options that are not so common or poorly understood, in this article we’ll see some of them in bash and zsh. Basic usage Show last commands in history. […]
Alias in Zsh
In several commonly used shell commands can be shortened with convenient alias, a classic example is: alias ll=’ls -al’ Also in this field zsh has some interesting features, which enable you to define traditional aliases but also things a bit more particular.
Globbing with zsh
In a previous article we saw how to install and configure zsh, today we’ll see in detail the options offered by the zsh for globbing or how the shell use some special characters to auto-complete our commands. Please note: most command you’ll see here could be accomplished with particular switch of the command, for example […]
introduction to zsh
zsh it’s a perfect alternative to the classic bash that we have as default on our linux box. zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added. Origin The […]
setsid – start programs in a new shell
As someone posted in a comment of one of my former article (nohup, bg e disown), i’ve forget a command: setsid, while talking about the possibility of detach a process from a terminal or a shell man setsid setsid – run a program in a new session The main difference i see from nohup is […]