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

How to upgrade from Fedora 16 to Fedora 17

You can easily upgrade from Fedora 16 to Fedora 17. And when I say easy, I mean two commands easy: As root: # yum install preupgrade # preupgrade The preupgrader will fetch the packages needed for the upgrade to Fedora

How to install, upgrade and remove packages with rpm

RPM stands for Red Hat Package Manager. Fedora, openSUSE or Mandrake are all rpm based packages. rpm is used for installing .rpm packages, displaying package info or uninstalling packages. In this article I will show you how to use the

How to permanently disable the Xorg Beep in Linux

The annoying Xorg beep can be disabled permanently. You only need to remove pcspkr from the kernel and add it in the blacklist: Remove pcspkr from kernel: $ sudo modprobe -r pcspkr Blacklist the pcspkr: Adding the pcspkr to blacklist

How to use the yum package manager like a Ninja

Yum (yellowdog update modifier) is the main package manager for Fedora. It downloads the binaries, installs the package and fixes the dependencies. Yum uses rpm (in background) to install packages. 1. How to install packages with yum: yum install packagename



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