Difference between revisions of "Useful Commands"
From GhostBSD Wiki
(→FREEBSD Man Pages) |
(→Selected helpful Commands) |
||
Line 47: | Line 47: | ||
|- | |- | ||
|dmesg | |dmesg | ||
− | | | + | |Discover what hardware was detected by the kernel and other system related information. |
|[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/dmesg/]] | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/dmesg/]] | ||
|- | |- | ||
− | | | + | |dmesg | grep usb |
− | | | + | |Show USB devices. |
− | | | + | | |
+ | |- | ||
+ | |kldstat | ||
+ | |List all modules currently loaded in the kernel. | ||
+ | | | ||
|- | |- | ||
|gpart | |gpart | ||
Line 69: | Line 73: | ||
|Output to identify your video card | |Output to identify your video card | ||
|Fred Finster 10.01.2020 on Telegram, see also [[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/pciconf/]] | |Fred Finster 10.01.2020 on Telegram, see also [[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/pciconf/]] | ||
+ | |- | ||
+ | |pciconf -l -cv | ||
+ | |Show PCI devices. | ||
+ | | | ||
+ | |- | ||
+ | |scanimage -L | ||
+ | |Shows if the scanner is connected and seen | ||
+ | |[https://www.bsdforen.de/threads/scanner-device-in-qt5-variable-einlesen.33977/ BSD forums.de] | ||
+ | |- | ||
+ | |sysctl hw.realmem | ||
+ | |Display hardware memory. | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/sysctl/]] | ||
+ | |- | ||
+ | |sysctl dev | less | ||
+ | |Display configured devices. | ||
+ | | | ||
+ | |- | ||
+ | |sysctl hw.model | ||
+ | |Display CPU model. | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/sysctl/]] | ||
+ | |- | ||
+ | |sysctl hw.machine_arch | ||
+ | |Display CPU Architecture | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/sysctl/]] | ||
+ | |- | ||
+ | |sysctl hw.ncpu | ||
+ | |Display number of CPUs. | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/8/sysctl/]] | ||
+ | |- | ||
+ | |uname -vm | ||
+ | |Get release version information. | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/1/uname/]] | ||
+ | |- | ||
+ | |uname -a | ||
+ | |Get release version and user.pc information | ||
+ | |[[File:Jean victor balin book.png|25px|link=https://www.unix.com/man-page/freebsd/1/uname/]] | ||
|- | |- | ||
!colspan="3"| | !colspan="3"| |
Revision as of 13:49, 17 January 2020
Welcome to the Useful Commands |
Contents
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
Short Comparison Linux and BSD
FreeBSD Command Reference
AfNOG If this list is up to date we have to check.
Useful Overview
FreeBSD Display Information About The System Hardware
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 |
---|---|---|
dmesg | Discover what hardware was detected by the kernel and other system related information. | |
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 | |
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 | |
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 |
pciconf -l -cv | Show PCI devices. | |
scanimage -L | Shows if the scanner is connected and seen | BSD forums.de |
sysctl hw.realmem | Display hardware memory. | |
less | Display configured devices. | |
sysctl hw.model | Display CPU model. | |
sysctl hw.machine_arch | Display CPU Architecture | |
sysctl hw.ncpu | Display number of CPUs. | |
uname -vm | Get release version information. | |
uname -a | Get release version and user.pc information | |
Back to the Wiki |