Strange Characters in Filename


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Strange Characters in Filename
Prev   Next
# 1  
Old 03-06-2002
Strange Characters in Filename

Hi folks. None of the conventional methods are working for my dilemma:

I have a file in my root directory that has a name comprised of strange characters. When I do an ls, it just hangs at that file until I do a Cntrl-C.

rm ./filename
&
rm \filename
do not work. I am entering the filename by a copy and paste in the Solaris terminal window.

Is there a way to remove the file based on its inode number?
or is there another way?

thanks
-kristy
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

How can I keep certain characters from appearing in a filename?

hi i know this is irrelevant to the question above but i was wondering how to pt a restriction in the filename in linux. I want that it is impossible to add numbers into the filename, help will be rely great , thanx! This posting was initially given as a reply to an unrelated thread. It has been... (2 Replies)
Discussion started by: samirboss
2 Replies

2. Shell Programming and Scripting

Remove the last 9 characters of a filename

Hi All! Please can someone help, I have a dir with the following files: ~-rw-r--r-- 1 emmuser users 2087361 Oct 16 15:50 MPGGSN02_20131007234519_24291.20131007 -rw-r--r-- 1 emmuser users 2086837 Oct 16 15:50 MPGGSN02_20131007233529_24272.20131007 -rw-r--r-- 1 emmuser ... (7 Replies)
Discussion started by: fretagi
7 Replies

3. Programming

Strange characters in FORTRAN code output

Hi guys, After compiling a .f90 code and executing it, i get strange characters in the output file like : ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ Are these windows characters? how can i get rid of this? Much appreciated. Paul (1 Reply)
Discussion started by: Paul Moghadam
1 Replies

4. Hardware

Strange Characters from ILOM

Hello, I have an x86 server with an ILOM connection that produces strange characters when I perform a start /SP/console, see below: Oracle(R) Integrated Lights Out Manager Version 3.0.16.10.a r68533 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. -> start... (9 Replies)
Discussion started by: kerrygold
9 Replies

5. Shell Programming and Scripting

Filter last 2 characters of a filename

I have following script to 'archive' some logfiles: for APPHOME in `cat $HOME/archive/apps.cfg` do . $APPHOME/archive/parms.cfg LOGFILES=$(grep "^LOGFILE=" $APPHOME/archive/parms.cfg) for I in $LOGFILES do LOGPATH=$(echo $I |awk -F'=' '{... (2 Replies)
Discussion started by: oliware
2 Replies

6. Red Hat

Spanish Characters get converted in strange chrac

I am trying to sftp a textfile from windows to linux. The file includes some spanish characters. When I vi the file in LINUX, the special (spanish) characters get converted into some strange characters. anyone know how i can resolve this? for example México gets converted into México on LINUX. (0 Replies)
Discussion started by: mrx1350
0 Replies

7. Shell Programming and Scripting

Grep a file that may contain strange characters

Hello unix users :) I am trying to grep a string from a file that both the file and the string may have characters in them that are quite... strange, like würzburger. Well, bash reads this as W%C3%BCrzburger For example, if i do wget W%C3%BCrzburger the output is: --2012-01-08... (2 Replies)
Discussion started by: hakermania
2 Replies

8. Shell Programming and Scripting

awk filelist containing strange characters

I've written a script: find -depth | awk ‘ { if ( substr($1,length($0)-2,3) == “/1.” ) { print $1 } { system(“awk -f test1.awk “ $1 ) } } ‘ The idea is that it trundles through a large directory structure looking for files which are named '1.' and then... (3 Replies)
Discussion started by: nashcom
3 Replies

9. Shell Programming and Scripting

Strange Characters After Using Notepad

Hello all, I'm new to UNIX and new to this forum, so forgive my lack of knowledge. I'm new with editing in vi so I FTP scripts to a Windows machine and edit the script in notepad (when I need to do something quickly). Sometimes when I FTP the script back to the UNIX box, strange characters... (4 Replies)
Discussion started by: dgower2
4 Replies

10. Shell Programming and Scripting

Lines with strange characters and sed...

Dear All: I Have a bunch of files which I'd like to process with a shell script. The problem is that the files have strange characters in their headers, like �g�8@L-000-MSG2__-ABCD________-FIRA_____-000001___-200806181330-__ ��e� Data from BLABLABLA, Instrument: BLABLA, Date:... (4 Replies)
Discussion started by: luiscarvalheiro
4 Replies
Login or Register to Ask a Question
INTRO(3)						     Library Functions Manual							  INTRO(3)

NAME
intro - introduction to the Plan 9 devices DESCRIPTION
A Plan 9 device implements a file tree for client processes. A file name beginning with a pound sign, such as names the root of a file tree implemented by a particular kernel device driver identified by the character after the pound sign. Such names are usually bound to conventional locations in the name space. For example, after bind("#c", "/dev", MREPL) an ls(1) of /dev will list the files provided by the console device. A kernel device driver is a server in the sense of the Plan 9 File Protocol, 9P (see Section 5), but with the messages implemented by local rather than remote procedure calls. Also, several of the messages (Nop, Session, Flush, and Error) have no subroutine equivalents. When a system call is passed a file name beginning with it looks at the next character, and if that is a valid device character it performs an attach(5) on the corresponding device to get a channel representing the root of that device's file tree. If there are any characters after the device character but before the next or end of string, those characters are passed as parameter aname to the attach. For exam- ple, #Itcp identifies the implementation of the TCP protocol supplied by the IP device (see ip(3)). Each kernel device has a conventional place at which to be bound to the name space. The SYNOPSIS sections of the following pages includes a shell bind command to put the device in the conventional place. Most of these binds are done automatically by init(8). SEE ALSO
intro(5), intro(2) INTRO(3)