Search Results

Search: Posts Made By: thedoobieman5
Forum: What is on Your Mind? 06-17-2010
1,926
Posted By thedoobieman5
Power Hour?
I had some free time at work today so I decided to get a little practice with my shell scripts (I'm pretty new to the whole UNIX thing).
I'm sure I'm not the only college student here so maybe this...
Forum: What is on Your Mind? 06-17-2010
8,647
Posted By thedoobieman5
I'm a mac user. Opened the utilities folder and...
I'm a mac user. Opened the utilities folder and saw "Terminal" but was too scared of it to use it. Years later I get a summer job in a university lab where I need to run simulations via SSH (which...
6,460
Posted By thedoobieman5
Ah, I see what's going on. Thanks for the...
Ah, I see what's going on. Thanks for the replies. Apparently


#!/bin/sh

for file in "$@"
do
mv "$file" ~/.Trash/
done

works fine, but


#!/bin/sh

for file in "$@"
do
mv...
6,460
Posted By thedoobieman5
Thanks! Worked perfectly. I knew there had to be...
Thanks! Worked perfectly. I knew there had to be some built in way to do this.
Thanks again.

---------- Post updated at 08:50 PM ---------- Previous update was at 05:19 PM ----------

OK now...
6,460
Posted By thedoobieman5
Wildcard variables
Hello everyone,
I'm new to UNIX and thought I'd give writing my own script a try, but the * is giving me some trouble. What I'm trying to do is write a script that does the same thing as rm, but...
Showing results 1 to 5 of 5

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