Hello EveryOne,
currently am exploring the default Command Lines of FreeBSD 14.0-RELEASE-p2
From POSIX XCU standard, there is 160 commands
Reference :
Based on test script posix, FreeBSD 14.0-RELEASE-p2 having 134 commands
./posix | wc -l
134
Commands in /bin /sbin /usr/bin /usr/sbin : 976 Commands
pkg based 3rd party commands are dependeds upon user needs.
so 976 commands is total commands in default FreeBSD Base System?
there is /rescue commands - am not counted
Nice to see removal of GPLinBase, Great work.
Also among that commands,
POSIX standard - 134
Data Storage & File System - zfs, zpool, ...
Virtualization - bhyve, jail, ...
Networking - ifconfig, dhclient, ping, ...
Programming - cc, ...
Scripting - sh, csh, tcsh,
...
have any one tried to categorize those default commands ?
Thanks a lot in Advance
currently am exploring the default Command Lines of FreeBSD 14.0-RELEASE-p2
From POSIX XCU standard, there is 160 commands
Reference :
List of POSIX commands - Wikipedia
en.wikipedia.org
Based on test script posix, FreeBSD 14.0-RELEASE-p2 having 134 commands
./posix | wc -l
134
sh:
#!/bin/sh
xcu="
admin
alias
ar
asa
at
awk
basename
batch
bc
bg
c99
cal
cat
cd
cflow
chgrp
chmod
chown
cksum
cmp
comm
command
compress
cp
crontab
csplit
ctags
cut
cxref
date
dd
delta
df
diff
dirname
du
echo
ed
env
ex
expand
expr
false
fc
fg
file
find
fold
fort77
fuser
gencat
get
getconf
getopts
grep
hash
head
iconv
id
ipcrm
ipcs
jobs
join
kill
lex
link
ln
locale
localedef
logger
logname
lp
ls
m4
mailx
make
man
mesg
mkdir
mkfifo
more
mv
newgrp
nice
nl
nm
nohup
od
paste
patch
pathchk
pax
pr
printf
prs
ps
pwd
qalter
qdel
qhold
qmove
qmsg
qrerun
qrls
qselect
qsig
qstat
qsub
read
renice
rm
rmdel
rmdir
sact
sccs
sed
sh
sleep
sort
split
strings
strip
stty
tabs
tail
talk
tee
test
time
touch
tput
tr
true
tsort
tty
type
ulimit
umask
unalias
uname
uncompress
unexpand
unget
uniq
unlink
uucp
uudecode
uuencode
uustat
uux
val
vi
wait
wc
what
who
write
xargs
yacc
zcat
"
bsd=`ls /bin /sbin /usr/bin /usr/sbin`
for i in $xcu
do
for j in $bsd
do
if [ $j = $i ]
then
echo $i
fi
done
done
Commands in /bin /sbin /usr/bin /usr/sbin : 976 Commands
root@m:/home/m # ls /bin /sbin /usr/bin /usr/sbin | wc -l
976
root@m:/home/m #
pkg based 3rd party commands are dependeds upon user needs.
so 976 commands is total commands in default FreeBSD Base System?
there is /rescue commands - am not counted
Nice to see removal of GPLinBase, Great work.
Also among that commands,
POSIX standard - 134
Data Storage & File System - zfs, zpool, ...
Virtualization - bhyve, jail, ...
Networking - ifconfig, dhclient, ping, ...
Programming - cc, ...
Scripting - sh, csh, tcsh,
...
have any one tried to categorize those default commands ?
Thanks a lot in Advance