GhostBSD command lines

Post your general questions or comments about GhostBSD here!
Post Reply
User avatar
Piriponzolo
Posts: 3
Joined: Sun Sep 30, 2018 5:06 am

GhostBSD command lines

Post 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
User avatar
b6s6d6
Posts: 4
Joined: Mon May 28, 2018 10:36 pm
Contact:

Re: GhostBSD command lines

Post 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!
User avatar
Piriponzolo
Posts: 3
Joined: Sun Sep 30, 2018 5:06 am

Re: GhostBSD command lines

Post by Piriponzolo »

Thank you, very kind of you. Have a nice day! :)
Post Reply