OT: command-line launch firefox problem

kitepilot at kitepilot.com kitepilot at kitepilot.com
Sat Mar 18 15:31:04 MST 2017


Yes, you can edit.
Cutting and pasting is bulletproof though...   :)
ET 


joe at actionline.com writes: 

> Thanks again ET. 
> 
> But I think you've made it more difficult
> than it needs to be with all the 'echo' stuff. 
> 
> Can't I just open the file in bin/ff
> write in the code that you suggested
> and set the permissions to rwx? 
> 
> Joe 
> 
> -----------
>> # WAIT!!!
>> # Minor correction, and you can just do it, you won't hurt anything. 
>>
>> # Do:
>> # Cut'n paste the 4 lines below: 
>>
>> mkdir -pv ~/bin/
>> echo "#! $(which bash)"|sed -e 's/ //g' > ~/bin/ff
>> echo 'nohup firefox "$@" >/dev/null 2>&1 &' >> ~/bin/ff
>> chmod 755 ~/bin/ff
>> . .bashrc
>> ff test.htm 
>>
>> # Done...
>> # ET 
>>
>> kitepilot at kitepilot.com writes: 
>>
>>> # Cut'n paste the 4 lines below: 
>>>
>>> mkdir ~/bin/
>>> echo "#! $(which bash)"|sed -e 's/ //g' > ~/bin/ff
>>> echo 'nohup firefox >/dev/null 2>&1 &' >> ~/bin/ff
>>> chmod 755 ~/bin/ff 
>>>
>>> #Then:
>>> . .bashrc
>>> ff 
>>>
>>> # Enjoy...   :)
>>> # ET 
>>>
>>>
>>> joe at actionline.com writes: 
>>>
>>>> ET wrote:
>>>>> You can't 'correct' problems, developers would have to do that.
>>>>> But you can hide them:
>>>>> firefox >/dev/null 2>&1 &
>>>>
>>>> Thanks ET ... 
>>>>
>>>> So, I tried this: 
>>>>
>>>> firefox test.htm >/dev/null 2>&1 & 
>>>>
>>>> And that seemed to mask the problem,
>>>> although I still wonder if there might
>>>> be some way to further address the problem. 
>>>>
>>>> Also, I wonder if there is a way to make
>>>> a script named 'ff' so I could just do: 
>>>>
>>>> ff test.htm 
>>>>
>>>> to get that same /dev/null result? 
>>>>
>>>> Joe 
>>>>
>>>> 
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>  
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list