10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How to find a word in a directory which contains many files?
i just want to count how many such words are present in all the files?
This is the code which i tried for a single file
echo "Enter the file name:"
read file
echo "Enter the word to search:"
read word
if
then
echo "The count... (4 Replies)
Discussion started by: Meeran Rizvi
4 Replies
2. UNIX for Dummies Questions & Answers
Good evening, ive got this cron to be run:
if i run this manually it doesnt work,it takes me to the prompt again
/export/app/CO/opge/scr/Informe_parametros_colombia.ksh >/dev/null 2>&1
here is the code fragment:
coopge@coopge: opge PRODUCCION>more... (1 Reply)
Discussion started by: alexcol
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Team,
I created one file like tst.pl, it contains
#!/usr/bin/perl
use Spreadsheet::ParseExcel;
During execution it's showing error like use: command not found.
Pleast let me suggest how to use this perl menthods in Unix.
Thanks in Advance,
Reards,
Harris (5 Replies)
Discussion started by: harris
5 Replies
4. Shell Programming and Scripting
Hi,
I am new to scripting.I had one problem infront of me.I tried in many ways with minimal knowledge........Kindly help me.
Description:
I want a shell script where it has to read an input.txt file and need to remove duplicate lines and the result need to kept in output.txt file.
input... (5 Replies)
Discussion started by: bhas
5 Replies
5. Shell Programming and Scripting
this my source file
************* fixed ***************
Begin
equipmentId : d9
processor : fox
number : bhhhhhh
Variable # 1:
Id : 100
Type : 9
nType : s
gType : 5f
mType : 4
LField : England
DataField : london
Length ... (6 Replies)
Discussion started by: teefa
6 Replies
6. Solaris
Hello :
We are in the process of upgrading our Solaris 8 to Solaris 10
We have the following set up on Solaris 8 for starting Xvfb which works very well without any issues
$ /usr/openwin/bin/Xvfb :2 -ac -screen 0 6x6x8 -pn
-fp /usr/openwin/lib/X11/fonts/misc
ON SOLARIS 10 . the above... (2 Replies)
Discussion started by: tsbiju
2 Replies
7. UNIX for Advanced & Expert Users
Hello :
We are in the process of upgrading our Solaris 8 to Solaris 10
We have the following set up on Solaris 8 for starting Xvfb which works very well without any issues
$ /usr/openwin/bin/Xvfb :2 -ac -screen 0 6x6x8 -pn
-fp /usr/openwin/lib/X11/fonts/misc
ON SOLARIS 10 . the... (1 Reply)
Discussion started by: tsbiju
1 Replies
8. Shell Programming and Scripting
Hi,
I have written a shell script to transfer files to a SFTP server passing the filername, source and dest directory as parameters and it runs well. :)
I want to schedule this script to run periodically using a cron job.
root@pingu # cat /etc/crontab
SHELL=/bin/bash... (1 Reply)
Discussion started by: chetancrsp18
1 Replies
9. Shell Programming and Scripting
i have been working on this for a about 12 hours today say's end of file un expected any idea's
using the bourne shell and its driving me nuts worked fine in bash but prof says make it work in bourne and good luck worth 13%
any help would be awesome
#!/bin/sh
trap "rm mnt2/source/tmp/* 2>... (1 Reply)
Discussion started by: mrhiab
1 Replies
10. UNIX for Dummies Questions & Answers
I need your help please
Inin a production system i found crontab entries was removed because i typed crontab -l with username corasc and didn't show anything.
i asked the administrador to restored the mentioned crontab, he restored the crontab:
The problem is when restored the crontab file is... (2 Replies)
Discussion started by: alexcol
2 Replies