Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-11-2005, 12:22 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Rep:
|
newbie needs a helping hand
hello everyone. i'm a total newbie to the linux world, and after searching the forums, i cannot seem to find an answer to my question. i installed fedora core 3 last night and everything went smoothly. but after playing around with the terminal windows (or command prompt) it appears that i messed it up. i'm not sure what i did but now when i try use the terminal, it opens for a split second and then closes.
Q. how can i uninstall/reinstall/repair the terminal without reloading my system.
|
|
|
01-11-2005, 01:10 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832
Rep:
|
Restart box->login as root->ctrl+alt+F1->updatedb
wait untilll it finishes
$reboot
|
|
|
01-11-2005, 01:19 PM
|
#3
|
Member
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717
Rep:
|
Ok, since I don't know what terminal you were using I'll use another example that may help you.
I'll use firefox as an example. Lets say you have firefox running perfect, and then you did something like add an extension that totally messed it up. Well since applications use directories or config file in your home directory to store your prefrences you can fix it by just removing your programs config directory and starting the application again.
Lets say firefox is installed to /home/username/programs/firefox
the firefox application when started for the first time will create you a config directory here: /home/username/.firefox
Notice the . at the begaining of the directory name, this means it is a hidden directory.
If you do a ls -al in your home dir you will see many of these tpes of directories. Find the one with the name of the terminal applcation you used and remove the directory. Then start it back up and it should be set back to default settings.
Change to your home directory:
cd
Find the applications config directory for your prefrences:
ls -al
remove the directory:
rm -rf .firefox
start the program back up:
/home/username/programs/firefox/firefox
This is just and example, the application name will be different and you will need to locate YOUR settings directory for that terminal application.
|
|
|
01-11-2005, 01:38 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832
Rep:
|
Re: newbie needs a helping hand
Quote:
[i]
Q. how can i uninstall/reinstall/repair the terminal without reloading my system. [/B]
|
I do not understand how exactly playing with Firefox will help him repair the terminal
He can always use initial linux terminal using ctrl+alt+F1
Last edited by SlackerLX; 01-11-2005 at 01:39 PM.
|
|
|
01-11-2005, 02:04 PM
|
#5
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
Re: Re: newbie needs a helping hand
Quote:
Originally posted by SlackerLX
I do not understand how exactly playing with Firefox will help him repair the terminal
He can always use initial linux terminal using ctrl+alt+F1
|
I think you may have missed this line SlackerLX
Quote:
This is just and example, the application name will be different and you will need to locate YOUR settings directory for that terminal application.
|
Though you are, of course, correct, if he boots and the system goes straight into a graphical login, he wouldn't necessarily see the initial linux login screen (I don't, but that's because I've set it like that), plus he may not understand the ins and outs of CLI, so at least the example of where satman1 may find the config files is probably a better place to start.
Or he might just say "what the hell" and re-install (tried and tested newbie or windows drone "cure all").
No offence intended !
regards
John
|
|
|
01-11-2005, 03:20 PM
|
#6
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
i do have somewhat of an understanding of CLI.
the initial linux terminal using ctrl+alt+F1 did not solve the problem.
at the GUI logon screen if i login as root, the command prompt works fine but if i login to my user, the command prompt doesn't work.
can i delete my user account and recreate it?
|
|
|
01-11-2005, 03:29 PM
|
#7
|
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832
Rep:
|
$removeuser
Removes a user from a Database group
|
|
|
01-11-2005, 04:08 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
figured it out.
[root@localhost]# deluser -r {name}
then recreated account.
|
|
|
All times are GMT -5. The time now is 12:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|