Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
TypeScript
2021-11-03 17:58:09
ansible hosts file update
--- - name: host file update - Local DNS setup across all the servers hosts: multi gather_facts: yes tasks: - name: Update the /etc/hosts file with node name tags: etchostsupdate become: yes become_user: root lin...
Add solution
Shell/Bash
2021-08-31 14:27:02
how to change hostname in ubuntu
#1- Delete the old name and setup new name sudo hostnamectl set-hostname newHostname #2- Edit the /etc/hosts file: sudo nano /etc/hosts #3- Reboot the system sudo reboot #4- To check the new hostname hostnamectl
Add solution
Shell/Bash
2021-08-29 08:15:02
rename computer ubuntu 20.04
#1- Delete the old name and setup new name sudo hostnamectl set-hostname newHostname #2- Edit the /etc/hosts file: sudo nano /etc/hosts #3- Reboot the system sudo reboot #4- To check the new hostname hostnamectl
Add solution
Shell/Bash
2021-08-27 16:21:01
change hostname ubuntu 20.04
#1- Delete the old name and setup new name sudo hostnamectl set-hostname newHostname #2- Edit the /etc/hosts file: sudo nano /etc/hosts #3- Reboot the system sudo reboot #4- To check the new hostname hostnamectl
Add solution
Shell/Bash
2021-08-26 22:55:02
linux change hostname
#1- Delete the old name and setup new name sudo hostnamectl set-hostname newHostname #2- Edit the /etc/hosts file: sudo nano /etc/hosts #3- Reboot the system sudo reboot #4- To check the new hostname hostnamectl
Add solution
Best helpers
daily
weekly
monthly
for 3 months
Stobor
+5
Tilak De
+5
Vishnu Nair
+5
Thiagoh
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.