Search Results

Search: Posts Made By: tedy2808
3,254
Posted By tedy2808
below are the scripts that i've edited based on...
below are the scripts that i've edited based on my understanding:

#!/bin/sh
dir=/home/devusr02/nadiah/input/file_name.log

msg=`tail -1 $dir`
name=${msg%% Failed *}


status=Failed
if [...
3,254
Posted By tedy2808
set sub-string as variable
ok...i've edited my script and i got my desired output..
but the position of the string is always changes..Thus the script is no longer efficient.It may output wrong result. i'm thinking of creating...
3,254
Posted By tedy2808
set sub-string as variable
Hi all,

i really new in linux and just heard about shell scripting couple days ago..

i did exercises on linux in online tutorial but as a beginner, i'm facing problems in developing the script...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy