<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Delete Folder without name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754265#M497101</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a couple of month ago I created one folder without name (or renamed it?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Big question: How could I rename or delete this folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name of “folder without name” seems to be a backslash (BS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2015 13:33:41 GMT</pubDate>
    <dc:creator>Mat_Name</dc:creator>
    <dc:date>2015-06-11T13:33:41Z</dc:date>
    <item>
      <title>Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754265#M497101</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a couple of month ago I created one folder without name (or renamed it?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Big question: How could I rename or delete this folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name of “folder without name” seems to be a backslash (BS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2015 13:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754265#M497101</guid>
      <dc:creator>Mat_Name</dc:creator>
      <dc:date>2015-06-11T13:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754362#M497102</link>
      <description>&lt;P&gt;&amp;gt; [...] folder without name [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Name of "folder without name" seems to be a backslash (BS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Make up your mind?&amp;nbsp; If you can't decide whether it has a name or not,&lt;BR /&gt;then you might show an actual "ls" command with its actual output, so&lt;BR /&gt;that a reader could decide for himself.&amp;nbsp; Some other basic information&lt;BR /&gt;might also be helpful. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uname -a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If the name really is "\", then consider the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pro3$ ls -l&lt;BR /&gt;pro3$ mkdir \\&lt;BR /&gt;pro3$ ls -l&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-xr-x&amp;nbsp; 2 sms&amp;nbsp; staff&amp;nbsp; 68 Jun 11 13:05 \&lt;BR /&gt;pro3$ rmdir \\&lt;BR /&gt;pro3$ ls -l&lt;BR /&gt;pro3$&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2015 18:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754362#M497102</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-11T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754439#M497103</link>
      <description>&lt;P&gt;The folder (ie, directory) probably has one or more control characters in the name. You can use the &lt;STRONG&gt;-b&lt;/STRONG&gt; option for ls to reveal the invisible characters in the name, or use &lt;STRONG&gt;xd&lt;/STRONG&gt; to display the hex codes for each character:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# mkdir "\^G ab"

# ll -d *ab
drwxr-xr-x 2 root sys 96 Jun 11 18:51 \ ab

# ll -bd *ab
drwxr-xr-x 2 root sys 96 Jun 11 18:51 \\007 ab

# ll -d *ab | xd -xc
0000000 6472 7778 722d 7872 2d78 2020 2032 2072
         d r  w x  r -  x r  - x         2    r
0000010 6f6f 7420 2020 2020 2020 7379 7320 2020
         o o  t s  y s
0000020 2020 2020 2020 2020 2020 3936 204a 756e
                                  9 6    J  u n
0000030 2031 3120 3138 3a35 3120 5c07 2061 620a
           1  1    1 8  : 5  1   \ 07  a b \n
0000040&lt;/PRE&gt;&lt;P&gt;I made a directory with a backslash, then CTRL-G (the bell character), a space and then &lt;STRONG&gt;ab&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The CTRL-G is hex 07 and invisible when displayed normally. &lt;STRONG&gt;ll -db&lt;/STRONG&gt; shows the non-printing character.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xd&lt;/STRONG&gt; shows the invisible spaces as hex 20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You can now remove the directory by putting the filename in quotes and using the CTRL key to match the special character(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 01:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754439#M497103</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-12T01:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754542#M497104</link>
      <description>&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this commands (ll -db is not working on my HP UX)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ll -b

drwxrwxr-x 3 root sys 96 Apr 30 19:38 \010



# ll | xd -xc

0000000  746f  7461  6c20  3538  320a  6472  7778  7277
         t  o  t  a  l     5  8  2 \n  d  r  w  x  r  w
0000010  7872  2d78  2020  2033  2072  6f6f  7420  2020
         x  r  -  x           3     r  o  o  t
0000020  2020  2020  7379  7320  2020  2020  2020  2020
                     s  y  s
0000030  2020  2020  3936  2041  7072  2033  3020  3139
                     9  6     A  p  r     3  0     1  9
0000040  3a33  3820  080a  2d72  2d2d  722d  2d72  2d2d
         :  3  8    \b \n  -  r  -  -  r  -  -  r  -  -

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my folder without name is "\010" (ll -b) or "\b" (ll | xd -xc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could I switch to this folder and remove it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 11:00:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754542#M497104</guid>
      <dc:creator>Mat_Name</dc:creator>
      <dc:date>2015-06-12T11:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754555#M497105</link>
      <description>&lt;P&gt;&amp;gt; How could I switch to this folder and remove it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Which do you want to do, "switch to" it or "remove" it?&amp;nbsp; To remove&lt;BR /&gt;it, the easy way is probably to use a command like:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -i *&lt;BR /&gt;and say "yes" when the invisible name comes up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; I made a directory with a backslash, then CTRL-G (the bell character), [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In this case, \010 would be Ctrl/H, but that's a backspace, and with&lt;BR /&gt;typical stty settings, this may be interpreted as the "erase" character,&lt;BR /&gt;making it harder to use this trick. One could use something like:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty erase ^G&lt;BR /&gt;to make Ctrl/H less special, then:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rmdir ^H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [really: rmdir Ctrl/H]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Everything's complicated.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 12:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754555#M497105</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-12T12:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754567#M497106</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;ll -db is not working on my HP UX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This isn't very helpful. Stating that something is not working is missing a very important part:&lt;/P&gt;&lt;P&gt;What is the exact command you used and what was displayed as a result? The &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;-b&lt;/STRONG&gt;&lt;/FONT&gt; option is working based on your later posting, so I assume that the &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;-d&lt;/STRONG&gt;&lt;/FONT&gt; option is causing some problem. Did your machine crash or did the shell abort, or did you get a usage message like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ll -z
/usr/bin/ll: illegal option -- z
usage: ls -1ARadeCxmnlogrtucpFLbqisf [files]&lt;/PRE&gt;&lt;P&gt;As you can see in this usage message (and more importantly, the man page for &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;ll&lt;/STRONG&gt;&lt;/FONT&gt;), both &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;-d&lt;/STRONG&gt;&lt;/FONT&gt; and &lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;-b&lt;/FONT&gt;&lt;/STRONG&gt; are valid.&lt;/P&gt;&lt;P&gt;I ran the &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;ll -db&lt;/STRONG&gt;&lt;/FONT&gt; filename command on a 10.20 version of HP-UX and it worked correctly. Based on the man page as well as empirically testing every version of HP-UX from 10.20 through 11.31, &lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;ll -d, ll -d -b,&lt;/FONT&gt;&lt;/STRONG&gt; and &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;ll -bd&lt;/STRONG&gt;&lt;/FONT&gt; will always work correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is one other possibility: you are not running the &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;ll&lt;/STRONG&gt; &lt;/FONT&gt;command, but instead are using an alias. Use this command to see what &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;ll&lt;/STRONG&gt; &lt;/FONT&gt;actually does:&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt; type ll&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as your directory, you can't change (&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;cd&lt;/STRONG&gt;&lt;/FONT&gt;) into a directory and then remove it. The directory must not be open (busy) when you remove it. So from the &lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;xd&lt;/FONT&gt; &lt;/STRONG&gt;listing, you have nothing but the backspace character (&lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;\010&lt;/FONT&gt;&lt;/STRONG&gt; in octal, &lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;08&lt;/FONT&gt; &lt;/STRONG&gt;in hex) so you can remove the directory like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;# rmdir "\010"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 12:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754567#M497106</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-12T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754569#M497107</link>
      <description>&lt;P&gt;&amp;gt; [...] you have nothing but the backspace character (\010 in octal, 08&lt;BR /&gt;&amp;gt; in hex) so you can remove the directory like this:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; # rmdir "\010"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Think again?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754569#M497107</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-12T13:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754570#M497108</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -i *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Oops.&amp;nbsp; You need "-r" for a directory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -ir *&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754570#M497108</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-12T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754593#M497109</link>
      <description>&lt;P&gt;Oops, &lt;STRONG&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;rmdir "\010"&lt;/FONT&gt;&lt;/STRONG&gt; does not work. I was expecting the shell to expand the backspace character.&lt;/P&gt;&lt;P&gt;Since we know that the directory is exactly 1 backspace character, just use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;# rmdir \&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;bs&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where &amp;lt;bs&amp;gt; is the backspace character. The &lt;STRONG&gt;\&lt;/STRONG&gt; escapes the special meaning of the next character (backspace).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt; rm -ir *&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't ever use &lt;STRONG&gt;rm -r&lt;/STRONG&gt; unless you know exactly what will be removed. The &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;-i&lt;/STRONG&gt;&lt;/FONT&gt; option will start asking you about each file and directory and if you are currently in a big directory like&lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt; /var&lt;/STRONG&gt; &lt;/FONT&gt;or the most dangerous place to be, the &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt; &lt;/FONT&gt;directory, the results could be catastrophic if you answer y at the wrong time.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754593#M497109</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-12T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754640#M497110</link>
      <description>&lt;P&gt;&amp;gt; # rmdir \&amp;lt;bs&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; where &amp;lt;bs&amp;gt; is the backspace character. The \ escapes the special meaning&lt;BR /&gt;&amp;gt; of the next character (backspace).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Think again?&amp;nbsp; If "stty -a" says "erase = ^H", then a backspace will&lt;BR /&gt;erase the previous character, which can easily be a backslash.&amp;nbsp; So long&lt;BR /&gt;as the terminal interface treats certain a character as special, the&lt;BR /&gt;shell won't see it.&amp;nbsp; Of course, if your erase character is something&lt;BR /&gt;else (like, say, "^?" = Delete), and "^H" = backspace is not used for&lt;BR /&gt;some other purpose, then you could be ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In many cases, actually trying this stuff before posting it can be&lt;BR /&gt;valuable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Everything's complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Still true.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 17:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754640#M497110</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-12T17:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754651#M497111</link>
      <description>&lt;P&gt;I did test the recommendation.&lt;/P&gt;&lt;P&gt;Here's the screen captures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# stty
speed 38400 baud; -parity hupcl
intr = ^C; erase = ^H; kill = ^U;
swtch &amp;lt;undef&amp;gt;;
susp = ^Z; dsusp = ^Y;
brkint -inpck icrnl ixoff onlcr tab3
-iexten echo -echoe echok
-echoctl -echoke

# mkdir ^H
  (this was: mkdir \&amp;lt;bs&amp;gt;, the shell shows ^H)

# ll -db ?
drwxr-xr-x 2 root sys 96 Jun 12 13:24 \010

# rmdir ?
# ll -db ?
? not found&lt;/PRE&gt;&lt;P&gt;This was repeated on 10.20, 11.00, 11.11, 11.23 and 11.31, PARISC and IA systems.&lt;/P&gt;&lt;P&gt;One could also just &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;rmdir -i ?&lt;/STRONG&gt;&lt;/FONT&gt; in case there are several one-character directories.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 17:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754651#M497111</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-12T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754819#M497112</link>
      <description>&lt;P&gt;&amp;gt; Think again? If "stty -a" says "erase = ^H", then a backspace will&lt;BR /&gt;&amp;gt; erase the previous character, which can easily be a backslash.&amp;nbsp; So long&lt;BR /&gt;&amp;gt; as the terminal interface treats certain a character as special, the&lt;BR /&gt;&amp;gt; shell won't see it. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I must have been thinking of VMS, where the terminal driver deals&lt;BR /&gt;with this stuff, not the command-line interpreter (shell analogue).&amp;nbsp; On&lt;BR /&gt;a UNIX(-like) OS, the shell apparently does all the work.&amp;nbsp; Which is the&lt;BR /&gt;crucial fact.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; # mkdir ^H&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp; (this was: mkdir \&amp;lt;bs&amp;gt;, the shell shows ^H)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Exactly.&amp;nbsp; The _shell_ shows "^H".&amp;nbsp; You're just using the wrong shell.&lt;BR /&gt;Around here, for example, "\&amp;lt;bs&amp;gt;" can look like yours or mine,&lt;BR /&gt;depending:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dyi# /sbin/sh&lt;BR /&gt;dyi# ^H&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; But:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dyi# /usr/local/bin/bash&lt;BR /&gt;dyi#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; This was repeated on [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yeah.&amp;nbsp;&amp;nbsp; I tried it here on AIX, GNU/Linux (Debian), HP-UX, Solaris,&lt;BR /&gt;and Tru64, and I got the (my) expected result everywhere, too, but I use&lt;BR /&gt;"bash" everywhere.&amp;nbsp; (On HP-UX, the root user uses it only when it's&lt;BR /&gt;available, of course.)&amp;nbsp; So, perhaps neither of us is a complete moron,&lt;BR /&gt;after all.&amp;nbsp; (Or perhaps both?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;gt; Everything's complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; That remains true, I claim.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For the record:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dyi# uname -a&lt;BR /&gt;HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2015 00:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754819#M497112</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2015-06-14T00:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754979#M497113</link>
      <description>&lt;P&gt;Thank you very much for your information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but I failed ;-(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# rm -i *&lt;/P&gt;&lt;P&gt;Didn’t work, backslash-folder didn’t appear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# rm -ir *&lt;/P&gt;&lt;P&gt;directory: ? (y/n) y&lt;/P&gt;&lt;P&gt;: ? (y/n) y&lt;/P&gt;&lt;P&gt;rm: directory not removed.&amp;nbsp; Directory not empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# rmdir -i ?&lt;/P&gt;&lt;P&gt;?: ? (y/n) y&lt;/P&gt;&lt;P&gt;rmdir: ?: No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# rmdir -i \^H&lt;/P&gt;&lt;P&gt;: ? (y/n) y&lt;/P&gt;&lt;P&gt;rmdir:: Directory not empty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(^H is my real backslash and not ^ and H)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;# ll -ld ?&lt;BR /&gt;Is working. Sorry, I forgot question mark.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6754979#M497113</guid>
      <dc:creator>Mat_Name</dc:creator>
      <dc:date>2015-06-15T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755057#M497114</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt;&amp;gt; # rmdir -i \^H&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt;&amp;gt; : ? (y/n) y&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt;&amp;gt; rmdir:: Directory not empty&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, there is something in the directory. rmdir just removes empty directories.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this should work OK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;# rm -ir \&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;bs&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where &amp;lt;bs&amp;gt; is the backspace character. It will appear as ^H which is the shell's way of displaying the backspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this still says directory not empty, let's see what is in that directory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;# ll -b \&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;bs&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may other directories or files with bad characters.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755057#M497114</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-15T10:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Folder without name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755082#M497115</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; The _shell_ shows "^H".&amp;nbsp; You're just using the wrong shell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, the vast majority of HP-UX systems run /sbin/sh as the root shell since this is the only functional shell in single user mode (archived libraries). If the root shell is changed to ksh, csh or BASH, the system will not have a usable shell in single user mode (a critical problem as single user mode usually means there is already a problem to solve). The rest of the users start with /usr/bin/sh (the POSIX shell, not Bourne), or may use chsh to change to /usr/bin/ksh. BASH is not part of the HP-UX distribution so it must be downloaded and installed -- assuming that data center policies allow open source tools like BASH. Where BASH is allowed, sysadmins will login as ordinary users with the BASH shell, then use sudo for root commands. Or they may simply run BASH after logging either with exec or as a child process. Supporting thousands of HP-UX servers in dozens of data centers, the standard tools (ie, POSIX shell, vi, etc) are always there. BASH has a number of useful features but availability to other data centers is not guarantied.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755082#M497115</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-06-15T10:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Delete directory with backspace in name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755210#M497116</link>
      <description>&lt;P&gt;&amp;gt;So this should work OK:&amp;nbsp; &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;rm -ir \&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;bs&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since this works, you could simply rename the directory:&lt;/P&gt;&lt;P&gt;# mv \&amp;lt;bs&amp;gt; better-name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in ksh and sh and vi, you can use control-V before the backspace.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2015 05:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delete-folder-without-name/m-p/6755210#M497116</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2015-07-16T05:07:55Z</dc:date>
    </item>
  </channel>
</rss>

