Forum: Shell Scripting Jul 21st, 2008 |
| Replies: 5 Views: 1,185 It helped :)
Thank you both! |
Forum: Shell Scripting Jul 20th, 2008 |
| Replies: 5 Views: 1,185 I made these changes after your suggestion (red lines had quotes added around $filename)
#!/bin/bash
#
#Script to safely remove files (asks confirmation)
#
choice="n"
if [ $# -eq 0 ]
then... |
Forum: Shell Scripting Jul 20th, 2008 |
| Replies: 5 Views: 1,185 Hi all.
I am trying to write a "light" version of srm just as an exercise of shell scripting (started today with this ^^" I have to keep it really simple)
Basically it should just search for a file... |