LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-11-2005, 01:22 PM   #1
satman1
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-11-2005, 02:10 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Restart box->login as root->ctrl+alt+F1->updatedb
wait untilll it finishes
$reboot
 
Old 01-11-2005, 02:19 PM   #3
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
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.
 
Old 01-11-2005, 02:38 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
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 02:39 PM.
 
Old 01-11-2005, 03:04 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
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
 
Old 01-11-2005, 04:20 PM   #6
satman1
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 01-11-2005, 04:29 PM   #7
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
$removeuser
Removes a user from a Database group
 
Old 01-11-2005, 05:08 PM   #8
satman1
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
figured it out.

[root@localhost]# deluser -r {name}

then recreated account.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
helping with patitions tecknics Linux - Newbie 3 06-17-2004 06:03 PM
looking forward to asking/helping shizin Slackware 1 03-08-2003 10:06 AM
Helping using sed LinuxQuest01 Linux - General 4 02-12-2003 02:08 PM
Helping us Help you to help us chingasman Linux - General 1 12-31-2002 05:22 PM
Absolute Newbie - need a hand! jwilson Linux - Newbie 3 02-22-2001 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration