code logs -> 2012 -> Sun, 12 Feb 2012< code.20120211.log - code.20120213.log >
--- Log opened Sun Feb 12 00:00:47 2012
00:39 Jasever is now known as AnnoDomini
00:39 Aeron is now known as EvilDarkLord
00:39 AnnoDomini [annodomini@Nightstar-bd2f5f93.80-203-16.nextgentel.com] has quit [[NS] Quit: Zzz.]
00:41 Anna is now known as Ling
00:42 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has quit [Ping timeout: 121 seconds]
00:43 Tarinaky [tarinaky@Nightstar-dd7e4a05.net] has joined #code
01:11 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
01:22 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
02:02 Kindamoody[zZz] is now known as Kindamoody
03:19 maoranma [maoranma@Nightstar-83086163.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
03:28 Derakon is now known as Derakon[AFK]
03:46 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
03:47 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
03:53 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
03:55 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
04:15 Attilla [Obsolete@Nightstar-9ecc7891.as43234.net] has quit [Ping timeout: 121 seconds]
04:19 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
05:20 maoranma [maoranma@Nightstar-83086163.pools.spcsdns.net] has joined #code
05:24 Derakon[AFK] is now known as Derakon
05:26
< maoranma>
Well, that was interesting. Consumed my first starfruit.
05:50 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:11 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:55 eckse [eckse@Nightstar-b6d3ab1d.dsl.sentex.ca] has quit [Connection reset by peer]
06:58 Derakon is now known as Derakon[AFK]
07:00 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
07:04 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
08:15 ErikMesoy|sleep is now known as ErikMesoy
08:23 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:31 ErikMesoy [Erik_Mesoy@Nightstar-bd2f5f93.80-203-16.nextgentel.com] has left #code []
09:12 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
09:26 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
11:25 Kindamoody is now known as Kindamoody|out
11:46 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Leaving]
11:49 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
12:33 Attilla [Obsolete@Nightstar-9ecc7891.as43234.net] has joined #code
13:18 Kindamoody|out is now known as Kindamoody
13:45 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
13:59 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
14:22 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:25 Attilla_ [Obsolete@Nightstar-9ecc7891.as43234.net] has joined #code
14:27 Attilla [Obsolete@Nightstar-9ecc7891.as43234.net] has quit [Ping timeout: 121 seconds]
14:49 Attilla_ is now known as Attilla
15:11 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:11 mode/#code [+o Syloqs_AFH] by ChanServ
15:12 Syloqs_AFH is now known as Syloqs-AFH
15:35 Kindamoody is now known as Kindamoody|out
15:57 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has quit [Ping timeout: 121 seconds]
16:10 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
16:13 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out]
16:23 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
16:24 mode/#code [+o Vash] by ChanServ
16:44 Kindamoody|out is now known as Kindamoody
16:46 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
16:46 mode/#code [+ao Derakon Derakon] by ChanServ
17:22 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
17:29 Derakon1 [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
17:30 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [NickServ (GHOST command used by Derakon1)]
17:30 Derakon1 is now known as Derakon
17:30 mode/#code [+ao Derakon Derakon] by ChanServ
18:25 eckse [eckse@Nightstar-47a5b3cb.dsl.sentex.ca] has joined #code
18:25 mode/#code [+o eckse] by ChanServ
18:26 Kindamoody is now known as Kindamoody[zZz]
21:06 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:18
<&Derakon>
...okay, there must be a way to do this directly.
21:18
<&Derakon>
I want to do "ls > list.txt" in a directory where I don't have write permissions. I do have sudo though.
21:19
<&Derakon>
But e.g. "sudo ls > list.txt" still gives me a permission-denied error.
21:19
<&Derakon>
I mean, obviously I could do the redirect to a directory where I do have write permissions and then sudo cp it over.
21:20
<&Derakon>
But I assume there's also a way to do it directly.
21:20
<~Vornicus>
sudo "ls > list.txt"
21:20
<&Derakon>
Ah.
21:22
<~Vornicus>
The original has the non-elevated shell parse out the redirect and do that itself.
21:23
<~Vornicus>
With the quotes, the elevated shell living within sudo does the redirection.
21:24 * Derakon nods.
21:27
<@Ling>
Alternatively: ls | sudo tee list.txt >/dev/null
21:27
<@Ling>
It's a bit more verbose though.
21:52 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
21:52 mode/#code [+o himi] by ChanServ
21:54
< celticminstrel>
What on earth does that one actually do, Ling?
21:54
<&Derakon>
tee splits the input stream to stdout and to a file.
21:55
<&Derakon>
So he takes the input from ls, sudo tees it into a file, and directs the normal stdout (also the output from ls) to /dev/null.
21:57
<@Ling>
^
21:57
<@Ling>
It's a bit nicer when you have a longer chain that has its own quotes in it.
21:58 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
23:23 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [Ping timeout: 121 seconds]
23:25 * gnolam arghls at LibreOffice.
23:28
<@gnolam>
When they decided to finally implement SVG import... why on Earth did they decide to implement it in such a way as to make it unusable? :P
23:44 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
23:44 mode/#code [+o Vash] by ChanServ
--- Log closed Mon Feb 13 00:00:01 2012
code logs -> 2012 -> Sun, 12 Feb 2012< code.20120211.log - code.20120213.log >

[ Latest log file ]