Difference between revisions of "Useful Commands"

From GhostBSD Wiki
Jump to: navigation, search
(Selected helpful Commands)
(Common Commands)
Line 17: Line 17:
  
 
[https://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/commands.html Common Commands]
 
[https://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/commands.html Common Commands]
 +
 +
===UNIX Command Summary===
 +
 +
[https://www.bsd.org/unixcmds.html BSD.org]
  
 
===FreeBSD Command Reference===
 
===FreeBSD Command Reference===

Revision as of 14:41, 7 February 2020

Welcome to theIcon Disti GhostBSD.png Useful Commands

Introduction

There are a lot of useful commands for GhostBSD. Most of them are written for FreeBSD and you can find them easy. They work also for GhostBSD. But some are hidden in the deep web. You get them from hints in different forums or on Telegram. The first we will connect to this page and the last we will collect on this page.

Common Commands

For People New to Both Ghost/FreeBSD and UNIX

from Annelise Anderson

Short Comparison Linux and BSD

Common Commands

UNIX Command Summary

BSD.org

FreeBSD Command Reference

AfNOG If this list is up to date we have to check.

Useful Overview

US Webmaster

FreeBSD Display Information About The System Hardware

nixCraft


FREEBSD Man Pages

This page gives an overview about all commands and there man pages (12,652 Total Pages): The UNIX and Linux Forums

Selected helpful Commands

Command Abstract Addition or Link
uname -U to get the version of GhostBSD for 20.01 you get: 1201500; it has nothing to do with the version of uname from the FreeBSD system ericbsd
rc command scripts for auto-reboot and daemon startup
Files
/etc/rc
/etc/rc.conf
/etc/rc.conf.local
/etc/rc.d/
/etc/rc.firewall
/etc/rc.local
/etc/rc.shutdown
/etc/rc.subr
/var/run/dmesg.boot	
Jean victor balin book.png
dmesg Discover what hardware was detected by the kernel and other system related information. Jean victor balin book.png
grep usb Show USB devices.
kldstat List all modules currently loaded in the kernel.
gpart The gpart utility is used to partition GEOM providers, normally disks Jean victor balin book.png
mount -t msdosfs /dev/da5s1 /mnt mount USB stick, the numbers 5 and 1 are exables, you have to get them with gpart for your system Jean victor balin book.png
ntfs-3g /dev/daxsy /mnt mount NTFS device
pciconf -lv Output to identify your video card Fred Finster 10.01.2020 on Telegram, see also Jean victor balin book.png
pciconf -l -cv Show PCI devices. Jean victor balin book.png
scanimage -L Shows if the scanner is connected and seen Icon FreeBSD.png 1329059652.png
sysctl hw.realmem Display hardware memory. Jean victor balin book.png
sysctl dev | less Display configured devices.
sysctl hw.model Display CPU model. Jean victor balin book.png
sysctl hw.machine_arch Display CPU Architecture Jean victor balin book.png
sysctl hw.ncpu Display number of CPUs. Jean victor balin book.png
uname -vm Get release version information. Jean victor balin book.png
uname -a Get release version and user.pc information Jean victor balin book.png
freebsd-version print the version and patch level of the installed base system: FreeBSD, Info is located /bin/freebsd-version on your system Jean victor balin book.png
Back to the Icon Disti GhostBSD.png Wiki