leave & xargs
am 26.11.2007 08:27:07 von franziSo if i had quite understood,if i want to pass through the command
leave anothere command like shutdown -h 23:20,i need to do
$ leave 2320 |xargs shutdown -h 23:20 is that correct?
So if i had quite understood,if i want to pass through the command
leave anothere command like shutdown -h 23:20,i need to do
$ leave 2320 |xargs shutdown -h 23:20 is that correct?
On 2007-11-26, franzi
>
>
> So if i had quite understood,if i want to pass through the command
> leave anothere command like shutdown -h 23:20,i need to do
> $ leave 2320 |xargs shutdown -h 23:20 is that correct?
What does the leave command do? Shutdown doesn't need more arguments
unless you want to give a reason for the shutdown.
On 26 Nov, 10:44, Bill Marcum
> On 2007-11-26, franzi
>
>
>
> > So if i had quite understood,if i want to pass through the command
> > leave anothere command like shutdown -h 23:20,i need to do
> > $ leave 2320 |xargs shutdown -h 23:20 is that correct?
>
> What does the leave command do? Shutdown doesn't need more arguments
> unless you want to give a reason for the shutdown.
it reminds you that you have to leave
"franzi"
news:5610ee57-9ef9-483a-9257-1940b234e3e9@x69g2000hsx.google groups.com...
> On 26 Nov, 10:44, Bill Marcum
>> On 2007-11-26, franzi
>>
>>
>>
>> > So if i had quite understood,if i want to pass through the command
>> > leave anothere command like shutdown -h 23:20,i need to do
>> > $ leave 2320 |xargs shutdown -h 23:20 is that correct?
>>
>> What does the leave command do? Shutdown doesn't need more arguments
>> unless you want to give a reason for the shutdown.
>
> it reminds you that you have to leave
xargs is meant to split command lines into chunks that don't exceed the max
length
here it doen't make sense, as calling shutdown more than once doesn't buy
much.
You could use:
shutdown -h 23:20 $(leave 2320)
and hope leave's output isn't too long to fit a single command line
Bye, Jojo
franzi
> it reminds you that you have to leave
shutdown warns users to log off. And if you ignore this warning, it
shuts down anyway.
You don't need "leave."
You can run "leave" in your non-root window, and run "shutdown" in a
root window if you wish. Try it and see if you like it.
On 27 Nov, 13:16, Maxwell Lol
> franzi
> > it reminds you that you have to leave
>
> shutdown warns users to log off. And if you ignore this warning, it
> shuts down anyway.
>
> You don't need "leave."
>
> You can run "leave" in your non-root window, and run "shutdown" in a
> root window if you wish. Try it and see if you like it.
thanks to all