Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: panknil
1,773
Posted By panknil
Thanks you sir, It worked but its says 0 in...
Thanks you sir,

It worked but its says 0 in lost+found dir.
1,773
Posted By panknil
Space Issue
Thanks DGPcikett,

I have tried the command but not working...

find /edw_qa -mount -type d | xargs -r ls -sd | sort -nr | pg
xargs: illegal option -- r
xargs: Usage: xargs: [-t] [-p]...
1,773
Posted By panknil
Space Issue
Hey Experts,

I'm facing an issue related to space in the unix system. I have a mount point where 9.4 T is allocated. The entire mount point is filled and I can trace only for 6.7T but I could not...
4,271
Posted By panknil
hi, Could any one please tell me that while...
hi,

Could any one please tell me that while connecting why its is taking two id_rsa file?

Regards,
4,271
Posted By panknil
permission for .ssh dir is 755 and id_rsa and...
permission for .ssh dir is 755 and id_rsa and id_rsa.pub is 644

---------- Post updated at 03:12 AM ---------- Previous update was at 03:10 AM ----------

I'm just confused that why it is taking...
4,271
Posted By panknil
SFTP connection problem
Dear All,

I'm trying to configure the passwordless connection between two servers say Server A and Server B.

My requirement is a passwordless connection from Server A to Server B.
I have done...
9,574
Posted By panknil
Password less connection(sftp/ssh)
Dear All,

I'm trying to configure a passwordless connection between two servers of HP-UX. i have srearched the configuration in google so many times and as per the guidence i have done all the...
1,910
Posted By panknil
SFTP setting with a remote server - need help
Hi All,

i want to setup a STPF setting to a remote server.
Could you please help on this. The setting i have done but its still asking for password.

Could anyone throw some light on the same?...
9,522
Posted By panknil
Hi Try this grep "ip" <filename>|cut -f2...
Hi
Try this

grep "ip" <filename>|cut -f2 -d"<"|cut -f2 -d">"

Regards,
Pankaj

---------- Post updated at 07:27 AM ---------- Previous update was at 07:17 AM ----------

Hi Scottn,

May...
20,871
Posted By panknil
Hi try this $ nohup ./startserver.sh >>...
Hi
try this

$ nohup ./startserver.sh >> OUTFILE.txt &

or

$ nohup sh startserver.sh >> OUTFILE.txt &

always redirect the output of nohup in a file.

Regards,
Pankaj
1,468
Posted By panknil
u can do it in one line also awk -F'|'...
u can do it in one line also

awk -F'|' 'BEGIN{while(getline < "filename1"){if ( $11 != <SEARCH STRING>){print $0}}}' >> filename2


Regards,
Pankaj
1,468
Posted By panknil
Dear viv1, try this awk -F'|' 'BEGIN{ ...
Dear viv1,

try this

awk -F'|' 'BEGIN{
while(getline < "filename1")
{
if ( $11 != <SEARCH STRING>)
{
print $0
}
}
}' >> filename2

filename1 will be ur input file and filename2 will...
14,260
Posted By panknil
Dear Anchal, try this echo...
Dear Anchal,

try this

echo $MailRecipients|sed "s/a.s@l.com//g" |sed "s/r.a@l.com/s.p@l.com/g"

regards,
Pankaj
29,074
Posted By panknil
Try this user='user1' password='password1'...
Try this

user='user1'
password='password1'
IP='***.***.***.***'

ftp -n -i -v $IP 22 <<-END_SCRIPT > LOG_file
user $user $password
status
bin
lcd <DESTINATION DIR>
cd <REMOTE DIR>
mget...
9,385
Posted By panknil
if user need wants to run the query then...
if user need wants to run the query then everything shud be configurable
QUERY,PASSWRD,USENAME,DBCONN etc

i'm giving a sample of configuration file from which u'll have to extract the values and...
9,385
Posted By panknil
sqlplus -s <LOGIN>/<password>@<DBCONN> <<-END >...
sqlplus -s <LOGIN>/<password>@<DBCONN> <<-END > <DESTINATIONDIR>/<FLNAME>
9,385
Posted By panknil
try this sqlplus -s...
try this

sqlplus -s <LOGIN>/<password>@$DBCONN <<-END > <DESTINATIONDIR>/<FLNAME>
set serveroutput on;
set head off;
set feed off;
set timing off;
set pages 0;
set line 200
<QUERY>
EXIT;...
114,363
Posted By panknil
Dear jisha, try this data1="hello" ...
Dear jisha,

try this

data1="hello"
data2="world"
if [ "$data2" != "world" ]
then
if [ "$data1" != "hello" ]
then
echo "good afternnon"
fi
else

echo " good morning"
fi
...
6,572
Posted By panknil
Dear Jisha, split($3,a,<seperator of the...
Dear Jisha,

split($3,a,<seperator of the value>)

here a is the array variable. u can use error instead of a
then print like this

print a[1]
print a[2]

u'll cum to know the thing
...
6,572
Posted By panknil
Dear jisha, try this to get the value...
Dear jisha,

try this

to get the value of "error=hat fat chat", use this

awk -F'|' '{print $3}' filename

to split a value,
try this

split($3,a,<seperator of the value>)

gud luk
...
7,556
Posted By panknil
Dear Amit, try this ftp -n -i -v...
Dear Amit,

try this

ftp -n -i -v <SERVERIP> <<-ftp_end > <DIR>/ftpstatus_Log
user <LOGIN> <password>
status
bin
lcd <DESTINATIONDIR>
cd <REMOTEDIR>
mget <as u want>
bye
ftp_end
...
19,402
Posted By panknil
try this also ls -lt |head -2 Regards, ...
try this also

ls -lt |head -2

Regards,
Pankaj
19,402
Posted By panknil
Dear Anju, to get the timestamp of a file,...
Dear Anju,

to get the timestamp of a file, try this,

ls -l filename|awk '{print $6$7$8}'

then the result will be in the format of MonDDYY
here in the place of YY u'll get the time of the...
2,537
Posted By panknil
Dear jisha, u can try this sed...
Dear jisha,

u can try this

sed 's/[0-9]*$//' filename

Regards,
Pankaj
6,333
Posted By panknil
Dear jagnikam, ./test1.sh: line 7: [:...
Dear jagnikam,

./test1.sh: line 7: [: /var/spool/mail: integer expression expected
This error mean values of $usep variable is null...

debug it using sh -x <scriptname.sh>
and check why the...
Showing results 1 to 25 of 90

 

Featured Tech Videos

All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy