12-13-2012
Cant able to delete file named '\'
Hi folks
Please help to delete the file
-rw-r--r-- 1 sri sri 157 Dec 13 04:42 \
here unexpectedly "\" is created.
if am deleting using
> rm \ --i cant able to delete by using the command
******* here is the output i got ****
sri:> cat \
>
please help me how to delete
Many thanks
---------- Post updated at 05:01 AM ---------- Previous update was at 04:58 AM ----------
thanks i got the solution
> rm '\'
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been trying in vain to delete a file that I accidentally created. The name of the file is -e
of course, everything I attempt to do with the rm command (rm -i * for example) comes back with:
rm: illegal option -- e
usage: rm file ...
Any suggestions on what I can do to remove this... (3 Replies)
Discussion started by: steelrose
3 Replies
2. UNIX for Dummies Questions & Answers
I want to copy the contents of a named pipe to a file. I have tried using:
cat pipe.p >> transcript.log
but I have been unsuccessful, any ideas? (4 Replies)
Discussion started by: carl_vieyra
4 Replies
3. Red Hat
When i 'ls' the bin folder, there was "~" tilde in the list.
How to delete this safely as this symbol represents home folder.
Kindly help. (1 Reply)
Discussion started by: frozensmilz
1 Replies
4. Shell Programming and Scripting
I would like to pipe (redirect ? - what is the right term?) the output of my script to a file named with the current date.
If I run this at a command prompt:
date +'%Y%m%d"
...it returns "20110429"
OK, that's good... so I try:
./script.sh > "'date +%Y%m%d'.csv"
I get a file... (1 Reply)
Discussion started by: landog
1 Replies
5. Shell Programming and Scripting
How do you delete a file named "\"....
please help as i am unable to delete it..
Thanks & Regards
Harish (3 Replies)
Discussion started by: Harish369
3 Replies
6. Shell Programming and Scripting
I have a ksh93 script I use that processes a file list in the order that they exist in the list. I would like to speed up processing of the list by having multiple processes handle it at once. I was thinking that perhaps a good way to handle this would be to write the list to a named pipe and some... (4 Replies)
Discussion started by: benalt
4 Replies
7. Shell Programming and Scripting
Hi, There is a file by name '*' in a hp-ux box. How can i delete the same?
-rw-r--r-- 1 wleadm dba 1531 Jul 24 08:49 *
need to delete this file named * without deleting any other file. Please help. (9 Replies)
Discussion started by: sam_bd
9 Replies
8. Solaris
I accidentally saved a txt file in vi with the name ":q!".
no amount of regex tomfoolery I can think of will allow me to remove the file.
anyone got any ideas? (4 Replies)
Discussion started by: os2mac
4 Replies
9. Shell Programming and Scripting
Hi ALL,
How can I test a given file name exists and if it is a named pipe file in shell script ?
Thanks............ (2 Replies)
Discussion started by: mycode.in
2 Replies
10. Shell Programming and Scripting
Hi,
I have a script doing backup to synology server, the script create new folder each day with the date as being folder name i.e. 2018-07-30. Just before creating the new folder I want the script to find the oldest folder from the list and delete it including its content.
for example... (3 Replies)
Discussion started by: humble_learner
3 Replies
LEARN ABOUT V7
asadmin-delete-domain
asadmin-delete-domain(1AS) User Commands asadmin-delete-domain(1AS)
NAME
asadmin-delete-domain, delete-domain - deletes the givendomain
SYNOPSIS
delete-domain [--terse=false] [--echo=false] [--domaindir install_dir/domains] domain_name
delete-domain deletes the specified domain. The domain must already exist and must be stopped. This command is supported in local mode
only.
OPTIONS
--domaindir directory where the domain is to be deleted. If specified, path must be accessible in the filesystem. If not speci-
fied, the domain in the default install_dir/domains directory is deleted.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
OPERANDS
domain_name name of the domain. Must be a unique name.
Example 1: Using delete-domain
asadmin> delete-domain sampleDomain
deleted domain sampleDomain successfully
Where: the sampleDomain domain is deleted.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-domain(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS), asadmin-list-domains(1AS)
J2EE 1.4 SDK March 2004 asadmin-delete-domain(1AS)