Search Results

Search: Posts Made By: Awadhesh
4,118
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
4,118
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]#
...
4,118
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....
4,118
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...
6,295
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,461
Posted By Awadhesh
Solaris - tar (1)...
Solaris - tar (1) (http://www.uwsg.iu.edu/usail/man/solaris/tar.1.html)
3,391
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
21,476
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...
4,097
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...
6,129
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
16,030
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,594
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,777
Posted By Awadhesh
I am not aware other that netstat.
I am not aware other that netstat.
Forum: Solaris 08-03-2007
24,777
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
8,286
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
15,854
Posted By Awadhesh
Mine is Two
mine is one more IT Resource Center forums (http://forums.itrc.hp.com/)
2,598
Posted By Awadhesh
find /dirname -name filename -print
find /dirname -name filename -print
Forum: Cybersecurity 07-27-2007
5,110
Posted By Awadhesh
and what about smbpasswd command?
and what about smbpasswd command?
5,069
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
5,110
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,244
Posted By Awadhesh
Thanks Blow!!!!
Thanks Blow!!!!
Forum: What is on Your Mind? 07-27-2007
2,244
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/)
...
10,227
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,922
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,922
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

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