May 30, 2016

FreeBSD - man pages

FreeBSD and other Unix systems use man pages for system documentation, they are called by the man command. For FreeBSD the following are useful man pages: man firewall will give advice for building a FreeBSD firewall man hier will explain the way FreeBSD filesystems are normally laid out. Man pages are divided into section depending on topic. There are 9 different sections numbered from 1 (General Commands) to 9 (Kernel Developer’s Manual). Read more

May 8, 2016

FreeBSD - man pages

Ever wonder what those numbers after command names were, as in cat(1)? It’s the section of the manual the man page is in. man man will tell you more.

May 8, 2016

FreeBSD - wheel group

Any user that is a member of the wheel group can use su - to simulate a root login. You can add a user to the wheel group by editing /etc/group.

May 8, 2016

FreeBSD - Aliases

You can use aliases to decrease the amount of typing you need to do to get commands you commonly use. Examples of fairly popular aliases include (in Bourne shell style, as in /bin/sh, bash, ksh, and zsh): alias lf=”ls -FA” alias ll=”ls -lA” alias su=”su -m” In csh or tcsh, these would be alias lf ls -FA alias ll ls -lA alias su su -m To remove an alias, you can usually use ‘unalias aliasname’. Read more

© Arnold Greyling 2022

Powered by Hugo & Kiss.