10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have initailized a varaible EBID as typeset Long EBID=0
i am calculating value of EBID using certian formula as below:
(( CURR_EBID= ($BANDINDEX << 27) | ($CURR_FREQ << 16) | ($CURR_CELLID << 4) | $CURR_SECTOR_VALUE ))
return $CURR_EBID
The output is as below:
+ (( CURR_EBID=... (6 Replies)
Discussion started by: kasanur
6 Replies
2. Shell Programming and Scripting
I want to create a shell script which should be doing following things .. i have the commands but do not know how to tie them up together.
1. . Go to a pre-defined directory and look for a specific pattern txt files like abc12* and select the latest file with abc12*
ls |awk '{if($NF... (4 Replies)
Discussion started by: fugitive
4 Replies
3. Shell Programming and Scripting
How to print a only files and not directories in a path.
for exam :a user consists both files and directoris in his path.
i have to write a script to display only files not dirctories.
and only dirctories not files.
Advance thanks to forum members.:) (5 Replies)
Discussion started by: sivaranga001
5 Replies
4. Shell Programming and Scripting
Write a shell script named displayargs that prints FOUR lines. The first line tells the name that was used to invoke the script, the second line tells how many parameters there were, the third line tells what the last parameter was, and the fourth line tells what the first parameter was.
For... (8 Replies)
Discussion started by: kedah160
8 Replies
5. Shell Programming and Scripting
Kindly help,
Suppose i am having a file that has got the following contents. Is there any way (eg. sed command) to remove the (*) (*any number) pattern.
se.bas
tulf.h
(1)
tuna.c
(1)
tunsim.c
(1)
tus.cpp
(1)
vp.c
(1)
vp.h
(1)
vpi.
(1) (1 Reply)
Discussion started by: frozensmilz
1 Replies
6. UNIX for Dummies Questions & Answers
#######################################################################
#
#This script will perform the menu such as : list file, change catalog,
#file check,
#
#This script was written in UNIX Shell Programming Language
#... (3 Replies)
Discussion started by: shekhani
3 Replies
7. Shell Programming and Scripting
Hi,
Can someone help me with this small piece of code.
DIRNAME=$(dirname $0)
BASENAME=$(basename $0)
DATA="${DIRNAME}/${BASENAME}.data"
&& . $DATA
whats is meant by && . $DATA here...
Regards,
Abhishek (2 Replies)
Discussion started by: max29583
2 Replies
8. Shell Programming and Scripting
Dear all
I am still bit new in shell script area.I am writing down a shell script which I guess somewhere wrong so please kindly correct it. I would be greatful for that.
What I actually want from this shell script is that it will move all the files one by one to another server which can be... (2 Replies)
Discussion started by: girish.batra
2 Replies
9. Shell Programming and Scripting
Hi all,
I have a number of shell script,perl script.. etc in a directory,which i need to execute in some order.Now i need to create a script to call all these files in that order..so that the new script will execute all the files one by one....plz help this is urgent.
Thanks In advance
Anju (3 Replies)
Discussion started by: anju
3 Replies
10. Shell Programming and Scripting
hi all,
I need to find out the last 2 modified files in a folder.There is some way by which,we can check the timestamp and find out..??please help this is urgent.
Thanks in Advance
Anju (3 Replies)
Discussion started by: anju
3 Replies