LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-17-2006, 11:01 AM   #1
bambino59
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
can't remove dir ") and _REMOTE_USER_") from failed install


Sometime back, I had a failed install of phpmyadmin on a rh9 machine.
I just noticed that I have 2 strange directories in /home and I can't seem to open the dir's, delete them, or do anything with them.

The 2 dirs are:
/home/")
and
/home/_REMOTE_USER_")

I am generally always remote to my network when installing anything.

When I cd "), I get this prompt:
>
Cntrl C pulls me back out.
The same happens with both dirs as su and su -

Can anyone tell me something about these dirs???
Thanks
 
Old 10-17-2006, 11:14 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 67
The problem is that the shell interprets " as a special character. You can tell the shell to use a literal " by prefixing the character with a backslash \, like this:

Code:
$ cd /home/\"
A bracket is also a special character in the shell, so you should prefix a \ there too:

Code:
$ cd /home/\"\)
Another way to do the same thing is to single-quote the string. Note this is the ' character, not the backtick, `:

Code:
$ cd '/home/")'
The only thing you can't have inside a single-quoted string is a single quote.

For a full description of special characters and quoting I recommend you read the QUOTING section of the bash manual page.
 
Old 10-17-2006, 11:31 AM   #3
bambino59
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
strange dir's REMOVED - thanks

Thanks so much.....your suggestion worked perfectly.
It turned out as I suspected.....those dir's were
built by a failed install.

Thanks again for your assistance.
 
  


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
question about fc3 "install or remove packages" tool trempel Fedora 10 08-01-2005 06:10 AM
minimal install only /a dir. "cannot execute rc.S" egag Slackware 27 03-23-2005 12:38 PM
yast "Install and Remove Software" won't start? lnebrown SUSE / openSUSE 19 02-07-2005 09:26 AM
Kdevelop: Changing my programs default "make install" dir DeTHZiT Programming 0 09-26-2004 02:06 PM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:23 AM.

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
Open Source Consulting | Domain Registration