10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a problem about a little script,
when i run the following two lines one by one on CLI then they work well:
/usr/bin/mkdir `perl -e 'use POSIX qw(strftime); print strftime "%Y-%m-%d",localtime(time() - 30*24*60*60);'`
find . -type f -name "fuseesb.log.*" -mtime 30... (5 Replies)
Discussion started by: EAGL€
2. Shell Programming and Scripting
I'm looking for some help in figuring why my little bit of code will not process any entries other then the first one in my list.
while read line ;do
a=`ssh user@$hostname uptime;echo $?`
touch... (6 Replies)
Discussion started by: whegra
3. Red Hat
I am getting the following error while executing any command related to LVM -
vgs: symbol lookup error: vgs: undefined symbol: pvcreate
Can any one please advise how to get rid of this problem?
Thanks (6 Replies)
Discussion started by: atanubanerji
4. Red Hat
Iam facing some strange issue with alias. I have an alias file in which i have created lot of aliases as given below.
export... (0 Replies)
Discussion started by: Vikram_Tanwar12
5. Shell Programming and Scripting
Iam running below script in crontab but its not working.
/usr/local/bin/expect -f /Scripts/bng_backup.exp /Scripts/data.txt
tar -cf bngbackup.tar bngbackup ;gzip bngbackup.tar
when iam running manually the output file is generating..but bngbackup.tar.gz file... (5 Replies)
Discussion started by: surender reddy
6. Shell Programming and Scripting
Please guide me writing this script
Follwing is the file which I have created, which contains the files to be copied.
/etc/dfs/sharetab... (11 Replies)
Discussion started by: manalisharmabe
I have got a problem,
i have Solaris 8 server, where on running the passwd command, it says permission denied. I have checked /bin/passwd, /etc/passwd, /etc/shadow all have permissions as like one working server.
It is happening for root user and all other users.
i have tried... (6 Replies)
Discussion started by: varunksharma87
8. Shell Programming and Scripting
I have to press shift + Backspace to do backspace on my unix termminal everytime. How can i configure it to a normal backspace only.
Please help me here. PFB the contents of the stty -a :
dbtgr@hpxi017:/pocuser/C5/aimsys/dbtgr> stty -a
speed 38400 baud; line = 0;
rows = 35; columns =... (4 Replies)
Discussion started by: kunwar
9. Shell Programming and Scripting
My Perl script reads input from stdin and prints it out to stdout. After I read input I use BACKSPACE to erase characters. However BACKSPACE does not work with Unicode characters that are multi-bytes. On screen the character is erased but underneath only one byte is deleted instead of all... (3 Replies)
Discussion started by: tdw
10. Shell Programming and Scripting
I've written a Perl script that prompts for asnwers to questons. At those prompts, the backspace key shows up as ^H^H.
I would like the users to have the ablility to use the backspace key. I'm running bash shell and don't otherwise have this problem.
Any help would be greatly... (4 Replies)
Discussion started by: Atama