tags:

views:

79

answers:

2
A: 

How can you make the pipe a default text file, such that the first letter changes to d?

The first character of 'd' means that that entry is a directory - not a normal file.

Cody Caughlan
@Cody: You are right. I fixed that. Thank you for pointing that out!
Masi
+2  A: 

Unless there is some other complication that hasn't been mentioned, the easiest is to use the big hammer:

$ rm outside
$ touch outside

If there is a process currently using the file, you will need to kill the process first, then restart it so it uses the new file. Otherwise, the pipe will stay open but invisible until the process finally dies.

Shannon Nelson
Thank you for your answer!
Masi