I'm sorry, of course should I get you all every info I have..
Backstory: In the FTP-Server (Rumpus) you can use 'Event Notice' that triggers when someone downloads or uploads some files.
And one thing is to use Shell Commands like this (this put the file in a folder that is named after an variable and put some variables in an xml-file in the same folder);
This works perfect, but is somehow a bit difficult to overlook and the application don't like this amount of code (to many characters). And I get some input from a friend to use the "$example" to get some better code;
But this don't work, and it is possible like that Neo is saying that "outputfile = '/<HOMEPATH ANONYMOUS>/<FORMVAR kund>/<FILENAME>.xml'" don't work inside applications (in MacOS X).
So my question this time is:
Is there some other way to solve this? It feels like the app just use direct commands (like the first example).
Thanks Neo for the info, and sorry that I missed all extra info..
Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
I have two text files, each of then only containing ONE line and NO carraige return or white space at the end...how do I echo both of these text files to the screen without putting an extra line? I want to do this from the command line.
file1.txt:
this is file1.txt 1
file2.txt:
this is... (4 Replies)
Hello, this is my first post and question. I have search before for this problem but didn't find anything similar.
My case: I have a string inside the variable string1 like this:
string1="lala lele lili lolo lulu"
When I do echo of it, it appears like this:
echo $string1
lala lele lili... (8 Replies)
for i in `cat /export/home/afahmed/Arrvial_time.txt`
do
echo $i
echo $i | awk '$3 < $D { print $4 }' >> dynamic_DF.txt;
done
When i echo, its echo as
Nov
15
02:24
/export/home/pp_adm/inbound//wwallet_20111115.txt where i expect it to be Nov 15 02:24... (7 Replies)
Hello
i tried many times echo $variables into text file with no success
for example:
echo "#!/bin/sh
BBHTAG=RFOCLT_check # What we put in bb-hosts to trigger this test
COLUMN=RFOCLT # Name of the column, often same as tag in bb-hosts
$BBHOME/bin/bbhostgrep $BBHTAG | while read... (5 Replies)
Hi all, I am trying to create a script to read my Windows UUIDs and create mounts in fstab. I know there are different and maybe even better ways to mount Windows partitions at boot time, but I always manually create them in fstab successfully. I do a clean install of Ubuntu often and would like to... (2 Replies)
so...
Lets assume I have a text file.
The text file contains multiple "#" symbols.
I want to replace all thos "#"s with a STRING using DOS/Batch
I want to add a certain TEXT to the end of each line.
How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
$cat FILE.txt
$PATH1/file1.txt
$PATH2/file2.txt
where$PATH 1 = /root/FILE_DR/file1.txt
$PATH 2 = /root/FILE_DR/file2.txt
for I in `cat FILE.txt`
do
v=`echo $I`
echo $v
if
then
rm $v (5 Replies)
HI
I have and echo command which works perfectly in the shell but when i execute in the script it gives me an error code
query is as below
QUERY=`echo "Select Severity,Dupl_count,Creation_Time,Last_Received,Node_Name,Node_Name,Object,Message_Group,Message_Text,Last_Annotation from " \
... (2 Replies)
Hi dears
i use bash shell
i have INPUT.txt
like this
number of columns different in one
some row have 12 , some 11 columns
see last column
INPUT.txt
CodeGender Age Grade Dialect Session Sentence Start End Length Phonemic Phonetic
63 M 27 BS/BA TEHRANI 3 4 298320 310050... (2 Replies)