Blog Archives

10 Bash Tricks Every User Should Know About

In this article I will show my favourite bash tricks. Because I am very lazy, I adore all the dirty tricks that can make my bash usage easier. 1-2 : The PATH and the CDPATH. The PATH and CDPATH are

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

Just another “Unix and Linux shells” article

Traditionally, the default shell in the Unix systems is dash, for both the users and the system scripts. On GNU / Linux distros, bash has always been the default shell. Some new GNU / Linux distros use dash  as the

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

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 allow users to connect only to the ftp

Sometimes you need to give ftp access to a user, but forbid him to login the system. The easiest way to do that is to make /usr/sbin/nologin the user’s default shell, on Debian based systems, and /sbin/nologin on Fedora distros.

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!