Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alex accidentally deletes his PATH variable.what are some of the problems he may soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value?
PATH is a variable that tells your shell which directories to search for your programs from your commands that you have typed in and if you delete it then you will have quite a headache..
Alex accidentally deletes his PATH variable.what are some of the problems he may soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value?
Hello,
My first thought is re-install. Save your data and re-install your system.
Alex accidentally deletes his PATH variable.what are some of the problems he may soon encounter and explain the reasons for these problems. How could he easily return PATH to its original value?
Weird homework question because you can't delete a variable; you can unset it and you can set it to a null value but you can't delete it.
While this is mildly entertaining it's not really
in the spirit of LQ to mock people asking for help...
Cheers,
Tink
Hello Tink,
I am sorry that you misunderstand my intention. I had no intention of mocking the person whom is seeking help here. I was helping as I would do if I would to come up with the same problem.
As the question was, it was a one time problem with, in my mind, the easiest solution is re-installing the system. I have done so many times when I think I missed something in my system. Searching for a solution is time consuming and re-install is easy and pretty much self-going.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Quote:
Originally Posted by Tinkster
While this is mildly entertaining it's not really
in the spirit of LQ to mock people asking for help...
Some thoughts on this.
This is clearly a homework question.
The OP did not even rephrase the question, it is copied verbatim from the text book.
The title of the thread is badly chosen, not related to the question.
The OP DEMANDS an answer: linux questions and ANSWERS PLEASE!
I think with all this shown disrespect for LQ and its members, the answer by leopoldb was midly entertaining and completely justified. Don't forget that the OP does not really have this problem, it is a text book question, and I doubt whether the OP has ever be close to a Linux machine.
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329
Rep:
Quote:
Originally Posted by jlinkels
Some thoughts on this.
This is clearly a homework question.
The OP did not even rephrase the question, it is copied verbatim from the text book.
The title of the thread is badly chosen, not related to the question.
The OP DEMANDS an answer: linux questions and ANSWERS PLEASE!
I think with all this shown disrespect for LQ and its members, the answer by leopoldb was midly entertaining and completely justified. Don't forget that the OP does not really have this problem, it is a text book question, and I doubt whether the OP has ever be close to a Linux machine.
Sorry for being pedantic
jlinkels
completely true.
and I believe this thread should be closed, and the OP warned about not posting homework questions - at least, without making its own studying first.
the answer by leopoldb was midly entertaining and completely justified.
Entertaining yes, completely justified no. While posts in this thread are read in context right now it might also be read later on by others and a novice might take that misinformation seriously. While all are responsible for their own actions that doesn't mean 'rm -f' and equivalent jokes do LQ or GNU/Linux users in general any good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.