rahulraghu94 / rShell

Attempts to implement a shell
1 stars 0 forks source link

Computer name is set to natasha in code #1

Closed KarthikNayak closed 8 years ago

rahulraghu94 commented 8 years ago

Wow, i had forgotten about this! Will fix :) Although i remember it priniting random hex values when i tried to set it as per user wishes

KarthikNayak commented 8 years ago

could you do cat /etc/hostname and let me know?

niteshjain commented 8 years ago

Wouldn't it be better to use gethostname() ?

KarthikNayak commented 8 years ago

@niteshjain That's definitely a better way to go ahead with this :+1:

rahulraghu94 commented 8 years ago

Ah alright, will do it!

rahulraghu94 commented 8 years ago

Prints correct host names now. Thanks for reintroducing me to this little project and for the help :D