10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to select a file in bash and save it to a directory. The below does run but no selected file is saved. Thank you :).
bash
# select file
printf "please select a file to analyze with entered gene or genes \n"
select file in $(cd... (4 Replies)
Discussion started by: cmccabe
4 Replies
2. Shell Programming and Scripting
I am having a little trouble with some things using the code below:
1. printf "Enter variant: "; read variant The user enters the variant and that value is used in the python script. However, I am not sure how to save that value inputed as a text file in a specific directory... (8 Replies)
Discussion started by: cmccabe
8 Replies
3. Shell Programming and Scripting
wget -x -i link.txt
The above downloads and create unique entries for the 97 links in the text file. However, each new file is saved as CM080 with a FILE extention. Is there a way to convert each file in that directory to a .txt? The 97 files are in... (12 Replies)
Discussion started by: cmccabe
12 Replies
4. Shell Programming and Scripting
Hi,
I want to check if a file is a regular file or not using server name and file path.
Example: I want to check whether //<server_name>/home/chandan/abc.txt is a regular file or not.
Need your help!!.
Thanks (3 Replies)
Discussion started by: ChandanN
3 Replies
5. Shell Programming and Scripting
I have system that generate files every 1 hours , i only have ftp connection from my local server to remote .
$ ls -al
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.0800
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.0900
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.1000
is there any perl / php... (3 Replies)
Discussion started by: before4
3 Replies
6. Shell Programming and Scripting
Hi All,
I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies
7. Shell Programming and Scripting
Validating the size of file transferred from ftp server to the local system.
File type: Text file/Flat file
Source System: Windows / Unix Systems
Target System is always: Unix
Mode of Transfer : ASCII
We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies
8. Shell Programming and Scripting
Hi there,
im writing a script and trying the get the 2nd parameter and check it if its valid file or valid directory,
Example:
./test -a quiz1
i need to check quiz1 ($2)
if it matches any name of a file or directory.
Thanks (3 Replies)
Discussion started by: new2Linux
3 Replies
9. Shell Programming and Scripting
I think I can do this myself now, but I am always amazed by how people can do things cleaner and simpler than I end up doing...
Using cron, I want to save the image found at:
http://radar.weather.gov/ridge/Conus/RadarImg/centgrtlakes.gif
every 15 minutes to a local file , such as
... (1 Reply)
Discussion started by: brucewestfall
1 Replies
10. Shell Programming and Scripting
Hi all,
Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux.
Using this command "ps -ef | grep sendmail | grep -v grep".
Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies