Search Results

Search: Posts Made By: bobanpetrovic
1,600
Posted By bobanpetrovic
Thanks for help! Anyway, the problem was in...
Thanks for help! Anyway, the problem was in "accounts" file, it was in DOS format, with \r on ends of lines. dos2unix command solved it.
1,600
Posted By bobanpetrovic
Passing variables problem - Bash
I have a following problem:
#!/bin/bash
NUM=`cat accounts | wc -l`;
for i in {1..$NUM}
do
account=`awk "NR==$i" accounts`;
echo -e "\nAccount: $account\n";
sudo ./backup_maildir...
Showing results 1 to 2 of 2

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