Blog Archives

The !! bash trick: Insert the last used command

There are a few bash shortcuts (tricks), that make my life easier every day. One of my favourite bash tricks is !! . !! relaunches the last used command. The benefit of the !! is that it can be combined

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

How to set and use the Linux CDPATH variable with bash

The CDPATH is an environment variable, just like PATH. It is used to cd directly in the folders you add in your CDPATH. By default, your CDPATH is empty but you can easily set it, as you like. Difference between

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!

The bash shell shortcuts

The Linux / Unix bash shell is very kind with the users. It offers some shortcuts that can really save its users day. In this article I will make a list of bash shortcuts usefull for editing commands: Jump to

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Bash wildcards: ? (question mark) and * (asterisk)

The usage of wildcards is a nice feature that the shell provides us. Simple characters such as * or ? can make our bash life much more easier than we have ever imagined. Wildcards are special characters that allow us

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!

Three usefull shell tricks for creating zips

There tricks are usefull because you often need to zip only a certain type of files or all the files in a directory. In this article I will also prove the power of the asterisk (*) wildcard: I have this

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!
Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!