Search Results

Search: Posts Made By: kalyankalyan
1,545
Posted By kalyankalyan
Increment time
I have to increment time ... by sec but i am getting the output like this.




for m in {2..3}
> do
> for (( i = 1; i <= 13; i++ ))
> do
> echo "$m:$i"
> done
> done
2:1
2:2
2:3...
5,026
Posted By kalyankalyan
Thanks aigles and zaxxon. its works fine. i...
Thanks aigles and zaxxon. its works fine.

i had a samall doubt what does the char ^ in sed command mean sed 's/^[^-]*//'
5,026
Posted By kalyankalyan
Reverse match in grep
root@localhost# echo 'server $serviceName -connectorType $connectorType -ipAddress $ipAddress -port $port -domain $domain' | cut -d "-" -f 1

O/P= server $serviceName

when i grep the o/p -v...
983
Posted By kalyankalyan
Problem using AWK
add service authenticationserver*$serviceName -connectorType $connectorType -ipAddress $ipAddress -port $port -domain *$domain -authenticationType $authenticationType -connector $connector -userName...
1,006
Posted By kalyankalyan
Is the log contains entry for the hung time? can...
Is the log contains entry for the hung time? can u paste the exact line as displayed in the log
1,111
Posted By kalyankalyan
Replacing the ipaddress using script
Hi all ,
I have written the script but the ip address is not getting replaced correct me i ima wrong


#!/bin/bash
echo "enetr ip"
read $a
echo $a
b=`grep -o...
1,391
Posted By kalyankalyan
The script has 755 permission -rwxr-xr-x 1...
The script has 755 permission

-rwxr-xr-x 1 root root 270 2011-02-21 03:36 test1.sh
2,186
Posted By kalyankalyan
Hi Arun, I think this Helps echo...
Hi Arun,

I think this Helps


echo "Apple,mango" | awk -F "," '{print $2}'
1,391
Posted By kalyankalyan
Cron job not executing
I need to add 10 records to database from a file /tmp/authlist.log(contains insert into table sql commands)

When i execute the following script manually its executing and working fine.
the same...
Forum: Fedora 12-07-2010
9,655
Posted By kalyankalyan
thanks satya, the procedure is correct. but...
thanks satya, the procedure is correct.

but i am getting error message /root/.ssh/id_rsa failed: Permission denied. error message , can you help me out why this kind of issue occure and how to...
5,883
Posted By kalyankalyan
I think you need to add the user to /etc/sudoers ...
I think you need to add the user to /etc/sudoers

as below


# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
user ALL=(ALL) NOPASSWD: ALL
Forum: Fedora 12-07-2010
9,655
Posted By kalyankalyan
thanks for responding the directory is having...
thanks for responding
the directory is having r,w permission for root user




[root@localhost .ssh]# ls -l /root/.ssh/
total 4
-rw-r--r-- 1 root root 395 2010-12-06 16:58 known_hosts
...
Forum: Fedora 12-07-2010
9,655
Posted By kalyankalyan
Problem while generating ssh keys.
Hi all,

I am facing an issue while creating the ssh keys. i am using fedora 9

Please let me know how to solve this issue


[root@localhost .ssh]# ssh-keygen -t rsa
Generating public/private...
8,386
Posted By kalyankalyan
thanks for ur responce i first need to...
thanks for ur responce
i first need to extract the table1 output(mysql) to a log file
ex: mysql> select * from table; >> /tmp/logfile
8,386
Posted By kalyankalyan
Extract Mysql table output to a log file
I need to compare the 2 mysql database tables. there are around 50 tables in each DB.
my idea is
in DB1
extract result select * from table1; to alog file1
in DB2
extract result select * from...
59,883
Posted By kalyankalyan
thakq......
thakq......
59,883
Posted By kalyankalyan
How to add user to multiple groups
hi all

i am new to solaris

how to add a user to multiple(secondary) groups.

user :anna
Groups : delhi ,mumbai,pune

i need like this in cat /etc/group
delhi::anna
mumbai::anna...
1,842
Posted By kalyankalyan
ya..... thakq.... its working..........
ya.....

thakq....
its working..........
1,842
Posted By kalyankalyan
script to add 10000 users
Hi All i have written the script to add 10000 users, when i execute the script it had no errors ,but the script is not adding the users.
pls correct me. i want it using while loop


...
Forum: Solaris 05-31-2010
21,330
Posted By kalyankalyan
how to change /export/home/user dir to /home /user in solaris
Hi all


i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)

i need the...
Forum: Red Hat 05-26-2010
48,277
Posted By kalyankalyan
as per my knowledge.... just add routes ...
as per my knowledge....

just add routes


#route add default 10.8.10.1

then ping 10.8.10.1
Forum: Solaris 05-26-2010
11,271
Posted By kalyankalyan
Creating user in solaris
Hi all,

I logged in as root in solaris machine and made an attempt to create a user ,i am getting the following error message pls help me to resolve this issue


bash-3.00# useradd -d...
8,572
Posted By kalyankalyan
thanks, chakrapani
thanks,

chakrapani
8,572
Posted By kalyankalyan
thanks for your response when i type ...
thanks for your response

when i type

$ which sudo
no sudo in /usr/bin



$ pkginfo | grep sudo
system SFWsudo Sudo - superuser do

i am getting messages...
8,572
Posted By kalyankalyan
changing password with sudo user " permission denied"
HI All,


I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows

adam ALL=(ALL) NOPASSWORD: ALL

...........


when i create user by...
Showing results 1 to 25 of 31

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