Search Results

Search: Posts Made By: brij123
904
Posted By Don Cragun
With any POSIX conforming shell, there is no need...
With any POSIX conforming shell, there is no need for awk, cut, expr, or any other substring operation:
#!/bin/ksh
IAm=${0##*/}
case "$1" in
(B*) DIR=/database/banking;;...
1,709
Posted By RudiC
Try also awk '/^61,67/ {L=NR+5} NR >= L' file
Try also awk '/^61,67/ {L=NR+5} NR >= L' file
1,709
Posted By RavinderSingh13
Hello brij123, Could you please try...
Hello brij123,

Could you please try following and let me know if this helps. It will not print even the line which has starting from 61,67.

awk '/^61,67/{c=5};{if(c>=0){c--;next}};{print}' ...
1,709
Posted By RavinderSingh13
Hello brij123, Following may help you in...
Hello brij123,

Following may help you in same.

awk 'c&&c--;/^61,67/ {c=5}' filename.txt
It is searching a line in a file which starts from 61,67 if that is the case with any line then we are...
2,298
Posted By MadeInGermany
As you already found, -L displays the light...
As you already found, -L displays the light weight processes (LWP also named threads).
Then the grep picks the one with the Z state.
You can better compare ps -eLo ... with ps -eLf
2,011
Posted By Corona688
See useless use of backticks...
See useless use of backticks (http://www.smallo.ruhr.de/award.html#backticks).
4,255
Posted By bakunin
Have a look at some central services for the...
Have a look at some central services for the IP-address of the card you misconfigured: try "nslookup" from another system to query the DNS server (or analogous if you have NIS/NISplus) and have a...
4,255
Posted By jlliagre
I would reboot the server. According to...
I would reboot the server.

According to ifconfig manual page, you have assigned a wrong IP address to both the loopback and the ethernet interfaces making it unreachable from the network.
4,255
Posted By admin_xor
A reboot is not required, just restarting the...
A reboot is not required, just restarting the network service would do just fine, provided, the correct IP, Sub-mask, etc. were made persistent.
svcadm restart network/physical
14,529
Posted By Corona688
On linux it's as easy as 'ifconfig eth0 mtu 1488'...
On linux it's as easy as 'ifconfig eth0 mtu 1488' to set the MTU to something other than 1500. How to change the system settings so it starts that way depends on the linux.

I also caution that...
14,529
Posted By Corona688
sftp with option -R1 or -B1500 is successful. I...
sftp with option -R1 or -B1500 is successful. I wonder if your MTU is set too large on one end or the other and packets are getting silently dropped.
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy