10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
2. Shell Programming and Scripting
Why does not work a cd in a shell schript file.
How do you get to run it?
I use these code:
#!/bin/sh
cd workspace
array=($(ls -d */))
echo ${array}
But it doesn't change to workspace
editby bakunin: please user CODE-tags as required by the rules. Thank you. (12 Replies)
Discussion started by: Linuxmann
12 Replies
3. Shell Programming and Scripting
I have to copy a particular file present in a main folder having part of the file-name present in many sub-folders to a new destination preserving the name of the source "part of the main folder" and previous file-name of the output file:
Example:
From /005_0/1000/005.xxx ->... (7 Replies)
Discussion started by: wappor
7 Replies
4. Shell Programming and Scripting
hye there...
i have a problem to copy file in specific folder
that will change the name according to
host,time(%m%s) and date(%Y%M%D)
example folder name:
host_20100531.154101801
this folder name will always change...
but i just want to copy the AAA.txt and BBB.txt file..
really need... (17 Replies)
Discussion started by: annetote
17 Replies
5. Shell Programming and Scripting
Hi I want to transfer all files in a folder to another folder. So the files have a ending of .lop.txt
thanks (4 Replies)
Discussion started by: gisele_l
4 Replies
6. Infrastructure Monitoring
Hi,
I need to kill processes from a specific location for Linux, HP, AIX and Solaris.
My problem is to be able to identify the location of the running processes.
I've tried with a simple "ps -fu username | grep mylocation" but if the process command has been run directly from the location,... (2 Replies)
Discussion started by: Peuj
2 Replies
7. Solaris
Hi,
How to extract a tar.gz file and put it under a designated folder that I specify in a one line command?
thank you in advance. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
8. Shell Programming and Scripting
First off I have HP Unix, so as far as I can tell the PS command does not let me list specifically which columns I would like or what order I would like to see them.
I want to make a custom PS script for checking what SAS process are running. I want it to take 1 argument of user name and only... (6 Replies)
Discussion started by: goldfish
6 Replies
9. UNIX for Dummies Questions & Answers
i'd like to be able to run a cron job from a specific folder
/var/www/html
a php script which imports rss feeds
i created a simple shell script
cd /var/www/html
php -q import.php
webmin says it executed correctly, but when i check the site, nothing has happened
what am i doing... (1 Reply)
Discussion started by: sanchoquixote
1 Replies
10. Shell Programming and Scripting
Hi,
i;m getting a hard time on how to have this kind of script.
1. ssh on another machine and check if a specific process is running and notify in there is a problem.
SOS!!!!!!!!!!!!!
:( (2 Replies)
Discussion started by: tungaw2004
2 Replies