For People New to Both FreeBSD and UNIX®

Annelise Anderson

Revision: filedate
Legal Notice
Last modified on 2021-05-08 01:17:39 WIB by root.
Abstract

Congratulations on installing FreeBSD! This introduction is for people new to both FreeBSD and UNIX®—so it starts with basics.

[ Split HTML / Single HTML ]

Table of Contents
1. Logging in and Getting Out
2. Adding a User with Root Privileges
3. Looking Around
4. Getting Help and Information
5. Editing Text
6. Other Useful Commands
7. Next Steps
8. Your Working Environment
9. Other
10. Comments Welcome

1. Logging in and Getting Out

Log in (when you see login:) as a user you created during installation or as root. (Your FreeBSD installation will already have an account for root; who can go anywhere and do anything, including deleting essential files, so be careful!) The symbols % and # in the following stand for the prompt (yours may be different), with % indicating an ordinary user and # indicating root.

To log out (and get a new login: prompt) type

# exit

as often as necessary. Yes, press enter after commands, and remember that UNIX® is case-sensitive—exit, not EXIT.

To shut down the machine type

# /sbin/shutdown -h now

Or to reboot type

# /sbin/shutdown -r now

or

# /sbin/reboot

You can also reboot with Ctrl+Alt+Delete. Give it a little time to do its work. This is equivalent to /sbin/reboot in recent releases of FreeBSD and is much, much better than hitting the reset button. You do not want to have to reinstall this thing, do you?

All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.