10-11-2016
Quote:
Originally Posted by
Vijaykannan T
Can someone help by advising hw to built myself strong on logic building in UNIX shell scripting. I find it very difficult
Sent from my iPhone using Tapatalk
Hello VijayKannan,
For sure it is not 1 day task, one should read books, do a lot of practice, tackle the problems in testing as well as real time environments. Do a lot of hard work and try to help people, ask questions to groups/forums(after one has given 200% effort and couldn't able to solve a problem because simply asking questions will not help OP).
One more important thing learning is an infinite loop which will never end, even after expert level knowledge if we are not in sync with technology then soon person may not be an expert in that technology after leaving it's practice after sometime. So keep hard working, practicing, reading, asking questions(after you try your best and couldn't tackle problem), keep helping/guiding people. As I always say:
Quote:
The more we share, the more we learn.
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, do shells in unix understand the language of perl?
learning perl will make u a ultimate shell programmer?
thanks (6 Replies)
Discussion started by: yls177
6 Replies
2. UNIX for Dummies Questions & Answers
Hey Guys i am new to Unix and i have downlaoded Cygwin for Windows and deleted it.
I was just wondering is there any good shells like that for windows that just as good
thanks for your time
][ce (1 Reply)
Discussion started by: IceCold
1 Replies
3. Shell Programming and Scripting
Solaris
Newbie here to scripting in UNIX/SOLARIS.
What I am looking to do is, once the script is
executed, switch to /bin/bash shell and continue
to execute the script.
The problem I run into is once the script switches to the Bash
shell, the script stops, and does not execute the... (2 Replies)
Discussion started by: Scoobiez
2 Replies
4. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
5. UNIX for Dummies Questions & Answers
How do I know what type of shells are available in my Unix system? Are there a single command or environment variable that can let me find that out?
Best regards,
John Chan (7 Replies)
Discussion started by: shuhang2
7 Replies
6. UNIX for Dummies Questions & Answers
hi. im new here. im taking a UNIX OS class and im in need of some help
how do i change my shell in UNIX?
for homework i need to edit the tcshrc file (to include aliases) in my home directory but its not there. so i think switching shells will create the file. am i correct?
I'm using PuTTy.... (1 Reply)
Discussion started by: alpha_centauri
1 Replies
7. Shell Programming and Scripting
hello All,
I just purchased a used copy of "UNIX Shells by Example" by Ellie Quigley. The CD is not in the back. I googled the world but the files dont seem to be available for download anywhere. Does anyone out there have them. It would be much appreciated if someone can email them to me.
... (1 Reply)
Discussion started by: tag0519
1 Replies
8. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
9. Shell Programming and Scripting
Hi Guys,
I need your help. I have a file with around 10,000 lines in which i need to get the machine and owner name and paste in the seperate file. I have multiple entries fr machine and owner i need to fetch the data accordingly.
File example:
command: /data/esb/etl/bods_exported_script... (20 Replies)
Discussion started by: Vinoth Kumar G
20 Replies
10. UNIX for Dummies Questions & Answers
I appreciate if someone answer this question for my learning purpose:
Given a filename structure of a COUNTRY CODE, file type, date (YYYYMMDD) and two digit attempt number with an extension of ".dat", write a UNIX shells script to echo out the date value.
Example: ... (1 Reply)
Discussion started by: shumail
1 Replies
LEARN ABOUT OPENDARWIN
get_end
GET_END(3) Library Functions Manual GET_END(3)
NAME
get_end, get_etext, get_edata - get values of UNIX link editor defined symbols
SYNOPSIS
#include <mach-o/getsect.h>
unsigned long get_end();
unsigned long get_etext();
unsigned long get_edata();
DESCRIPTION
These routines provide a stopgap measure to programs that use the UNIX link-editor defined symbols. Use of these routines is very strongly
discouraged. The problem is that any program that is using UNIX link editor defined symbols (_end, _etext or _edata) is making assumptions
that the program has the memory layout of a UNIX program.
This is an incorrect assumption for a program built by the Mach-O link editor. The reason that these routines are provided is that if very
minimal assumptions about the layout are used and the default format and memory layout of the Mach-O link editor is used to build the pro-
gram, some things may work by using the values returned by these routines in place of the addresses of their UNIX link-editor defined sym-
bols. So use at your own risk, and only if you know what your doing. Or better yet, convert the program to use the appropriate Mach or
Mach-O functions. If you are trying to allocate memory use vm_allocate(2), if you are trying to find out about your address space use
vm_region(2) and if you are trying to find out where your program is loaded use the dyld(3) functions.
The values of the UNIX link-editor defined symbols _etext, _edata and _end are returned by the routines get_etext, get_edata, and get_end
respectively. In a Mach-O file they have the following values: get_etext returns the first address after the (__TEXT,__text) section, note
this my or may not be the only section in the __TEXT segment. get_edata returns the first address after the (__DATA,__data) section, note
this my or may not be the last non-zero fill section in the __DATA segment. get_end returns the first address after the last segment in
the executable, note a shared library may be loaded at this address.
SEE ALSO
ld(1), dyld(3)
Apple Computer, Inc. April 10, 1998 GET_END(3)