Search Results

Search: Posts Made By: jeff_cen
32,239
Posted By jeff_cen
Re
Hi,

Thanks for the feedback. I found that it was due to an error in the earlier lines of the code the ls command was not able to find any folders. The logic of the code posted is right.

Thanks...
32,239
Posted By jeff_cen
Assign command (with pipe) output to a variable
Hi ,

I would like to assign command (with pipe) output to a variable. The code is as follows. The goal of the code is to get the last folder folder with a particular name pattern.

myDate=`ls |...
2,691
Posted By jeff_cen
Hi steadyonabix...
Hi steadyonabix (https://www.unix.com/members/302068797.html),

Thanks for your reply. You probably mean
if [[ $qq == *y ]]

It works!

thanks

Jeff
2,691
Posted By jeff_cen
unwanted control character in the input
Hi Shell Scripting Experts,

I have a shell script running daily on a remote machine through ssh. To avoid the trouble of restarting the script when ssh disconnects, I use screen (a unix tool) and...
Showing results 1 to 4 of 4

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