10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus, kindly analyse the following for me, please
OS: Windows 7
Code location: C:\
Output: "Program Files not being recognised"
"System Volume Information is a directory"
"Windows not being recognised"
main {
my @dirlist = <*>;
foreach my $fn... (0 Replies)
Discussion started by: biglau
0 Replies
2. UNIX for Dummies Questions & Answers
HI ,
How can I check if a file exists in a particular folder and it exists it size in greater than 0 kb.
Basically I am trying to write a script which will check if a file exists and if exists then it size is greater than 0 bytes (I am not looking for empty files it should have some data... (3 Replies)
Discussion started by: wangkc
3 Replies
3. Shell Programming and Scripting
Is there a free unix platform that will allow me to write a shell script on my Windows OS? I have my files on my C: drive and i need to write a script that reads from those files and does some manipulation. Its pretty straightforward in unix commands hence i don't want to write a Java/C++ program... (3 Replies)
Discussion started by: jakSun8
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Friends
Pl. clarify the following.
1. By using ftp hostname we can connect each other as long as within the n/w. Provided user name and password.
2. Using mget****(required files with extension) can trasnsfer all the files(text as well as graphical formats).
3. How we can reproduce the... (2 Replies)
Discussion started by: mohamedfaizyka
2 Replies
5. AIX
How to allow Windows platform to access Unix(AIX) based disk volumes? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
6. UNIX for Dummies Questions & Answers
I was able to convert my csv file in Unix to xls. I would like to export the converted xls file to a windows environment. I have to manually connect using the following below:
ftp: 192.x.x.x -> username/pass -> cd -> mget *.xls and then confirm.
Could I automate this process into a shell... (4 Replies)
Discussion started by: ravzter
4 Replies
7. UNIX for Dummies Questions & Answers
I have a file on solaris/linux.
ls -ls shows the logical size to be: 13292
However, when I transfer the file to my windows machine.. Rightclick->Properties shows the file size as: 13421
I wrote a small program on unix and windows that does a stat() on the file and reports the st_size... (6 Replies)
Discussion started by: the_learner
6 Replies
8. Shell Programming and Scripting
I need to check the size of a log file. If the size is anything but zero, I need to send an email. I'm using this syntax:
SIZE=0
VAR1=`wc -c $DIRNAME/$FILENAME1 | awk -F" " '{print $1}' `
echo $VAR1
if
then
do something such as send an email
fi
I know that the file is indeed... (15 Replies)
Discussion started by: ssmith001
15 Replies
9. UNIX for Dummies Questions & Answers
What is the best way to check the size of a file? We have a problem with our repository growing to an unmanageable size. If it is greater than 17000000 then I'd like to send a warning to our system administrators. (2 Replies)
Discussion started by: jkuchar747
2 Replies
10. UNIX for Advanced & Expert Users
Can anybody help me in finding out a solution for the problem below?
When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file.
During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies