Feb 2, 2003 #1 Tack24 Programmer Oct 6, 2002 64 US Hello, i was wondering which directory would i go into , to change the Host name of my machine ? an also i try doing dir, But says unkown command how would i bring up the directory Thanks in advance
Hello, i was wondering which directory would i go into , to change the Host name of my machine ? an also i try doing dir, But says unkown command how would i bring up the directory Thanks in advance
Feb 2, 2003 1 #2 rosenk Programmer Jan 16, 2003 403 In FreeBSD you usually configure your hostname in /etc/rc.conf -- it should have a line like: hostname="myhost.mydomain.org" Changing this will change the hostname on the next reboot. (In the meantime you can, as root, run [tt]hostname newname.mydomain.org[/tt]) To get a list of files in the current directory, the command is [tt]ls[/tt] Upvote 0 Downvote
In FreeBSD you usually configure your hostname in /etc/rc.conf -- it should have a line like: hostname="myhost.mydomain.org" Changing this will change the hostname on the next reboot. (In the meantime you can, as root, run [tt]hostname newname.mydomain.org[/tt]) To get a list of files in the current directory, the command is [tt]ls[/tt]