Search Results

Search: Posts Made By: pierpier
13,889
Posted By pierpier
Hi, To be sure to avoid running Script #2...
Hi,

To be sure to avoid running Script #2 before the #1 is done, you can try using lock file.
You may also want to chain your scripts with a success condition, would look like (in bash) :
...
2,766
Posted By pierpier
I finally simplified everything by using only one...
I finally simplified everything by using only one user, and adding a startup csipr to run :

konsole --workdir /path/to/dir -e rtorrent

Thanks anyway
2,766
Posted By pierpier
Launch a text program inside a konsole at startup
Hi ULFers,

I am trying to setup a (very) simple startup script on a centos 6.4 computer and it kind of failed.... Here are the details :

As said just above the computer setup is running a...
1,870
Posted By pierpier
just one more way to do it...
Here is how i'd do that :

while read line ; do

array[${#array[@]}]="$line"

done <<<"$(grep -vE "^[#|*]" test.txt)"And here is what inside the array after :

bash-3.2$ echo ${array[0]}...
3,486
Posted By pierpier
As a quick answer i would say : sed + back...
As a quick answer i would say :
sed + back references + sed commandsshould be a good part of a working and simple.

I'll try to give you a more comprehensive answer if i found some time for that....
Showing results 1 to 5 of 5

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