It is very important to know how to manage services in Linux/Unix systems, in order not to reboot the entire system when not necesarry. In this article I will show you how to start, stop, restart a service in the…
It is very important to know how to manage services in Linux/Unix systems, in order not to reboot the entire system when not necesarry. In this article I will show you how to start, stop, restart a service in the…
In Linux, every service can be rebooted. This is very usefull because you don’t need to restart the whole system, in order get the modifications applied. In this article I will show you how to reboot the network (or networking)…
I am a Linuxer that moved to *BSD. Because I am used with the bash tricks, I will set bash as my user’s default login shell, in PCBSD 9.0 . Install bash with this command (if it is already installed,…
The hard links and the symbolic links, also known as symlinks or soft links are the link files in Unix and Linux systems. A link points to a file and when clicked, it will open the targeted file. The symlink…
There are a few GNU tools for finding out info about the users and groups in your system. You can also grep the users in /etc/passwd and /etc/group to find out the information you need. How to find out user…
On modern Linux systems, the administrative tasks are done by a special user called root. The root user is almighty, it can delete every file in the system and kill every process, power which should not fell on untrusted hands.…
In this article I will show you how to daemonize processes with nohup, in Linux and Unix. What is a daemon? A daemon is a process with no output and input, running independently from the terminal. A daemon dies only…
The chfn command is usefull if you need to change account user info, such as full name or room name. This is also called GECOS, or finger information. $ chfn -h Usage: chfn [-f full_name] [-r room_no] [-w work_ph] [-h…
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.…
Mv can both rename and move files. It is a powerfull generical command, working on all GNU-unixes. In this article I will teach you how to move and rename files and folders, with practical examples: How to rename files (and…