GhostBSD command lines  [SOLVED]

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

GhostBSD command lines

Post by Piriponzolo » Sun Sep 30, 2018 5:20 am

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
Has thanked: 0
Been thanked: 3 times
Contact:

Re: GhostBSD command lines  [SOLVED]

Post by b6s6d6 » Mon Oct 01, 2018 11:47 am

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!
These users thanked the author b6s6d6 for the post (total 2):
ericbsd (Tue Oct 02, 2018 8:35 am) • jmp20 (Tue Oct 02, 2018 5:08 pm)
Rating: 100%

User avatar
Piriponzolo
Posts: 3
Joined: Sun Sep 30, 2018 5:06 am
Has thanked: 0
Been thanked: 0

Re: GhostBSD command lines

Post by Piriponzolo » Mon Oct 01, 2018 3:34 pm

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

Post Reply