A company I am applying for is looking for skill “UNIX scripting”. I don’t know whether to apply for it or not with my application development experience in Perl in UNIX environment.
I have developed an application in Perl in UNIX environment. Do I have experience in “UNIX scripting”? ?
How to apply for Sun Solaris Unix Certification?
Hi,
I am interested in getting Sun Solaris Certification for Unix?
I stay at Mumbai. Can anyone help me with some contact info, so as to how to apply for this certification? What are the entry and exit criteria for the same?
Learning Unix for Mac OS X Tiger
- ISBN13: 9780596009151
- Condition: NEW
- Notes: Brand New from Publisher. No Remainder Mark.
Product Description
Beneath Mac OS X Tiger’s easy-to-use Aqua interface lies a powerful Unix engine. Mac users know that Unix is at their fingertips, if only they knew how to access it. Learning Unix for Mac OS X Tiger provides Mac users with a user-friendly tour of the Unix world concealed beneath Mac OS X’s hood and shows how to make the most use of the command-line tools. Thoroughly revised and updated for Mac OS X Tiger, this new edition introduces Mac users to the Terminal applic… More >>
From where can i download source codes of unix socket programming?
I had read out theory of sockets. But i want to implement it now. Can you suggest websites from where i can download example codes?(which will be error free).
I had read out theory of sockets. But i want to implement it now. Can you suggest websites from where i can download example codes in c?(which will be error free).
How do I convert a Unix timestamp into a date?
I used the fstat function to get information about the modification date of a file and it returned a very large number (a unix timestamp). What function converts this into a date?
I am using C
and the bash shell
A couple questions regard to Unix shell scripting?
Question #1) What is the command to run/compile the script in C-Shell? I am using the following command to run the BASH Shell
A) ./FileName.Ext
B) ~/bin/FileName.Ext (bin is the directory)
I used these commands and thought that they will work on C-Shell, but they did not.
Question #2) I use the ‘expr’ command to convert string to number, but it does not work as I thought that it would. Here is what I have.
myVariable=1
myVariable=’expr $myVar+1′
echo $myVar
The output for this is 1+1 as string instead of numerical value 2.
Thank you very much for helping me to clarify on these issues. Greatly appreciated to you all.
UPDATE NOTE OF QUESTIONS:
For Q#1) I declared
#!/bin/csh
at the beginning of scripting before running into problem as stated.
For Q#2) I just tried back tick “ and still got the same wrong result.
Thank you very much.
—————————————
(Just added this on F 04/07/06)
Dear Morgan and Juliekiev,
I got both of my issues resolved and must credit you (Morgan) mostly for walking me through. I know that I made some typo on my Q#2. However, the heart of the problem was because I missed spaces in my expression. I did not know that it is this tricky. Thank you so much to both of you. Especially Morgan. Thank you. I am sure that you may see my question posting again in the near future.
Mastering Unix Shell Scripting
Unix Power Tools, Third Edition
Product Description
Very occasionally a book is written about or for Unix System Administration, or Unix in general. If the author or publishers get the mix right it receives acclaim. Very, very occasionally one of those books achieves legendary status, by finding its way onto 98% of all Unix Sysadmins book shelves. This book is one of those legendary tomes. Just about every Unix Sysadmin I know has a copy of this sitting alongside books like Evi Nemeth’s “Unix Sys Admin Handbook”. OK… More >>
unix shell scripting – hopefully an easy one?
how can I delete the last instance of a character? I have a sql script that puts a comma at the end of the final column definition and I need to get rid of it using shell scripting.
How can I delete only the final comma?
example:
create table test (
X NUMBER (2),
X NUMBER (10),
X VARCHAR2 (25),
X VARCHAR2 (25),
X VARCHAR2 (1),
X VARCHAR2 (8),
);
I only need to remove the last comma, from the line – X VARCHAR2 (8),
See what I mean?
unix shell scripting – hopefully an easy one?
how can I delete the last instance of a character? I have a sql script that puts a comma at the end of the final column definition and I need to get rid of it using shell scripting.
How can I delete only the final comma?
example:
create table test (
X NUMBER (2),
X NUMBER (10),
X VARCHAR2 (25),
X VARCHAR2 (25),
X VARCHAR2 (1),
X VARCHAR2 (8),
);
I only need to remove the last comma, from the line – X VARCHAR2 (8),
See what I mean?



Recent Comments