How to manage services in Linux and FreeBSD

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

How to restart the network service in Linux and FreeBSD

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)

How to set bash as your default login shell in PCBSD

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,

How to create symbolic links and hard links in Linux/Unix

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

How to find out information about users in Linux

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

Why to use sudo?

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.

How to transform a process into a daemon in Linux / Unix

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

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.

How to move and rename files in Linux with mv

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

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!