I have a file 'abc'like:
root#cat abc
no selected
root#
I need to compare the content of this test with the string 'no selected'. I do the following:
if [cat abc == "no selected"]; then
echo 1
else
echo 0
fi
but it doesn't work. How can I compare the file and that string?
Thank you...
Hello everybody,
I need to get the process names 'tt' in a script. For this reason I was doing:
ps -ef |grep tt |grep -v tt | awk '{print $9}'
but I have a problem because if the process has been started today the process name is in 8th column, but if it has been started another day before...
Hi,
First, sorry for my basic questions but I am new in databases. I would like to know if when I create a procedure, I must do 'commit'. I mean:
CREATE OR REPLACE Procedure my_procedure
...
END
commit;
Also, I would like to know what view or how I can see the content of my procedure.
Thank...
Hi,
I would like to know how I can read a specific string and then the following strings of the same row change them by other strings.
For example:
If I have a file like:
aa 22 33
bb 33 23
bt 34 98
a4 99 100
aa 44 66
f6 90 09
...
I need to change all the strings 'aa' the following columns...
Hi everybody,
I would like to know how I can use awk command for when it reads a specific string then change the following other strings of the same row.
For example:
If I have a file like:
aa 22 33
bb 33 23
bt 34 98
a4 99 100
aa 44 66
f6 90 09
...
I need to change all the strings 'aa' the...
Hi,
My admintration's account of the content_db'url has become locked and I try to unlock.
I've done:
$oidpasswd connect=mySID unlock_su_acct=true
OID DB user password:
OID super user account unlocked successfully.
for unlock it, but it doesn't work. How I can unlock it?
Thks.
Hi,
But I have done the same with other machines and they work well. I want to connect from a machine1 to machineA, as:
machine1#ssh userA@mymachineA (without password)
and I use ssh-dss for the authorized_keys file.
Thank you!
I have a Solaris 5.8 and I want to do an user ssh login without password to this machine. I have configured it, but it doesn't work:
ssh -v userA@mymachineA
....
debug1: authentications that can continue: publickey,password
debug1: next auth method to try is publickey
debug1: try pubkey...
Hi,
I need to look the IPs of some machines using korn shell. I try:
serversips="server1 server2 server3"
for i in `ssh aaa@$serversips`
do
netstat -i
done
but it doesn´t work.
Hi,
I need install a sftp server. My sshd_config file has
# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
Sshd daemon is running:
aa:/ # ps -ef |grep sshd
bb 5800 1 0 10:03 ? 00:00:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
So I...
Hi,
I have problems with my LDAP Server, because I have ldap_search_ext_s failed. It is due to time limit exceeded, but how I could resolved it?
Thanks.
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.