Page 1 of 1

GhostBSD command lines

Posted: Sun Sep 30, 2018 5:20 am
by Piriponzolo
Hi to everyone! I'm a novice and I would like to know what are the similar command lines of Ghost BSD alongside those of Ubuntu as it follows:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install
sudo apt-get remove
sudo apt-get purge
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get dist-upgrade
sudo rm -fr /tmp/*
apt-cache search

And, is there an easy handbook for starting to learn Ghost BSD? Thank you and have a nice day. Piriponzolo

Re: GhostBSD command lines  [SOLVED]

Posted: Mon Oct 01, 2018 11:47 am
by b6s6d6
Welcome to GhostBSD Piriponzolo!!
FreeBSD is a completely different system from Linux, so don't expect to find an equivalent command for every action you want to perform. Some things are pretty similar though:

sudo apt-get update -> sudo pkg update
sudo apt-get upgrade -> sudo pkg upgrade
sudo apt-get install -> sudo pkg install
sudo apt-get remove -> sudo pkg delete
sudo apt-get autoremove -> sudo pkg autoremove
sudo apt-get clean -> sudo pkg clean
apt-cache search -> sudo pkg search

To learn more about 'pkgng' I suggest these links:
https://www.freebsd.org/doc/handbook/pkgng-intro.html
https://www.freebsd.org/cgi/man.cgi?que ... ormat=html

If you want to know more about FreeBSD/TrueOS, the handbooks are a good read:
https://www.freebsd.org/doc/en_US.ISO88 ... /handbook/
https://www.trueos.org/handbook/trueos.html

Hope you enjoy using GhostBSD!

Re: GhostBSD command lines

Posted: Mon Oct 01, 2018 3:34 pm
by Piriponzolo
Thank you, very kind of you. Have a nice day! :)