Good Morning,
I am attempting to set some scripts up that when double clicked will open an xterm windows and echo to the user steps on what they need to input. The first one I am attempting is to change the computer name. Can someone help me out here? I think I just need a push in the general direction.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Scripts to Install programs
- ruwolf
- Posts: 657
- Joined: 2008-02-18 05:04
- Location: Banovce nad Bebravou
- Has thanked: 45 times
- Been thanked: 30 times
Re: Scripts to Install programs
By BASH (or DASH) you can (in terminal emulator) echo messages, read input from user and execute commands, too.
But only root can change host name.
But only root can change host name.
-
- df -h | grep > 20TiB
- Posts: 1420
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: Scripts to Install programs
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: Scripts to Install programs
To change the computer name (hostname) easily, you can use hostnamectl.
Or you do this "by hand" by (stream) editing /etc/hostname, /etc/mailname (if you run a mail server), and /etc/hosts (the entry for 127.0.1.1).
Or you do this "by hand" by (stream) editing /etc/hostname, /etc/mailname (if you run a mail server), and /etc/hosts (the entry for 127.0.1.1).