Search Results

Search: Posts Made By: Aquila
2,602
Posted By Aquila
Thanks a lot!
Thanks a lot!
2,602
Posted By Aquila
Variable to create a list
Hi all,

I couldn't find an answer for this easy question, probably because the keywords I used in the search are too generic.

I just want to make a list of numbers using the value of a...
1,097
Posted By Aquila
Thanks. I was trying using brackets instead, bad...
Thanks. I was trying using brackets instead, bad idea.
1,097
Posted By Aquila
Use $var within quotes
Hi all,

My code reads:


foldername=$(basename $PWD)
myvar=$(rm -v `ls | grep -vE 'file1|file2|$foldername.ext'` | wc -l)
echo "Removed $myvar files"


The thing is $foldername won't pick...
Showing results 1 to 4 of 4

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