Search Results

Search: Posts Made By: kylecn
1,254
Posted By kylecn
Thanks for the reply. With a few additions...
Thanks for the reply. With a few additions including this everything is working smoothly. Appreciate the help.
1,254
Posted By kylecn
Zip a directory based on its age
I had allot of help with the below script, and its been a long time since i've done anything with shell scripts so I am having some trouble.

I am trying to zip the trace folder after it is copied...
1,673
Posted By kylecn
Well that makes sense. Im very new to shell...
Well that makes sense. Im very new to shell scripting, and it doesn't help that i keep leaving and coming back to it.

Things are working appropriately now, back to messing around with different...
1,673
Posted By kylecn
Shell script wont execute
Im using a script that writes a random line to a text file then executes another shell script. My problem is that the lottery shell script will not execute. Im not receiving an errors when running...
1,604
Posted By kylecn
Script that prints 2 messages to a screen session
Im trying to make a script that prints 2 messages to a screen session, one after the other.

screen -x session44 -X stuff "`printf "Test 1\r"`"

This works fine, but adding a second lien with a...
4,568
Posted By kylecn
Also i was wonder why you removed exit 0 from the...
Also i was wonder why you removed exit 0 from the script and exactly what it means as well as esac. Thank you.
4,568
Posted By kylecn
Awseome, works well :) So i assume where i...
Awseome, works well :)

So i assume where i have mtest.txt i can also jsut specify a path to a directy containing a tex file, like the following. home/test/user/mtest.txt.

Thank you for your...
4,568
Posted By kylecn
cant seem to get ifthanwhile's example working....
cant seem to get ifthanwhile's example working. When i execute the shell script i get the following.
./cc.sh: line 8: syntax error near unexpected token `)'
./cc.sh: line 8: ` 2) echo 'test2/'...
4,568
Posted By kylecn
Yes, that's exactly what i wish to do. Thanks for...
Yes, that's exactly what i wish to do. Thanks for the info i,ll try it out.
4,568
Posted By kylecn
Wonderful, thank you so much for your help you've...
Wonderful, thank you so much for your help you've made my dreams come true :)

---------- Post updated at 12:47 PM ---------- Previous update was at 12:39 PM ----------

Could I request some more...
4,568
Posted By kylecn
Shell script that runs a random shell script
Hi, im trying to make a shell script that basically runs a random shell script form a list of shell scripts i specify. Im not very good at writing shell scripts, and am new to linux.

Thanks in...
2,438
Posted By kylecn
Im not quite sure i understand how to use that...
Im not quite sure i understand how to use that line. Im better at disassembling something to figure out how it works, not getting the pieces and putting it together.

Either way i appreciate the...
2,438
Posted By kylecn
For example instead of adding the word foo to the...
For example instead of adding the word foo to the last line of the txt fiel which is what i initiially wanted i want to have a list of words that it can choose from.

foo
hello
cat
cow...
2,438
Posted By kylecn
Seems easy enough. Would it be possible...
Seems easy enough.

Would it be possible instead of replacing it with a pre defined name, have it choose a random name from a txt file or just specified in the script that it puts onto the last...
2,438
Posted By kylecn
Basic shell script help
Im trying to make a script that simply adds a word to the last available line in a txt file without overwriting any previous lines.

Ive googled this and there are great examples but no one explain...
Showing results 1 to 15 of 15

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