Search Results

Search: Posts Made By: drbiloukos
1,606
Posted By drbiloukos
awk: syntax error near line 2 awk: illegal...
awk: syntax error near line 2
awk: illegal statement near line 2
1,606
Posted By drbiloukos
Sorry for the code tags. Since it not actually...
Sorry for the code tags. Since it not actually code but a command output I thought it is not required.

I tried while read line to store seq no in perform the subtraction but no luck.
1,606
Posted By drbiloukos
Solaris ping report failed packet script
Hello,
on Solaris ping command does not report failed packet as in i.e. Windows (Connection timeout)
Instead it reports the sequence of the sent packet:

64 bytes from 10.80.4.120: icmp_seq=11....
2,387
Posted By drbiloukos
Apologies I forgot tags. It works as expected....
Apologies I forgot tags. It works as expected. Many thanks.
2,387
Posted By drbiloukos
Sed: find and replace backwards, until string
Some help please:
Need to find string ||(everything in front of it)B0300|| and replace it with ||0|| globally

In:...
1,993
Posted By drbiloukos
Only one of the below cases match to my problem,...
Only one of the below cases match to my problem, but I am still unable to make it work. Any help appreciated.
1,993
Posted By drbiloukos
Sendmail with attachment
Hello people,
I only have sendmail and uuencode on a Oracle (RH) linux server.
While:
/usr/bin/uuencode awr.html awr.html | /usr/sbin/sendmail myemail@company.com
Is working fine,
the ideal for...
1,672
Posted By drbiloukos
Delete until Nth occurence (sed, awk)
Hello people,
Once more I need your help with SED/AWK
I need to delete up to the Nth occurence of a char (from the beggining) and until the Mth occurence of a char (from the end)

Example:...
7,477
Posted By drbiloukos
Thank you all for your help.
Thank you all for your help.
7,477
Posted By drbiloukos
Insert at the beginning of odd lines
Hello people,

I am trying with sed to insert some text at the beginning of each odd line of a file but no luck. Can you please help. Awk is also suitable but I am not very familiar with it.
...
Forum: HP-UX 07-13-2012
3,320
Posted By drbiloukos
Regular files I need.
Regular files I need.
Forum: HP-UX 07-13-2012
3,320
Posted By drbiloukos
Total number of files in a FS
Hello people,
On HP-UX B.11.11 U 9000/800
How can I have in aprox. the total number of files in a specific FS?

Is the number of used inodes a rough estimation of my total number of files?

...
1,829
Posted By drbiloukos
Help echo | sed > file
Hello, I am trying to build a very compact script for monitoring FS.
I am stuck in a very simple problem (see code comment).
Please for your help


SERVER_NAME=`uname -n`...
1,565
Posted By drbiloukos
It works. Thanks a lot
It works.

Thanks a lot
1,565
Posted By drbiloukos
Calling array inside awk
Hello I have the file df.tmp
FS[1] is actually the / FS but escape character\ and end of line $ is used in order to fetch exctly / and not other filesystems.
awk '/\/$/ {print $(NF-1)+0}' df.tmp...
1,996
Posted By drbiloukos
So is this a setting in my .profile or in my unix...
So is this a setting in my .profile or in my unix env ?
1,996
Posted By drbiloukos
* at the end of filename after chmod
Have you seen this before on Solari?

Create file -> chmod file-> file gets a * at the end of filename


Ex1)

gate@server1# ll
total 8
drwxr-xr-x 2 stdbgate dba 512 Jan 18...
4,217
Posted By drbiloukos
Thanks a lot...
Thanks a lot...
4,217
Posted By drbiloukos
Extract word from text (sed,awk, etc...)
Hello, I need some help extracting the number after the RBA e.g 15911688 from the below block of text (e.g: grep RBA |sed .......). The code should be valid for blocks if text generated at different...
1,370
Posted By drbiloukos
:-) Thanks a lot
:-)

Thanks a lot
1,370
Posted By drbiloukos
If - then -else debug please
Can you help please ?

./get_df.sh[3]: syntax error at line 13 : `then' unexpected


#!/bin/ksh
while :
do

PER=`df -h /DATA/ | nawk '{if (NR != 1) { sub (/%/,""); print $(NF-1)}}'`
if [...
Forum: Solaris 01-02-2012
2,172
Posted By drbiloukos
Thank you. This is what I assumed. Unfortunatelly...
Thank you. This is what I assumed. Unfortunatelly the remote system is not managed by me and this is the reason I did not provide more info.
Forum: Solaris 01-02-2012
2,172
Posted By drbiloukos
SSH and LC_*
Hello people,

when trying to sft to remote server from Solaris box, I am getting the following:

Process err :debug1: channel 0: open confirm rwindow 0 rmax 32768
Process err :debug1: Remote:...
4,080
Posted By drbiloukos
Solaris test operator -gt
Hello people,

I created the below script on HP-UX


#!/bin/sh
SESSION_NO=`sqlplus -s ${DRBILOUKOS_USER} <<EOF
SET HEAD OFF...
7,692
Posted By drbiloukos
Thanks a lot
Thanks a lot
Showing results 1 to 25 of 106

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