Common BSD Commands | PC Help Forum
  1. 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 Virus 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.
    Dismiss Notice

Common BSD Commands

This list comprises of very common BSD commands.

  1. jmarket
    BSD variants do not have as much command-line commands as Linux does, but it does have some very important ones.


    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:

    - 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