On 2016.07.27 11:02, Vytenis P. wrote: >> MOUNT_POINT="/mnt/ftp/" ..... >> ls -l "$MOUNT_POINT" | grep "^d" | awk '{print $9}' > "$TEMP_FILE" > ls sako "ls: Cannot access MOUNT_POINT: No such file or directory Reikėjo palikti MOUNT_POINT kaip kintamąjį ls komandoje, o ne ištrinti bakso simbolį argumentuose :)