Changing computer name/hostname in Linux

Changing computer name/hostname in Linux

This is simple in Linux. Say your old name is oldname and you want to change it to newname

1. Goto /etc/hostname and change the name to newname
2. Go to /etc/hosts and update the name from oldname to newname
3. restart your machine
D O N E

See how you would solve these known algorithm problems

Get maximum occurring character

Implementing tokenizer and adding tokens to the linked list

testing k complementary pairs algorithm with junit

find longest word in the sentence

Find the first occurence of number in the sorted array

Kadane’s algorithm in C – Dynamic Programming

binary tree problems with solution

Flatten nested javascript array

Find longest palindrom from sequence of characters

Finding missing numbers from billion sequential number list file

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*