This is meant to help the absolute beginner to UNIX-like operating systems get started with FreeBSD. Apart from reading the first chapters of the handbook I can also recommend reading this, or any other introductory material to UNIX, before starting with these.
Colorized output from ls by default
First go to your home directory:
Open .shrc with
Add this line where the aliases are:
Press ctrl-c and write
"Source" .shrc to make the changes take effect:
Now try
Tada! Now there is colors.
See ls(1) for more information on ls.
Cd faster to Xorg-config
Typing
and
And now you're in the folder. If you want the Xconf variable to remain over account logins, add the assignment to a file like ~/.profile or ~/.shrc (see my previous tip if you don't know how to do that)
Colorized output from ls by default
First go to your home directory:
cdOpen .shrc with
ee (you may replace ee with edit): ee .shrcAdd this line where the aliases are:
Code:
alias ls='ls -G'
exit to leave (and save)."Source" .shrc to make the changes take effect:
. .shrcNow try
ls...Tada! Now there is colors.
See ls(1) for more information on ls.
Cd faster to Xorg-config
Typing
cd /usr/local/etc/X11/xorg.conf.d/ every time you want to edit a configuration file for Xorg might be a little wordy. Here's an extremely simple thing you can do to make it easier:
Code:
Xconf=/usr/local/etc/X11/xorg.conf.d/
cd $XconfAnd now you're in the folder. If you want the Xconf variable to remain over account logins, add the assignment to a file like ~/.profile or ~/.shrc (see my previous tip if you don't know how to do that)
Last edited: