Resource icon

Common BSD Commands

  • Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  • Hello everyone We want to personally apologize to everyone for the downtime that we've experienced. Due to the issues we've had, your password will need to be reset. Please click the button that says "Forgot Your Password" and change it. Thanks, PCHF Management
BSD variants do not have as much command-line commands as Linux does, but it does have some very important ones.

FreeBSD:

pkg install package - Install package from remote repository

pkg add package - Install local package

pkg info - List installed packages

pciconf - List PCI devices

kldstat - List loaded kernel modules

kldload / kldunload - Load/Unload kernel modules

truss - Trace system calls

Various BSD variants:

w
- shows you how long the server has been up, load averages, and who is logged in and what they are doing.

finger - used to see what people are doing on remote servers without logging in

ls - Lists all files in current directory

ls -al - gives a more detailed listing of files including permissions

ps -aux - shows all processes or jobs running on the server and their PID's or Process ID's (usefull when u need to kill a job)

top - shows you which processes are using the most cpu time, and memory resources

locate filename - Used to find files
Author
jmarket
Views
1,094
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from jmarket