[05:24] good morning :) [05:59] Morning [06:19] morning superfly and others [06:19] morning Kilos [06:19] and sakhi and bmg505 [06:32] superfly, how do you see what graphics card is in your pc without removing the cover and looking at the card please [06:33] lspci [06:33] ty [06:44] hiya maiatoday [06:45] hi Kilos [07:05] môre maiatoday [07:24] hi superfly [07:25] meh. typical. [07:25] Why hire one senior developer, when you can hire two juniors for the same price? [07:26] Because you think you'll get twice the output, when in fact you'll only get half the output. [07:42] true [09:07] guys where is the graphics card here please [09:07] http://slexy.org/view/s21xaBrzfN [09:07] am i totally blind [09:08] 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express [09:08] Integrated Graphics Controller (rev 10) [09:09] oh is that onboard? [09:09] ek aanvaar so ja [09:09] not a plugin one [09:09] hi jan [09:09] Hi Kilos [09:09] Langjan, [09:10] do you have a graphics card or are you using the onboard grahics [09:10] dankie Kerbero [09:10] plesier [09:11] How do I find out? [09:11] lol you look where your screen is plugged in [09:11] Kilos, as far as I know its on board [09:12] your lspci shows 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express [09:13] What does that imply? [09:14] i am not sure why [09:14] um [09:14] why its got all nvidia drivers if there isnt a nvidia card plugged in [09:15] Must I open up and have a look? [09:16] But seems like its not using nvidia? [09:17] look at the back and see if screen plugged in at the motherboard level [09:17] or in one of the slots right angled from the motherboard [09:23] Difficult to say like that, its in the same area where all the sound, mouse, ethernet etc. cables are connected. [09:25] ok look inside and see if the screen is plugged into a connection on the motherboard or if its in another card plugged into the motherboard [09:25] I opened up, its directly into the motherboard [09:25] ok [09:25] now we need help from clever guys [09:26] that's why I'm talking to you... [09:26] i dont know if intel uses the nvidia drivers [09:26] nee man [09:26] ja man [09:27] lets first make a backup so you dont lose everything [09:27] intel graphics smost certainly doesn't need nvidia drivers. Neither does an nvidia graphics card, nouveau is fine for non-gaming [09:27] you have a spare partition somewhere hey? [09:27] the only thing that's not backed up is my emails [09:28] tumbleweed, can we purge all nvidia stuff then [09:28] everything else is on 11.04 on the other hard drive, oh except my firefox passwords [09:29] passwords are not major issue, but emails is [09:29] where do you have the spare partition Langjan [09:29] Kilos: just don't even care about it [09:30] Kilos: standard ubuntu intalls include drivers for all sorts of things you don't have [09:30] tumbleweed, its giving hassles with dpkg configuring [09:30] right, get rid of it :) [09:31] tumbleweed, I like your drift [09:31] im scared he ends up with a blank screen [09:31] hehe [09:31] me too, nervous hehe [09:31] Langjan: have you checked lspci? [09:31] ok Langjan [09:31] one does get onboard nvidia graphics [09:32] first we gotta work out how to make email backup with thunderbird [09:32] tumbleweed, kilos made me check lspci [09:32] maak 'n copy van /home/*/.thunderbird [09:34] Kerbero, gee asb die vole command [09:34] volle [09:34] wel [09:34] Langjan, have you got a usb stick [09:34] yes [09:34] gaan in nautilus in, show hidden files bo in die view menu, en copy daai directory erens heen [09:35] ok Langjan lets see if we get this right [09:35] nautilus? onthou eks die oudste op die skinderkanaal... [09:35] open home [09:35] lol [09:37] scroll through all the files in home and you should see .thunderbird [09:38] I have been looking hard for that file for a few days, cannot find it [09:38] do you see lots of files in home Langjan [09:39] Not too many, mostly my documents [09:39] ok go to view and [09:39] um [09:39] view hidden [09:39] tick it [09:39] and some msf files that I put there [09:40] shows the same files [09:40] if you tick view at the top you will see an option show hidden files [09:41] it is ticked, still shows the same files [09:41] i see over 60 folders and files [09:41] and sbd files [09:42] * inetpro wonder of Langjan in die 'home' vouer is [09:42] lots of files with a . in front [09:42] not here [09:42] are you in home Langjan [09:43] places home [09:43] It says jan/home [09:43] then scroll [09:43] open again [09:43] home/jan/home again [09:43] should be /home first then only jan [09:43] you must be in first home [09:43] before jan [09:44] Kilos: nee, in home/jan [09:44] that one has one folder in it named jan [09:44] sec i just look again [09:44] maar jan is die sogenaamde 'home' vouer [09:45] o ja skuus man [09:45] daarin lê al die verskuilde vouers wat met 'n . begin [09:46] now if you scroll there there must be lotsa files [09:46] maar hoekom sien hy hulle nie [09:46] Kilos: omdat hy in /home/jan/home was [09:46] ok nou is ek daar [09:46] sjoe ek was bekommerd [09:47] sien jy nou .thunderbird [09:47] .thunderbird ja [09:47] ek dink dis die een wat jy moet copy na ander plek toe [09:47] is dit reg inetpro ? [09:48] Langjan: just make sure that when you copy thunderbird files that you have closed the application [09:48] ek dof met thunderbird [09:48] dis 2,1 gig, te veel vir my drive [09:48] Kilos: ja alles vir thunderbird is daarbinne [09:48] mooi dankie [09:48] evolution has a backup facility [09:49] saves all settings and existing mails [09:50] so must I install evolution? [09:50] we need info from a thunderbird man to know how to make thunderbird backups [09:51] Langjan: no, just backup your .thunderbird directory [09:51] no we must save all thunderbird info so you dont lose it if we purge nvidia and you got a black screen [09:52] preferably on my other hard drive? [09:52] Kilos: ^^ [09:52] save it to your usb stick Langjan [09:52] its too much for my little stick, lol [09:52] Langjan: anywhere where you won't overwrite it, even accidentally [09:52] ok onto another drive or cd [09:53] ty superfly [09:53] CD is also too small, dvd? [09:53] ja dvd fine [09:53] if you can write to dvd, go ahead [09:54] I think my spare hard drive will be better? [09:55] Kilos: getting a blank screen does not mean that your files will be lost [09:55] anywhere you wont lose it if you need to reinstall [09:55] ja inetpro but he wont know how to get back here to get help [09:56] ok [09:56] im scared it goes blank and he must reinstall maverick [09:57] Langjan: don't install evolution just so you can make a backup [09:57] backing up a folder is peanuts if you just know how [09:58] ok, how do I access the spare drive to backup onto, it does not seem to give me an option to create a folder [10:00] dont you see the spare drive when you go places Langjan [10:00] yes I do [10:00] open it there [10:01] then drag and drop what you want to save to a folder in it [10:01] Langjan: make sure you can create a folder first [10:01] any folder? [10:01] or make a folder on your desktop and name it backup [10:02] yes, in other words, test whether the partition is writable [10:02] then drag that to the spare drive [10:02] ok its backing up 2,8 gigs [10:02] skuus inetpro ek tik nog en sien nie jy't klaar gese wat om te doen nie [10:02] always make sure that you COPY and not MOVE [10:02] sjoe so much [10:03] I can see the drives but am not sure which is which and where the partition is [10:03] when you move data and run into errors you stand a chance to loose data [10:04] should be the option of right clicking on it and go copy to [10:05] Langjan: open two windows with the files and folders [10:05] i think drag and drop copies to other drives but moves on its own drive [10:05] one window with the source folder and the other you make sure that you're in the destination [10:06] in the source folder you rightclick the folder you want to copy and choose copy [10:06] in the destination window you right-click in an open space and choose paste [10:07] Langjan: how much diskspace do you have on the backup device? [10:08] inetpro, what do you mean by "open two windows with the files and folders"? [10:08] 1 gig [10:09] eish [10:09] no man [10:09] Langjan: you open nautilus twice [10:09] that drive is big isnt it [10:09] or what are you using as the file manager? [10:09] thats my flash drive, my soare hard drive is 160 gig [10:10] spare [10:10] Langjan: so copy it to the spare hdd [10:10] thats what I think, only getting totally confused now [10:11] Langjan: take it slow and make sure you understand each step before you do it [10:12] I copied the files to my desktop and also to the desktop on what I think is the spare hard drive [10:12] slow down take a deep breathe [10:12] hehe [10:12] all yours inetpro [10:12] hmm... [10:14] Langjan: have you ever used the terminal [10:14] ? [10:14] yes [10:14] * inetpro feels much more at home with the terminal [10:15] Langjan: df -h [10:15] please paste the output of that ^^ [10:16] jan@jan-System-Product-Name:~$ df -h [10:16] Filesystem Size Used Avail Use% Mounted on [10:16] /dev/sdb6 55G 46G 6.4G 88% / [10:16] none 491M 264K 491M 1% /dev [10:16] none 497M 6.3M 490M 2% /dev/shm [10:16] none 497M 120K 496M 1% /var/run [10:16] none 497M 0 497M 0% /var/lock [10:16] /dev/sdb1 87G 9.2G 74G 12% /media/7602f1e5-f372-44fc-8fdd-34965ac12073 [10:16] /dev/sda1 144G 19G 118G 14% /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:17] sjoe [10:17] funny names [10:19] inetpro, if it helps, I have copied that file in 2 places onto the spare hard drive [10:19] inetpro, can i just ask you something [10:19] ok so /dev/sdb1 is 87GB and /dev/sda1 is 144 GB both seem to have more than enough space available [10:19] Kilos: sure [10:20] Langjan: du -hs /home/jan/.thunderbird [10:20] we tried sudo chown -R jan:jan /home/jan/ [10:20] it said permission denied [10:20] even from root [10:21] Kilos: why, that should never be necessary [10:21] its one config file causing all the probs [10:21] ls -ld /home/jan/ [10:21] mixed with bumblebee and nvidia [10:22] everything in your home folder should always have the permissions of the logged in user [10:22] Langjan, paste bin that to http://slexy.org [10:22] 2.4G /home/jan/.thunderbird [10:23] ok Langjan which folder did you copy it to on /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 ? [10:24] Langjan: ls -ld ~/ [10:24] just closed it, will have to get back [10:25] Kilos: 'ls -ld /home/jan/' is the same as 'ls -ld ~/' [10:25] and that shoudl just give you one line of output [10:25] should* [10:25] ah sorry [10:25] no need to be sorry [10:26] drwxr-xr-x 57 jan jan 12288 2011-11-30 10:51 /home/jan/ [10:26] i remeber some ls commands that were miles long [10:26] ok the home folder is still perfect [10:27] ok now let's do this [10:27] ls -ld /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:28] drwxr-xr-x 22 root root 4096 2011-11-27 23:48 /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:29] hmm... there's a problem [10:29] why is it mounted a root? [10:29] as root* [10:29] expain as you go please [10:30] explain as well [10:30] then again, is that an internal disk? [10:30] forgotten all those read write things [10:30] yes [10:30] ah [10:30] ok Langjan, please pastebin the following if it's longer than 3 lines [10:31] ls -la drwxr-xr-x 22 root root 4096 2011-11-27 23:48 /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:31] hmm... there's a problem [10:31] eish [10:31] ls -la /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:32] * inetpro copied and pasted accidentally... just do the last line [10:32] ls -la /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:33] drwxr-xr-x 22 root root 4096 2011-11-27 23:48 /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:33] hmm... [10:33] ls -la /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424/ [10:33] hang on [10:34] please do: ls -la /media [10:34] I'm sure those long names are just soft links [10:34] total 16 [10:34] drwxr-xr-x 4 root root 4096 2011-11-30 11:01 . [10:34] drwxr-xr-x 22 root root 4096 2011-11-22 12:55 .. [10:34] drwxr-xr-x 22 root root 4096 2011-06-19 16:25 7602f1e5-f372-44fc-8fdd-34965ac12073 [10:34] drwxr-xr-x 22 root root 4096 2011-11-27 23:48 fd52e2ba-e2dc-4ece-a831-c64dc69c8424 [10:35] hmm... not? [10:35] ok [10:35] ls -la /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424/ [10:36] note the slash at the back [10:36] Big outcome, must I paste it here? [10:37] pastebin please [10:37] http://slexy.org please Langjan [10:37] of http://pastebin.com/ .... maak nie saak waar nie [10:37] the ubuntu one hangs my machine for some reason [10:39] i think slexy is a lightweight one [10:39] np [10:41] http://pastebin.com/VFA9rdKK [10:42] Langjan: sorry if I sometimes take a while before responding... getting interrupted by work [10:43] Fine thanks inetpro grateful for the help. [10:44] Langjan: hmm... that looks like a previous or a new installation. Do you still plan to use it as that? [10:45] Are you refering to my other hard drive? [10:46] Langjan: this is /media/fd52e2ba-e2dc-4ece-a831-c64dc69c8424/ which is mounted on /dev/sda1 [10:47] Sorry, I have no idea what that means. [10:49] that was natty i think inetpro [10:49] hmm... when you installed you must have skipped this partition unknowingly or on purpose and it's now just mounted as if it's an external drive [10:49] 11.04 hey Langjan ? [10:50] probably [10:51] /dev/sda is typically your first physical drive [10:51] /des/sda1 is the first partition on that drive [10:51] /dev/sdb is the 2nd physical drive [10:52] oops... /dev/sdb1 is the first partition on that drive [10:52] then you get /dev/sda1, /dev/sda2, /dev/sda3.... [10:53] and /dev/sdb1, /dev/sdb2, /dev/sdb3.... and so on [10:54] your system root folder is always mounted as / [10:55] in your case Langjan your root folder is mounted on /dev/sdb6 [10:55] that seems to be the 6th partition on your 2nd physical drive [10:55] inetpro, when I installed 11.04 I selected a partition, I think about 4 gigs but I have to learn about identifying what is where [10:56] it does not really matter which partition you choose, what is important is that you know what is where [10:56] these partitions seem to multiply uncontrollably every time a new upgrade is instakled [10:57] it's a bit of a nightmare to me, I have no idea where what is [10:57] Langjan: that's why it's best to take control and choose the partition scheme yourself [10:57] during the installation you can choose auto or manual at some point [10:58] in my honest opinion its safer to install with only one hdd plugged in at a time [10:58] for us dom mense anyway [10:58] inetpro, I have to be rude and ask if we can take this further at a later stage when convenient for you [10:59] Langjan: hehe, I would not call that rude [10:59] I'd apreciate that :-) [10:59] later Langjan i see more on bumblebee and nvidia [10:59] we will discuss it later [11:00] many thanks, will try to identify what's where meanwhile [11:00] Langjan: before you go [11:00] yes? [11:00] perhaps some reading will help you understand things [11:00] ok [11:00] hang on while I look for it [11:01] thanks [11:01] just and idea here. looks like bumblebee makes nvidia graphics better [11:01] but there is no nvidia card so maybe thats the start of the problem [11:02] how can you configure nvidia graphics without a nvidia graphics card [11:03] vra jy my? [11:03] nee ek se ek dink daar kom die probleem in [11:03] ok, ek dog net jy dink ek is so slim... [11:04] you should just be using ubuntu stuff and intel [11:04] lmga [11:04] lol [11:04] ha ha [11:04] learnt that a long time ago [11:04] lyk my as jy bumblebee kan kry om te werk is jy baie slim [11:05] dis hoekom my BB nie werk nie [11:05] Langjan: the following doc should give you lots of the background http://tldp.org/HOWTO/Partition/ [11:05] Many thanks inetpro [11:06] Ons gesels weer later [11:06] even if it may be a bit old and not very specific to ubuntu it's still very valid [11:06] thanks, will have a look [11:06] take care, until next time [11:06] cheers Langjan [11:06] dankie inetpro [11:06] bye kilos [11:07] Kilos: np [11:07] Langjan: jy's welkom [11:07] baie dankie [11:08] eks seker nou sy prob kom van bumblebee en nvidia [11:08] en hy het nie eers n nvidia kart in nie [11:09] Kilos: don't make assumptions [11:09] Kilos: I don't even know what this bumblebee is [11:09] Maaz: define assumption [11:09] inetpro: Assumption \As*sump"tion\ (?; 215), n. [OE. assumpcioun a taking up into heaven, L. assumptio a taking, fr. assumere: cf. F. assomption. See {Assume}.] 1. The act of assuming, or taking to or upon one's self; the act of taking up or adopting. [1913 Webster] The assumption of authority. --Whewell. [1913 Webster] 2. The act of taking for granted, or supposing a thing without proof; supposition; unwarrantable claim. [1913 W [11:10] YaaawwN [11:14] http://www.omgubuntu.co.uk/2011/06/bumblebee-gets-a-ppa-brings-nvidia-optimus-graphics-switching-to-ubuntu/ [11:16] inetpro, we been battling months nowbecause he couldnt install or update because dpkg cant conf to an extra file that i am sure bumblebee or/and nvidia opened and tried to configure to [11:17] inetpro [11:18] here is the reason i tried to chown his /home/jan [11:18] chown: cannot access `/home/jan/.gvfs': Permission denied [11:21] i have no idea what .gvfs is [11:23] and how can it deny permission after chown /home/jan/ [11:24] Kilos: I think it may be because the files/folders were in use at the time [11:24] ah that makes sense [11:26] so ctrl+alt+f2 should get in before that hey? [11:28] * Kilos wishes that pc was in front of me [11:28] Kilos: no [11:28] got a big 14lb hammer for trouble pcs [11:28] oh my [11:29] maybe better he does a clean install now he has backups [11:30] if you really have to change the ownerships and permissions then you can always add another user and login as that user before changing [11:30] and stays away from bumblebee and nvidia [11:30] but there really should be no need to change ownership and permissions in the home folder unless you messed up [11:31] can a second user change permissions on the main users files etc? [11:31] Kilos: no [11:31] but root can [11:32] i tried to chown from root as well [11:32] sudo -i then chown -R jan:jan /home/jan/ [11:32] Kilos: the fact is that many files and folders in your home folder are in use by the window manager the moment you login [11:32] it still said permission denied [11:32] by the window manager and applications [11:33] sjoe [11:34] Kilos: 30/11 13:30:42 but there really should be no need to change ownership and permissions in the home folder unless you messed up [11:34] ok [11:35] if you remember he was here a few months back with the same dpkg prob [11:36] anyway we will see what the outcome is when you and he get together again [11:36] im sure its nvidia and bumblebee [11:37] ill be back tonight guys. have a good day [11:37] thanks for the help [13:37] inetpro, can you give me the right command to use mtr to http://google.co.za please [13:37] i read man mtr but cant work out what do actually do [13:38] vodacom says they coming here tomorrow to check and i would like them to see the packet losses [13:38] Kilos: s#http://google.co.za#google.co.za# [13:39] without putting mtr in? [13:39] or is that after the mtr [13:40] Kilos: echo mtr http://google.co.za | sed -e 's#http://google.co.za#google.co.za#' [13:41] ty [13:41] :-) [13:41] Kilos: mtr google.co.za [13:42] ha ha en nou wat was daai lang echo storie [13:43] Kilos: kyk wat gebeur as jy dit hardloop [13:43] dit doen niks [13:43] echo mtr http://google.co.za | sed -e 's#http://google.co.za#google.co.za#' [13:43] copy en paste die hele lyn [13:44] miles@P4:~$ echo mtr http://google.co.za | sed -e 's#http://google.co.za#google.co.za#' [13:44] mtr google.co.za [13:44] ahh [13:44] niks meer nie [13:44] maar dis mos presies wat jy nodig het [13:44] huh [13:45] dit loop dan nie [13:45] echo mtr http://google.co.za << dis mos maklik ne? [13:45] Kilos: jy verstaan die eerste stukkie? [13:46] miles@P4:~$ echo mtr http://google.co.za [13:46] mtr http://google.co.za [13:46] Kilos: jy verstaan die eerste stukkie? [13:46] is dit soos n ping [13:46] nee man vergeet eers van mtr [13:47] ek probeer jou wysmaak wat beteken s#http://google.co.za#google.co.za# [13:47] im lost [13:47] o [13:47] jy gaan sukkel [13:48] Kilos: dit beteken eenvoudig vervang 'http://google.co.za' met slegs 'google.co.za' [13:48] m.a.w. vergeet van die 'http://' [13:48] hehe [13:49] o [13:49] Kilos: kom ons probeer weer [13:49] ek moet net gebruik wat dit se na ek die echo ding gedoen het [13:50] echo abc | sed -e 's/abc/ac/' [13:50] Kilos: yep [13:50] sjoe [13:51] echo vervang iets met niks | sed -e 's/iets/niks/' [13:52] sjoe [13:52] daai abc ene is net ac [13:52] Kilos: yep [13:53] ok so as ek net echo mtr http://google.co.za doen sal dit my die regte opdrag gee [13:53] ek kyk gou [13:53] Kilos: nee [13:54] ai [13:54] vergeet van die echo en vergeet van die http:// [13:54] sjoe [13:55] Kilos: mtr google.co.za [13:55] ja dit werk [13:56] maar hoekom gee jy al die echo goed eers? [13:56] om my kop te laat opblaas [13:56] hehe [13:57] Kilos: ek's maar net vol nonsens en leer jou so bietjie meer :-) [13:57] ha ha ha [13:57] jou strond [13:57] Kilos: jy sal sien dat ouens baie keer die 'search & replace' funksie van sed gebruik [13:58] my syn eintlik baie beter [13:58] as ek byvoorbeeld 'n spefout gemaak het dan sê ek [13:58] min wat 90% verloor [13:58] s/spefout/spelfout/ [13:59] Kilos: jy weet mos wat dit ^^ beteken? [13:59] maar jy moes dit als self intik [13:59] Kilos: obviously [14:00] sjoe is dit nie maklikker om net *spelfout in die volgende lyn te tik nie [14:00] Kilos: verstaan jy wat dit beteken as ek skryf 's/spefout/spelfout/' ? [14:00] nee oompie [14:01] behalwe dat die tweede een die regte spelling is [14:01] Kilos: dit beteken maak die woord 'spefout' reg en vervang dit met 'spelfout' [14:01] of dan soek vir 'spefout' en vervang met 'spelfout' [14:02] ok ek verstaan as julle dit doen na n fout [14:02] mooi [14:02] maar dis so baie tikwerk [14:02] Kilos: nou waar dink jy kom die gebruik daarvan vandaan? [14:02] ? [14:03] dit kom van 'sed' [14:03] Kilos: man sed [14:03] wie en wat is sed [14:03] ok [14:03] lol [14:03] sed = stream editor [14:04] ek sien so [14:04] maar in jou eerste echo command was dit baie om te tik [14:04] nou een van die baie funksies van sed is die 'search & replace' funksie [14:04] Kilos: there's method in the madness [14:05] somtyds is dit minder tik [14:06] sjoe soos die ene echo abc | sed -e 's/abc/ac/' [14:06] Kilos: somtyds het jy lang lyne in 'n teks soos byvoorbeeld HTML kode [14:06] dis klomp goed om te onthou en mooi reg in te tik om by ac uit te kom [14:07] en sê maar jy moet alle website addresse met http:// voor aan vervang met geen http [14:07] dan kan jy byvoorbeeld die volgende doen [14:07] in mtr ne [14:08] en ek gebruik maar net 'n eenvoudige enkel voorbeeld met echo [14:08] echo http://my.web.adres with some more text | sed -e 's#http://##' [14:09] Kilos: nee mtr het niks met die saak te doen nie [14:10] in die geval waar jy '//' karakters wil vervang dan gebruik ek eenvoudig s'#http://##' in plaas van 's/http:////' [14:11] inetpro, daar is niks eenvoudig met dit nie [14:11] ag nee man :-) [14:11] miskien as jy 20 jaar in IT is ja [14:11] so eenvoudig soos val uit 'n boom uit [14:11] ha ha ha [14:12] as net een spasie verkeerd is dan neuk dit als op [14:13] jy's net lus om my te straf weer vandag [14:13] Kilos: ok, ok, miskien is dit die '|' (pipe karakter) wat ook nog vir jou vreemd is? [14:14] ek sukkel altyd om dit te kry vit 303 se niek [14:15] * inetpro lol [14:16] jy vergeet , as dit nie n outomatiese funksie was nie het ek vergeet om asem te haal [14:16] Kilos: echo -e "lyn1\nlyn2\nlyn3" [14:17] wat kry jy? [14:17] lyn1 [14:17] lyn2 [14:17] lyn3 [14:17] aha [14:18] sien dis nie net echo nie [14:18] echo -e "lyn1\nlyn2\nlyn3" | grep lyn2 [14:18] en nou? [14:18] wat doen die -e daar [14:18] lyn2 [14:18] in rooi [14:19] Kilos: dis maar net om vir echo te sê dat ons spesiale karakters soos \n gaan gebruik [14:19] die \n karakter is die "newline" karakter [14:20] carriage return + line feed [14:20] ok verstaan jy wat gebeur het met die lyn? echo -e "lyn1\nlyn2\nlyn3" | grep lyn2 [14:20] nee [14:21] ek sien nie hoe dit lyn1 en lyn3 uitgehaal het nie [14:21] ons gooi die drie lyne in 'n pyp '|' en stuur dit vir die volgende program 'grep' [14:22] ah [14:22] als na lyn2 toe [14:22] nee [14:22] lmga [14:23] nou het lyn1 en 3 in die pyp verdwyn [14:23] grep soek net vir jou elke lyn wat uit die pyp kom waarin die woor lyn2 voorkom [14:23] woord [14:23] oh [14:24] nou hoekom sal jy so iets wil doen [14:24] tik net lyn twee dan [14:24] Kilos: dis maar net om vir echo te sê dat ons spesiale karakters soos \n gaan gebruik [14:24] lyn2 [14:24] oops [14:24] ok kom ons vat nog 'n voorbeeld [14:24] haha [14:25] gee kans [14:25] wat het jy geeet vandag? [14:25] baie eiers [14:26] jy vol yokes [14:26] echo -e "Naam: Koos Kombuis\nBert Cotzee\nKoos du Plessis" [14:27] echo -e "Koos Kombuis\nBert Cotzee\nKoos du Plessis" [14:27] vergeet maar eers van Naam [14:28] Kilos: ok, praat ons teveel? [14:28] ok ek sien [14:29] ek wil maar net klaar verduidelik, maar ons kan ook by #ubuntu-afr aangaan as jy wil [14:29] of ek kan helemal ophou [14:29] as jy wil [14:30] ek kan nie verstaan hoekom jy al die moetie doen as net hulle name kan tik anyway [14:30] Kilos: dit is net 'n voorbeeld om by my punt uit te kom [14:31] sjoe [14:31] die punt is om vir jou te verduidelik wat 'n '|' (pyp) karakter doen en dan ook 'n eenvoudige voorbeeld van die sed program [14:32] Kilos: net sodat jy kan verstaan [14:32] jy hoef dit nie te onthou nie [14:32] sjoe [14:33] Kilos: amper klaar [14:33] echo -e "Koos Kombuis\nBert Cotzee\nKoos du Plessis" [14:33] en nou [14:33] echo -e "Koos Kombuis\nBert Cotzee\nKoos du Plessis" | grep Koos [14:34] my recovery mode boots into root prompt, any ideas why? [14:35] afrodeity: is that not what you want? [14:36] Kilos: skuus, ek sal ophou [14:36] afrodeity: BTW, wb [14:36] hehe [14:37] sal jou terug kry [14:37] ai [14:37] ha ha [14:54] o inetpro daai grep het net die koosies gevat [14:56] Kilos: verstaan jy die konsep? [14:57] min of meer ja [14:57] echo -e "Koos Kombuis\nBert Cotzee\nKoos du Plessis" | sed -e 's/Koos/Gert/' [14:57] maar dit baie ingewikkeld [14:58] ah [14:58] rename koos [14:58] ahh [14:58] Kilos: hoe meer jy dit sien en gebruik hoe minder vreemd lyk dit [14:58] lol [14:59] eintlik baie eenvoudig [14:59] sjoe [15:00] Kilos: maar dit het niks met mtr te doen nie :-) [15:00] echo -e "Koos Kombuis\nBert Cotzee\nKoos du Plessis" | sed -e 's#Koos#Gert#' [15:02] ek sien so [15:05] die s#koos#gert# rename koos na gert toe [15:06] thats why as jy verkeerd spel doen jy s/ hoekom nie s# nie [15:06] Kilos: die # lyk maar bra lelik [15:06] maar dit sal dieselle werk [15:07] Kilos: maar om dit om irc te gebruik is maar net om windgat te wees [15:09] many a true word spoken in jest [15:09] Kilos: maar as almal die konsep verstaan is dit baie keer makliker om dit so te skryf as om uit te spel dat jy jammer is dat jy 'n fout gemaak en dat jy eintlik iets anders wou geskryf het [15:09] jy het vergeet s/om/op/ [15:09] ha ha ha [15:10] tik net die regte spelling in die volgende lyn [15:10] Oom Kilos !!!! [15:10] lo bakuman [15:10] hoezit [15:11] i be back in 5 mins or so [15:12] \o/ [15:18] back [15:18] \o/ [15:18] partytjie tyd!!! [15:19] lol [15:32] bbl [18:01] evening all [18:02] inetpro, no more sed or grep [18:02] bad for the head [18:21] Maaz, coffee on [18:21] * Maaz flips the salt-timer [18:22] Maaz, rusks please [18:22] Top shelf behind the calender [18:25] Maaz, offer the lurkers some coffee [18:25] Hey there all you guys out in the cold. Bring your mugs and have a cuppa with us [18:25] Coffee's ready for Kilos! [18:26] Maaz, thank you [18:26] Kilos: Okay :-) [18:47] * Kilos wonders if neil is home yet [18:47] thats like 12 hours flying time === jpm is now known as Kerbero [18:56] hi BOB with a pipe [18:56] lol [18:57] 2 pipes sorry [19:23] hmmm, how much would a pent 3 cost? [19:24] if you pay more than a good meal then reconsider it [19:24] imho [19:24] :O [19:25] p3 is 5 or 6 cpu generations ago? [19:25] yeah [19:25] fancy phones can outrun them [19:26] so roughly less than a happy meal [19:26] :P [19:27] but seriously [19:27] cost +- [19:40] p3 is throwaway [19:40] p4 i'll take for free [19:40] core 2 i might pay for [19:44] lol! [19:45] LOL [19:45] hi drubin [19:45] you seem bored drubin [19:45] you enjoying that [19:47] zeref, you will find that trying to get ram for a P3 is difficult and expensive [19:48] i paid nearly a rand a meg 2 years ago [19:48] R200 for 250m ram [19:48] luckily my P4 uses same ram [19:50] i dunno what happy meals cost [20:02] http://slexy.org/view/s21F67hc2q [20:02] thats for the clever younguns [20:03] yeah, did that happen to you? [20:04] at times i feel everyone here is saying the same things about me [20:04] i make lotsa I D ten T errors [20:04] well, you use ubuntu [20:04] which makes it ok [20:05] yay ty [20:06] i have even had school kids help me here [20:06] ha ha ask squirm [20:07] o [20:07] hello [20:07] hiya squirm you well lad [20:07] ah I'm doing ok hey. yourself? [20:08] just telling Kerbero first time you helped me you were still in school [20:08] im good ty [20:08] Kerbero: Not really [20:12] I don't really help people here unfortunately. I would if I could but my knowledge is limited [20:15] im still thankful for the help you gave me when i still thought pcs were only for very clever people [20:15] night all of you sleep tight [20:15] see yas tomorrow [20:16] nag [20:25] Maaz: tell Kilos it is always a pleasure! [20:25] drubin: Sure, I'll tell Kilos on freenode [20:27] if i want to put a date selector in a form on a webpage [20:27] what is the best/easiest way to do it? [20:29] Kerbero: Jquery date plugin [20:29] ok [20:36] hmmm [20:52] zeref: and what's that all about? [21:11] inetpro: ? [23:25] anybody here?