May 8, 2016

FreeBSD - Calendar

Forget when Easter is? Try ncal -e. If you need the date for Orthodox Easter, use ncal -o instead.

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 - console

By pressing “Scroll Lock” you can use the arrow keys to scroll backward through the console output. Press “Scroll Lock” again to turn it off.

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 - fetch

You can use the ‘fetch’ command to retrieve files over ftp or http. fetch http://www.FreeBSD.org/index.html will download the front page of the FreeBSD web site.

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 2023