How to install zsh in FreeBSD ; How to set zsh as the default shell in FreeBSD

The Z shell (zsh) is a powerfull bash compatible shell. It can easily be installed on every Linux or Unix distro. In this article I will install zsh in FreeBSD and PCBSD and set zsh as the default login shell.

How to set the default text editor in csh and tcsh

In this article I will show you how to set the default text editor in the csh and tcsh shells. The default shell in FreeBSD and PCBSD is the C shell (csh), so this article is usefull for the *BSD

How to set a new PATH in csh and tcsh

The PATH is an environment variable that tells the shell where to look for the basic executables (commands) you use (such as ping, useradd, etc). Setting a new PATH depends on the shell, not on the Linux or Unix distro.

How to set a new PATH in bash, ksh and zsh

The PATH is an environment variable that tells the shell where to look for the basic executables (commands) you use (such as ping, useradd, etc). Setting a new PATH depends on the shell, not on the Linux or Unix distro.

How to redirect the standard output (stdout) and the standard error (stderr) to multiple files

In this article I will show you how to redirect the standard output and the standard error to multiple files, with tee. How to redirect the standard output (stdout) to multiple files: Using tee: command | tee file1 file2 $

How to use the echo command in shell scripting

In Linux and Unix, the echo command is used to write text in files or at the standard output (stdout) and to display the values of variables. Examples of using echo: $ echo “Hello” Hello $ PI=3.14 $ echo $PI

How to add users to groups in Linux ; How to remove users from groups

From security reasons, the users and groups are very important in Unix and Linux systems. Every OS geek should know how to create users and groups, add users to groups or modify user and group account informations. In this article

How to find on what partition is a file located

To find out on what partition is a file located, use the df command. Syntax: df path/to/file $ df /etc/passwd Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 19609276 3227140 15386040 18% / To filter the text, in order to

How to temporary configure the network interfaces with ifconfig

In Linux and Unix, the IP adresses can be set temporary or persistent (stored in the configuration file). ifconfig is a an “old” generical command for setting temporary IP addresses all over the Unix systems. The network changes you make

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!