LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-15-2005, 06:00 PM   #1
slacker786
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.1
Posts: 2

Rep: Reputation: 0
Directory name is non-standard character


So here goes,

Slackware 10.1 on hd1 with three partitions:
/
/var
swap

Has worked fine.

I Installed another (hd2) that was my old XP hdd. It had two ntfs partitions when it was in use. I wanted to be able to view all the existing data on this drive. I slapped it in, did the mkdir and mounted it just fine.

But, there is a directory listed that has a name that I cant cd to. it is a square, I think hex value 0xDB. How can I get into this directory? Will I be able to view the second partition without losing the data on it? Do I need to know the old partition sizes and update it with fdisk?

A note: I am working only from the console.
 
Old 05-16-2005, 07:24 PM   #2
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
try
cd nameuptostrangechar*

That is, exchange strange char with a ?-mark or a *.
You could alsa use TAB to expand directory name.
 
Old 05-17-2005, 02:05 PM   #3
slacker786
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.1
Posts: 2

Original Poster
Rep: Reputation: 0
non-typable character

The problem is that the entire directory name is this one character. I'll try various cd's with ?'s though.
 
Old 05-17-2005, 05:54 PM   #4
Jaxån
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
Which shell do you use?
Could you send us what 'ls' produce?
The man page for ls givs this: Show us what 'ls -b' gives.
You could also try 'ls --quote-name --quoting-style=escape'
After reading man rm, try this: 'rm -i *'
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script: delete all directories named directory.# except directory.N brian0918 Programming 3 07-13-2005 06:54 PM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM
^M character david_wliu Linux - General 6 03-16-2003 11:16 PM
standard vs Expert install? Standard flubs up! Frost Linux - Software 1 03-27-2002 07:55 AM
Non-standard letters and space in directory structure over AppleShare? Dog and Pony Linux - Networking 0 02-11-2002 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:58 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
Open Source Consulting | Domain Registration