9 More Discussions You Might Find Interesting
1. AIX
Hi,
I am able to login using su - or su directly ,
# prompt is coming, it doesnt ask for password.
any normal user on aix system is login using su - or su .
Please suggest where to change the configuration
direct root login is disabled in /etc/ssh/sshd_config file. (0 Replies)
Discussion started by: manoj.solaris
0 Replies
2. Shell Programming and Scripting
Hi.,
I am not able to replace the string with another string using gsub fn of awk command.
My code:
awk 'BEGIN gsub(004,IND,004)' p.txt
and my i/p file p.txt is of the format:
av|004|adkf|Kent,004|s
av|005|ssdf|Kd,IT park|s
.
.
.
and my desired o/p should be of : (13 Replies)
Discussion started by: av_vinay
13 Replies
3. Shell Programming and Scripting
can u plz tell me where is the error
echo enter the filename to be searched
read fname
if #-d $fname
then
echo file exists
if
then
echo itsa directory
elif
then
echo its readable
cat $fname
else
echo its not readable
fi
else
... (1 Reply)
Discussion started by: gotam
1 Replies
4. Infrastructure Monitoring
HI,
I am facing these two errors while configuring snmp can any body guide me.
vi /var/log/snmpd.log
Error opening specified endpoint "udp:161"
Server Exiting with code 1
i also tried
bash-3.00# netstat -a | grep snm
*.snmpd Idle
bash-3.00# lsof -i :161
bash: lsof: command not... (2 Replies)
Discussion started by: nir1785
2 Replies
5. Solaris
i am using this way to create zone1 and zone2
bash-2.05b# zonecfg -z zone1
zone1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone1> create
zonecfg:zone1> set zonepath=/zone/1
zonecfg:zone1> set autoboot=true
zonecfg:zone1> add net
zonecfg:zone1:net>... (6 Replies)
Discussion started by: coxmanchester
6 Replies
6. Shell Programming and Scripting
I want to copy all the files and subdirectory from a server.
I tried
scp pritish@ipaddress:/home/pritish -r $PWD
it copies all the files but not the directory, Can any one help me.
I want to copy files as well as subdirectory from a server directory
Note: Use CODE-tags when... (2 Replies)
Discussion started by: pritish.sas
2 Replies
7. Shell Programming and Scripting
Hi All,
I have a got a problem ..
I have t files as below:
1.txt contains
-----
-----
-----
column 1, "cat",
column 24, "dog",
column 100, "rat",
-----
-----
-----
2.sh should contain
-----
-----
-----
awk 'BEGIN { printf ("%1s","cat")}' (19 Replies)
Discussion started by: jisha
19 Replies
8. Solaris
Hi
I am getting the uptime output as follows
12:40am up 4 day(s), 18:29, 2 users, load average: 38.97, 36.54, 34.89
The load average is too high .
I have checked the processes , but no process is taking too much cpu time
Please help (3 Replies)
Discussion started by: guy009
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am doing this perl script
print (@line(1..15));
the lines 1 to 15 get printed...
how can i redirect this to file?
thanks and regards
vivek.s (4 Replies)
Discussion started by: vivekshankar
4 Replies