10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
what does the below command do
ps –efx | grep java6
Another question, what is crontab?
Please use CODE tags as required by forum rules! (1 Reply)
Discussion started by: houmingc
1 Replies
2. Shell Programming and Scripting
Hello scripting geeks,
I am new to scripting and facing some issues in writing the logic of the script. Request your kind help here
Actually when i run a command i get o/p as below
o/p :
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
these are hex values i guess...now i want to... (15 Replies)
Discussion started by: kulvant29
15 Replies
3. Shell Programming and Scripting
code:
IMAGE=$imgvalue;
if
then
echo DO=ABC;
elif
then echo DO=ETC;
elif
then echo DO=XYZ;
else
echo "$imgvalue is unsupported";
exit 1;
fi
in above script IMAGE=1 , IMAGE=2, IMAGE=3 whatever may be the value i have assigned it's showing only DO=ABC other conditions... (7 Replies)
Discussion started by: saku
7 Replies
4. Shell Programming and Scripting
I am new to linux/unix scripting and working in one company on linux project. I got a script that when it executes should give us the users atributes showing who is retriving data? the script should show us who are the users reriving information. I ran that script as sudo ./test4 but finding
the... (0 Replies)
Discussion started by: starter2011
0 Replies
5. Shell Programming and Scripting
how to check which line of the script is showing the error...
like -x will print each output in stdout...
but want to know exact error line trowing error.. (2 Replies)
Discussion started by: mail2sant
2 Replies
6. Shell Programming and Scripting
Dear all,
I am bit confused lately, I have a xmlfile here:
file: book.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
... (2 Replies)
Discussion started by: penyu
2 Replies
7. Shell Programming and Scripting
Hi! I'm new in scripting and I need some help with one simple script. I have to write a program that shows in a predetermined period (using "last" command), to draw up a list of users who have used the machine during this period. Each user to indicate how many sessions it has been during this... (9 Replies)
Discussion started by: vassu
9 Replies
8. Shell Programming and Scripting
Thank you all for helping me figure out how to manage spaces in paths. The following script is the result. The script uses rsync to backup files to a USB device. Special thanks to Scrutinizer:b:.
rsync2u is a free menu-driven script. Down load the script from... (7 Replies)
Discussion started by: wolfv
7 Replies
9. Shell Programming and Scripting
Hi,
facing unusual problem, below are 2 same scripts, one is working and other is not. please help
--- THIS SCRIPT IS WORKING FINE!!!!
#! /bin/sh
phone=`grep "<phone>" data.xml | sed 's:<phone>::;s:</phone>::'`
echo "Phone Number is:"$phone
repnum=554156
cat data.xml | sed -e... (3 Replies)
Discussion started by: Prateek007
3 Replies
10. Shell Programming and Scripting
Hello,
I have the following script to restore file and grep information. However, once it restore file, it showing a lot useless information and different to check which file have the statement "John price $200". Can I not show any information while running script. It only show..when found the... (1 Reply)
Discussion started by: happyv
1 Replies