Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Awadhesh
3,538
Posted By Awadhesh
Well, I thought and implemented that way only,...
Well, I thought and implemented that way only, but feel that its a rough idea.
Thanks again for your great help. Awadhesh
3,538
Posted By Awadhesh
Thanks!!
thanks, u always come with a torch.


pd-ksh is there, but i really dont know how to use it in script.

[root@eul3p3 tmp]# rpm -qa|grep -i pdksh
pdksh-5.2.14-30.3
[root@eul3p3 tmp]#
...
3,538
Posted By Awadhesh
Frank, dirname works wihout issue. fpm,...
Frank,

dirname works wihout issue.

fpm,

oops!! sorry, i have copied script from my hp-ux system and maestab from linux system. but actully I am paasing value of $HOST by $1 in my script....
3,538
Posted By Awadhesh
Confusion about IFS Variable
=================================================
#!/bin/sh
HOST=eux091
if [ -s /etc/maestab ] && grep -q $HOST /etc/maestab
then
IFS=:
grep -v -e "^#" -e "^$" /etc/maestab | grep...
5,867
Posted By Awadhesh
Hello
Replace ".sh" with your own extention or leave it if the directory have only scripts.

ls -lrt|grep ".sh"|tail -1|awk '{print $9}' > file1
for i in `cat file2`
do
cat file1|grep -v $i > file3...
1,277
Posted By Awadhesh
Solaris - tar (1)...
Solaris - tar (1) (http://www.uwsg.iu.edu/usail/man/solaris/tar.1.html)
3,211
Posted By Awadhesh
Do this
for file in `ls -l|awk '{print $9}'`
do
sed 's/Myapp/Mydb/' < $file > $file.new
mv $file.new $file
done
Forum: Solaris 08-06-2007
20,297
Posted By Awadhesh
Unsuccessful login attempts after five...
Unsuccessful login attempts after five consecutive failures are logged in the file /var/adm/loginlog, only if the file /var/adm/loginlog exists and is owned by root, group sys, and has read and write...
3,909
Posted By Awadhesh
its depend upon which OS you are using for...
its depend upon which OS you are using
for HP-UX its print_manifest|grep "OS mode:"
rest you can get here
FAQs: How can I determine if my computer/OS is 64-bit...
5,657
Posted By Awadhesh
https://www.unix.com/aix/17103-how-to-migrate-up-ux...
https://www.unix.com/aix/17103-how-to-migrate-up-ux-shell-scripts-to-aix-5-2-a.html
15,077
Posted By Awadhesh
can you please post bdf and du -sk o/p. may be...
can you please post bdf and du -sk o/p. may be there is something you are missing.
7,382
Posted By Awadhesh
cd / du -sk `ls -l|grep "^d"|awk '{print...
cd /
du -sk `ls -l|grep "^d"|awk '{print $9}'`
Forum: Solaris 08-03-2007
24,235
Posted By Awadhesh
I am not aware other that netstat.
I am not aware other that netstat.
Forum: Solaris 08-03-2007
24,235
Posted By Awadhesh
configuration file is /etc/inet/services for...
configuration file is /etc/inet/services

for ex:
to know about telnet port u can use
# grep telnet /etc/inet/services
telnet 23/tcp.

Awadhesh
7,930
Posted By Awadhesh
NSS - LDAP ---> su: Unknown id:
Hello Experts,

I am facing a problem with ldap account, Some systems account running properly, but some systems it returns as "su: Unknown id: username". Please let me know how to start...
Forum: What is on Your Mind? 08-01-2007
14,069
Posted By Awadhesh
Mine is Two
mine is one more IT Resource Center forums (http://forums.itrc.hp.com/)
2,445
Posted By Awadhesh
find /dirname -name filename -print
find /dirname -name filename -print
Forum: Cybersecurity 07-27-2007
4,862
Posted By Awadhesh
and what about smbpasswd command?
and what about smbpasswd command?
4,768
Posted By Awadhesh
Can you explain the where to where you want to...
Can you explain the where to where you want to copy the files?

Awadhesh
Forum: Cybersecurity 07-27-2007
4,862
Posted By Awadhesh
Can you paste o/p of command #smbstatus |head...
Can you paste o/p of command
#smbstatus |head -2

I think smbpasswd should work, Please check your command once again for typo, ie: smbpaswd ---->> smbpasswd

Regards,

Awadhesh
Forum: What is on Your Mind? 07-27-2007
2,092
Posted By Awadhesh
Thanks Blow!!!!
Thanks Blow!!!!
Forum: What is on Your Mind? 07-27-2007
2,092
Posted By Awadhesh
System Admins Day Today
Hello All,

Today is System Admins day. it comes on last friday of July. Congratulations to all of you. Keep Posting....

System Administrator Appreciation Day (http://www.sysadminday.com/)
...
9,555
Posted By Awadhesh
what exactly you want if you are asking about a...
what exactly you want if you are asking about a particular VG configuration file. then It is /etc/lvmconf/vol_group_name.conf

Cheers,

Awadhesh
4,397
Posted By Awadhesh
Also check this link
https://www.unix.com/shell-programming-and-scripting-q-and-a/38903-format-of-csv-file-under-unix-environment.html
4,397
Posted By Awadhesh
You can create a new file by replacing your ","...
You can create a new file by replacing your "," to blanks.
ie:
vi flname
:%s/,/b/g

again you have to do cat flname|xargs -n1|sort -u

may be it will help you.

Awadhesh
Showing results 1 to 25 of 90

 

Featured Tech Videos

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