The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-01-2009
kshji's Avatar
kshji kshji is offline
Registered User
  
 

Join Date: Jun 2009
Location: Finland
Posts: 236
I'm sure there are pages which include helps for you.

I have done something, but language is mostly finnish.
Karjalan ATK-Awot Oy
Ofcourse you can look those pages using Googles translator
Google Kääntäjä


if command I have done page using my english. Why ? If has used so often like programlanguage if. If command is different. Same situation with ex. case.
Karjalan ATK-Awot Oy

Big idea is to understand that everyline is commandline = works same way even command is builtin if, case, ... or something else like date, ls, rm, ...
- filename generation
- pipe
- io-redirection
- argument delimeter !!! (ex. if ...)
- ...

Example

Code:
ls * 
echo *
if cp x y 2>/dev/null ; then
   print ok
else
   print not so good
fi

I'm sure, you get other links also.