The Following User Says Thank You to hathoda For This Useful Post: | ||
|
2012-01-16
, 14:29
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1073
|
my script look like this
#!/bin/sh
#(cd /home/user/MyDocs/test && rm -rf *)
|
2012-01-16
, 15:59
|
Posts: 54 |
Thanked: 14 times |
Joined on Oct 2010
|
#1074
|
Resolution:
Remove the # from 2nd line (but keep it at 1st line!).
Reason: The # introduces a comment which goes until end of line.
On 1st line the #! character sequence is also a comment but has special meaning known as shebang.
Tell me if it works now.
|
2012-01-21
, 00:32
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1075
|
|
2012-01-22
, 23:35
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1076
|
The Following 5 Users Say Thank You to yablacky For This Useful Post: | ||
|
2012-01-23
, 00:01
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1077
|
|
2012-01-23
, 06:45
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#1078
|
The Following User Says Thank You to nicholes For This Useful Post: | ||
|
2012-01-23
, 06:51
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#1079
|
|
2012-01-23
, 09:20
|
Posts: 155 |
Thanked: 315 times |
Joined on Jun 2010
@ DE
|
#1080
|
But it not delete anything and when I put this code in xterminal deleted all the stuff
cd /home/user/MyDocs/test && rm -rf *
my script look like this
#!/bin/sh
#(cd /home/user/MyDocs/test && rm -rf *)
i am using smscon 0-7-2 and editor is 0-7-4