10 More Discussions You Might Find Interesting
1. SuSE
when i open a terminal session of my SUSE server using puTTy and type "who am i" then it displays my local pc ip address.
root@LinuxSUSE1> who am i
root pts/8 2012-03-28 16:02 (192.168.134.213)
But when i open a terminal session of my SUSE server using Xmanager's Xstart and type... (9 Replies)
Discussion started by: Arun_Linux
9 Replies
2. Shell Programming and Scripting
Hi All
I have the following code
sub pall_nvrm {
my $cmd = `pall -w "/u/ab/scripts/dev/nvrmerros/nvrmpaller"`;
print $cmd;
}
if i run
pall -w "/u/ab/scripts/dev/nvrmerros/nvrmpaller"
in a shell i get this sort of out put
eagley:
boxted:
cadle:
eabost:
hales: (3 Replies)
Discussion started by: ab52
3 Replies
3. Shell Programming and Scripting
I have a script which checks for *.txt files in a particular directory and if no files were found then it goes into sleep for 10 secs and looks back for files again and if any files were found then the script does some processing with the files found, which is my requirement too.
FILE_EXISTS=`ls... (5 Replies)
Discussion started by: vpv0002
5 Replies
4. Shell Programming and Scripting
Hi,
Want to highlight the string displayed on the screen.
ften="File selected"
FB1="\e
From the above code,
String "File selected" gets highlighted, but the string in the next line does not get highlighted.
I tried using FB1& FB2 variables but didn't worked out may be due to too... (1 Reply)
Discussion started by: milink
1 Replies
5. UNIX for Dummies Questions & Answers
I want the date to be displayed in two digits.
I have written a script to calculate yesterday's date. I'm getting the yesterday's date as 2009085.
Desired output:
20090805
Find the script below:
#!/bin/ksh
### Script to get Yesterday Date #############
Y=`date +'%Y'`... (6 Replies)
Discussion started by: venkatesht
6 Replies
6. HP-UX
when i type command : swlist -l patch
how to do that i can only show gcc this line only
# gcc 4.2.3 gcc
not to show other line
# gcc.gcc-INC
# gcc.gcc-MAN
# gcc.gcc-RUN
how to do?
example
# gcc 4.2.3 ... (2 Replies)
Discussion started by: alert0919
2 Replies
7. Shell Programming and Scripting
Hi,
I am a newbie to both Linux and this forum.
I was trying to pull out the data from a database but it is not showing up in the multiple lines, with my limited knowledge i linux u tried to format this but wasn't exactly getting what i wanted.
The screenshot below shows my problem.
... (2 Replies)
Discussion started by: Ninjaa
2 Replies
8. Shell Programming and Scripting
My shell script which runs on solaris has an execution in it.
Contents of shell script BEGIN :
Executable_filename username/password@DBinstance parameter2 parameter3
Contents of shell script END :
When i launch the shell script, it connects to database to gets few details..
In the... (3 Replies)
Discussion started by: shafi2all
3 Replies
9. HP-UX
I tried executing the following command to check the version of Apache installed
byfusp01 $ swlist | grep -i apache
ksh: swlist: not found
Do I need root permission to execute this command?
how about lvdisplay / pvdisplay?
Please help me. Thanks (6 Replies)
Discussion started by: vivek_damodaran
6 Replies
10. Solaris
Hi,
I posted a problem earlier on on how to change IP addresses on an E450. I was able to work around this and wanna say thanks to all who assisted. But now on my server, I get this error, trying to configure hosts..RPC timed out. Also, when I type on the command line, hostname, nothing is... (7 Replies)
Discussion started by: Ronny
7 Replies