System administration
Command | Description |
---|---|
| Show current |
| Display current user name only. |
| Show all user accounts. |
| Show all groups. |
| Create user; -m= create home directory. |
| Set or change password for yourself or another account (administrator only). |
| Add users to the group "wheel" or simply edit /etc/group directly. |
| Delete user; -r= remove home directory and all content. |
| View all accounts, including encrypted passwords. |
| Lock master.passwd |
Command | Description |
---|---|
| Display mounted file systems. |
| Shows occupied and free space in all mounted file systems. Adding -h = shows 1G instead of 1048576. |
| Adds space occupied by files or directories in the specified path or in the current directory. |
| Mount device /dev/acd0 [IDE CD] in directory /cdrom; file system type is cd9660;-r=read-only. |
| Eject the device. The device must not be used. |
| List processes with open files. |
| Display file system table. |
| Mount /cdrom with parameters from /etc/fstab |
| Mount all file systems in /etc/fstab except those marked "noauto" (this happens during normal booting, but is useful when booting in single-user mode). |
Command | Description |
---|---|
| Display an overview list of the installed packages. |
| Display a detailed description of the package. |
| Display a list of all files contained in the package. |
| Install package from file. |
| Install package from the default FTP server. |
| Install package from an alternative FTP server. |
| Installs package from remote repository or local archive. |
| Uninstalling a package. |
Command | Description |
---|---|
| Display loaded modules. |
| Load the named module and all modules on which it depends. |
| Unload module. |
Command | Description |
---|---|
| Display all interfaces. |
| Configure interface. |
| Display table with redirects. |
| Add a static default route. |
| Send test packages. Terminate with ^C. |
| Send test packets and display intermediate routers. |
| Displays complete packets that were sent and received via a specific interface. The second form shows only package headers to/from TCP port 80. Use the option -w <file> to save the network dump in file <file>. |
| Initialize network interfaces using the settings in /etc/rc.conf. |
| Initialize static routes from the settings in /etc/rc.conf. |
| Configure interfaces marked with "DHCP" in /etc/rc.conf. |
| Display active network connections. Use -a to add listening sockets. |
| Displays processes that listen to IPv4 and IPv6 sockets. |
Command | Description |
---|---|
| Show all processes. |
| Show all processes that correspond to the pattern <processname>. Note that grep <processname> can be displayed itself. |
| Continuous display of the most active processes. Quit with q. |
| The process with the specified process ID is quickly cleaned up and terminated. |
Command | Description |
---|---|
| Switch between virtual consoles. |
| Display current date and time. |
| Synchronize the clock with the specified NTP servers. |
| Display time since last restart and average load. |
| Shows who is currently logged in. |
| Display the last 10 logins. |
| Restart. |
| Switch-off. |