Tagged Questions
5
votes
3answers
244 views
Bash cannot expand backticks interactively
On RHEL5.2 (bash 2.3.25) I can cd `pwd`/[TAB] and pwd is substituted into my current working directory, using the output of pwd(1).
How can I achieve the same functionality in Ubuntu 9.10 (bash ...
1
vote
3answers
401 views
Backup bash script is not gzipping its tarball
I have a bash script that runs as a cron to backup files on the server.
#!/bin/bash
FILE=/path/to/backup_$(date +%Y%m%d).tar
tar -cf $FILE /backup/this /and/that /and/someotherfiles
gzip $FILE
When ...