Hi ppl,
We are using Sun OS and recently, encountered this strange problem.
When issuing the "w" or "who" command, the system produce no listing. See screen shot below.
-----------------------
$ w
2:56pm up 2 day(s), 21:10, 0 users, load average: 1.03, 0.75, 0.69
User tty ... (6 Replies)
Hi all, below is my PERL script
$ids = $dbh->prepare ("select * from tableA");
$ids->execute();
$names = $ids->fetchall_arrayref();
print " Total valid ids is $#names \n"; Table only has 1 column, approx 400 rows
the value of $#names is -1. Would anyone point out what could have caused the... (1 Reply)
The rdist command script is called in the program to synchronize the updated files, I wonder whether the rdist returned can be fetched or not from the program? (0 Replies)
Hi, there,
I want to excute the remote command shell via "remsh", are there any simple or best way to get the result of remote shell from local ? thanks. (2 Replies)
Hi Pals
I am using this command in my script to find out warnings using fgrep where $log is the log file name, $date is the date to be searching and warnings.list contains list of matching words.
grep "WARNING" $log|grep "$date"|fgrep -vf warnings.list
I want to perform another action... (1 Reply)
Hi all,
I tried to find the reply using google, yet did not find a conclusive answer.
When I use 'find . -ls', I get something like:
3423297 8 -rw-r--r-- 1 useradmin staff 135 4 apr 09:46 ./.~lock.dir-file-list.csv#
I know that
3423297 is the inode
-rw-r--r-- ... (2 Replies)
Hi,
In a file old.txt containing (for example) a series..
#limerick There was a young lady from Nantucket..
\images\Blank.jpg
:end
#joke A horse walked into a bar...
\images\Blank.jpg
end
I would like to achieve new.txt containing
#limerick There was a young lady from Nantucket..... (5 Replies)
Hello,
I have something that should be very simple yet I am losing my head in figuring out how to get it to work:
I am calling a function passing a parameter, this will return a particular string, next I want to substring the returned value and break it apart.
All of this I want to do on a... (2 Replies)