Examples on how to add Linux users to groups with simple shell commands for CentOS, Debian and Ubuntu.
Sometimes you might want to download an entire website e.g. to archive it or read it offline. This tutorial will show you which application can be used on Windows and Linux.
The bash history is a log file that contains all commands that the user executed on the Linux shell. When you use the "arrow up" key on our keyboard, then Bash will look up the previous command from that file and
The Linux VNC server provides a command to set a new password. The command is "vncpasswd", the password is stored in encrypted form into the file ~/.vnc/passwd of the home directory of te user. Run: vncpasswd to set a new
Here is a short script that helped me to copy files that have ben modified within the last 60 minutes to a new directory. The script uses a combination of the find and cp commands, it has to be run
Look here to learn how to create Visual Basic Scripts. Using Visual Basic Script you can also access elementary Windows services, some them being really useful to irritate your friends. If at any point of the script there is an
If you have a directory with many files (a few thousand in my case) and need to know which one is the newest, then the following command might be useful. It returns the name and details of the newest file
Linux user quotas can be edited with the commands edquota or setquota on the shell. While edquota opens the quota settings in a editor like vim, setquota allows you to specify the quota settings on the commandline. Example for disabling
Have you ever executed a command on the shell and noticed the that you had to run it with sudo? Instead of typing the command again with "sudo" in front of it, just run: sudo !! which will execute the
If a linux system user is able to login on the shell or with SSH depends on its shell setting in /etc/passwd. If you want to prevent that a certain user is able to login, then set the shell either