LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-01-2012, 09:01 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Random \ In Home Dir - How To Remove?


Can anyone explain what the '\' is in the 'ls -l' output? This is a new database server and I can't seem to remove or rename this. Anyone know how I can remove the following?

Code:
[oracle@zombie ~]$ ls -la
total 28
drwx------  2 oracle oinstall 4096 Aug  1 21:52 .
drwxr-xr-x. 3 root   root     4096 Jul 26 14:20 ..
-rw-r--r--  1 oracle oinstall  401 Jul 27 10:17 \
-rw-------  1 oracle oinstall 2044 Aug  1 21:53 .bash_history
-rw-r--r--  1 oracle oinstall   18 Apr 23 06:53 .bash_logout
-rw-r--r--  1 oracle oinstall  392 Jul 31 13:33 .bash_profile
-rw-r--r--  1 oracle oinstall  124 Apr 23 06:53 .bashrc
 
Old 08-01-2012, 09:04 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Code:
 rm '\'
 
Old 08-01-2012, 09:08 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Try sudo rm \\. Since the backslash is a escape character, you need to double it in the command line. Alternatively, open a file manager as "root" or "oracle," highlight the file and press "shift-del" (or just "del," if you want it in the "trash" directory).
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find .ssh dir in home dir bobby953 Linux - Newbie 5 03-09-2009 04:00 AM
Removing a Specific Dir From All /home Dir carlosinfl Linux - General 4 06-09-2008 01:08 PM
Remove Certain Files/Dir from Large Dir thomas.beaver Linux - Newbie 2 01-27-2008 08:47 AM
logoff script remove home DIR & user profile sportivo888 Linux - Newbie 3 12-09-2007 03:30 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 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