hi, vgersh99
Thanks for the reply.
The find command you supplied doesn't seem to show symbolic links.
hi PHV,
I am using:
ls -l /folder/ | awk '{print substr($0,56)}'
and it works superbly!!!
Many Thanks! (I will read the man page for awk to try and figure out what awk is actually doing)...
hi all.
I am using ls -l to list the contents of a directory, but, I only want to see the filenames and sym link information and not the other information before it.
i.e.
ls -l /folder
lrwxrwxrwx 1 root root 15 Aug 4 17:04 symfile -> _folder/otherfile
drwxr-xr-x 2 root root 4096 Aug 4...
CaKiwi,
Those commands all worked great! I forgot about the head cmd. I'm not sure what awk 'NR==1' does, though. Nor do I know how do deciper
awk '/^node/{a=$0}/running/{print a}'
Anyhow, thanks very much! Either one of those commands is much cleaner than what I had going. :)
---...
Hi, PHV
I got the same results:
rsfcli -v list | grep -B 1 running | awk 'NR==2'
service running auto unblocked
Thanks
---
Try not. Do. Or do not. There is no try.
PHV,
The command "rsfcli -v list | grep -B 1 running | awk 'NR=2'"
prints out the following:
node2:
service running auto unblocked
Almost as if the last 'awk' part wasn't even there. It's doing just the grep part.
update:
I added another pipe grep to the end.
i.e.
rsfcli -v list |...
hello all
I have a command the shows me the status of two nodes in an active high availability cluster:
[root@box root]# rsfcli -v list
node1:
service stopped auto unblocked
node2:
service running auto unblocked
The output of the 'rsfcli -v list' command above shows that node2...
mhch2005,
I applaud you for being open minded enough to want to persue something different. However, the most help I can see you getting here with such a general question like the one you provided would probably be a bunch of links pointing to google search results. Peruse the web and read...
Being able to set the metric value... and have the Linux server ignore the fact that you set the metric value - doesn't sound like it's worth even touching the metric value. :(
oh well.
Thanks for the information! :)
---
Try not. Do. Or do not. There is no try.
Morsing,
Are you sure about this? Can I get a second opinion by another user here? Why would the Linux 'man' page show how to change the metric if Linux didn't support changing the metric?
sorry. just confused.
---
Try not. Do. Or do not. There is no try.
I am trying to change the metric on my RedHat Linux 9.0 server so that eth0 has a lower priority than eth0:1.
'man ifconfig' shows this:
metric N
This parameter sets the interface metric.
Everything is set at metric '1' by default.
I tried doing:
/sbin/ifconfig eth0 metric 2
and I get the...
Does a Radius client for Linux exist to coincide with a Windows Radius Server?
I'd like to centralize user authentication.
Thanks! ---
Try not. Do. Or do not. There is no try.
Hi all.
I have been trying to figure out why I get the below message.
"CNAME_lookup_failed_temporarily._(#4.4.3)/"
My qmail logs show tons of entries like this:
---------------------------------
@400000003e942d14381955f4 starting delivery 1126: msg 79967 to remote @mail1...
StarTAC:
At this point, I am still trying to figure out my initial steps. Do you know of any HOWTo's out there that can walk me through it. Do you have any tips of your own? Where do I find the MIBs I need? How do I configure them?
Thanks! ---
Try not. Do. Or do not. There is no try.
I have been trying to find out information about configuring snmp on Linux but am hitting dead ends. :(
We have an HPOpenview server that recieves traps from Windows machines and monitors the status of many things such as 'hard drive space, system reboot, cluters failing over, etc'... and we...
Thanks for the tips on qmail. I will remember them during my install/config.
re: cgi
check your httpd.conf file. 9 out of 10 times, that is where the problem lies.
::Here are some things to double check::
The 'ScriptAlias' directive tells Apache that a particular directory is set aside for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.