unix:freebsd:forlinuxadmins:equivilents
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | unix:freebsd:forlinuxadmins:equivilents [2019/07/11 03:41] – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BSD Equivilents to Linux Commands ====== | ||
+ | |||
+ | ===== Equivilents ===== | ||
+ | |||
+ | For longtime Linux systems administrators, | ||
+ | |||
+ | ^ Linux Command | ||
+ | | watch | cmdwatch | ||
+ | | netstat | sockstat | get list of services providing network listeners | sockstat -4l #see only IPv4 | | ||
+ | | lsof | fstat | Find information on open files | fstat /tmp | | ||
+ | | lsmod | kldstat | list loaded kernel modules | | | ||
+ | | modprobe | kldload/ | ||
+ | | lspci | pciconf | list PCI devices | | | ||
+ | | strace | truss | trace system calls | | | ||
+ | | update-rc.d | sysrc | Add/Remove services started at boot | sysrc sendmail=YES | | ||
+ | | cat / | ||
+ | | lsblk | geom disk list | View disk information (but, see below) | geom disk list | | ||
+ | | iptraf | iftop | watch network traffic | iftop -i ge0 | | ||
+ | |||
+ | ===== Lack of Equivalents ===== | ||
+ | |||
+ | There are some commands that are just not there or without as many options. The information can be found using other means. In many cases, the sysinfo scripts we have shows how to do it, and we have created links below. In other cases, we have linked to other resources. | ||
+ | |||
+ | ^ Linux Command | ||
+ | | lsblk | Lists block devices. Under BSD, this is a combination of camcontrol, gpart, and grep' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | * http:// | ||
+ | * https:// | ||
+ | * https:// | ||
unix/freebsd/forlinuxadmins/equivilents.txt · Last modified: 2024/02/18 02:42 by rodolico