This is definitely not a homework question :-)
This was asked to me in an interview this weekend.
I was really not sure, if this is going to log me out.
I tried searching the internet for any answer. Also, I was thinking of trying it on a non-production machine. However, I first wanted to have a back-up plan of how I can do damage control, incase the .profile throws me out every time I login.
I think I have the answer now.
Let me try this and find it out for the group.
Thanks for the quick reply though.
---------- Post updated at 03:01 PM ---------- Previous update was at 02:11 PM ----------
I have tried editing the .profile to have only the exit command.
Now the server is not allowing me to login
Not sure, how I can fix this.