9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
2. Shell Programming and Scripting
Trying to do the following
ssh root@192.168.0.111 'bash -s' <<ENDSSH
mkfifo a.pipe
gzip -c < a.pipe > aa.gzip &
ENDSSH
it does not seems to be able to send the gzip process to background. (3 Replies)
Discussion started by: acelau
3 Replies
3. Shell Programming and Scripting
Need a way to read a file in who every line is a path to a directory and make shortcut to that directory on a specific place.
Example:
line in the document
/media/gogo/6651-FEAB/Desktop/
/media/gogo/6651-FEAB/Desktop/alex/
/media/gogo/6651-FEAB/linux/ ... (3 Replies)
Discussion started by: gogok_bg
3 Replies
4. Shell Programming and Scripting
Hi, I have text file abc.txt. In this file, I have the following data.
Input:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith& Mrs Smith
Mr Smith &Mrs Smith
Output:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith&... (4 Replies)
Discussion started by: naveed
4 Replies
5. Shell Programming and Scripting
Hello All
I have a xml file with many sets of records
like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
also same file can be like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
<tag3>data2&data3</tag3>
Now i can grep & and replace with & for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies
6. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
7. UNIX for Dummies Questions & Answers
QUESTION #1:
I have this in my .bashrc file:
alias rm='rm -i'
Problem is, there are 3 files that I remove many times a day and would like this command to ignore these 3 files. In other words, prompt me on everything EXCEPT these 3 files.
Is this possible?
QUESTION #2:
Also in... (16 Replies)
Discussion started by: kthatch
16 Replies
8. Shell Programming and Scripting
I spent some time working this out, with a little help from various forums, and thought the community would like to know :
Here is how you can send an email from a single Unix command line :
/usr/bin/echo "Email text\nNew line\nAnother new line" >x | uuencode sourcefile.txt sourcefile.txt |... (3 Replies)
Discussion started by: haryadoon
3 Replies
9. UNIX for Dummies Questions & Answers
hi @all
question from an absolute beginner:
I want directory listings to be displayed with different colors...
what do I have to do and where can I find the settings?
thx (4 Replies)
Discussion started by: tk876
4 Replies