10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Friends,
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€
5 Replies
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
hostname=${line//\"}
a=`ssh user@$hostname uptime;echo $?`
if ];then
dt=`date`
touch... (6 Replies)
Discussion started by: whegra
6 Replies
3. Red Hat
Hi
I am getting the following error while executing any command related to LVM -
# vgs
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
6 Replies
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 BUILD_HOME=/apps/psr/build
export DB_HOME=/apps/psr/database
export LOGS_HOME=/apps/psr/logs
export BUILD_TEST=/apps/psr/build_dev/build_test
export... (0 Replies)
Discussion started by: Vikram_Tanwar12
0 Replies
5. Shell Programming and Scripting
Hi
Iam running below script in crontab but its not working.
#!/bin/sh
cd /Scripts
/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
5 Replies
6. Shell Programming and Scripting
Hi all,
Please guide me writing this script
Follwing is the file which I have created, which contains the files to be copied.
cat system1-dr.txt
/etc/passwd
/etc/shadow
/etc/group
/etc/vfstab
/etc/profile
/etc/default/init
/etc/shells
/etc/dfs/dfstab
/etc/dfs/sharetab... (11 Replies)
Discussion started by: manalisharmabe
11 Replies
7. Solaris
Hi all,
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
6 Replies
8. Shell Programming and Scripting
Hi ,
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
4 Replies
9. Shell Programming and Scripting
Hello,
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
3 Replies
10. Shell Programming and Scripting
Hello,
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
4 Replies