/srv/irclogs.ubuntu.com/2008/06/15/#ubuntu-classroom.txt

* lejon pokes jrib01:01
jribhi01:01
lejonHi there01:02
lejonjrib, could you here explain a little more about how ln works? I was going to try to make a symlink to trash so I dont have to go through /.local/share/trash/ to empty it01:04
jribsure01:05
jribln -s TARGET NAME01:05
jribTARGET is the path relative to where the symlink is created01:05
jriband NAME is what the path to the symlink itself is01:05
lejonso for that trash bin to be located in /home/lejon/trash I would have to write ln -s /.local/share/trash /home/lejon/trash?01:06
jribso to create ~/trash pointing to ~/.local/share/Trash/, you could do: ln -s .local/share/Trash ~/trash01:06
lejonah yeah thats right ~corresponds to home directory01:07
lejonso I could create a symlink and use it as a part of a script too? almost like a pointer in programming?01:08
jriblejon: sure kind of01:10
lejonjrib cool, seems like they are really useful, they work like shortcuts in windows but without the limitation of it having to be a folder or a executable?01:11
jriblejon: right, you can point to any file, including files on other partitions01:13
lejonwow, thats useful01:13
lejonon another subject, I know of the alias command and how to use it, but those aliases, where are they put and how do I make sure they still exist after I shutdown? Because it has happened that I make a couple of aliases but they dont work when ive rebooted01:14
* lejon pokes jrib01:15
jriblejon: you need to add them to your ~/.bashrc01:15
jriblejon: you'll see a note in the comments there about creating a ~/.bash_aliases if you want to be more organized01:16
lejonjrib what does that file do? because I read a guide and the author kept em in a .bash_aliases file, but that might have just been a symlink?01:16
jrib!rute01:16
ubottudocumentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com01:16
jribhttp://rute.2038bug.com <- this is an excellent read if you want to understand these kind of things.  I wish someone had given me this link when I started01:17
lejonjrib Ah I see, ill try that sometime, I think its maybe time for me to go to bed soon, its kindof late01:17
jriblejon: everytime a new bash shell starts it executes the commands in ~/.bashrc01:17
lejonah thanks ^^ I really appreciate ur help mate, sorry for my rudeness before01:17
jrib"rc" mans "run commands"01:17
jribs/mans/means01:17
lejonah!01:18
lejonjrib, you've given me alot of help now, I will try and experiment with this but now I gotta go to bed :P01:19
jriblejon: good night01:20
lejonjrib I might cya later or something01:20
lejonGood night sir01:20
lejonjrib, are you there?14:19
lejonjrib, think you could try to explain how to make a .bash_aliases file? I have to uncomment that check in .bashrc first and then create a file called .bash_aliases in my home directory?14:52
jriblejon: hey14:52
jriblejon: exactly14:52
lejonjrib and then in that file I define aliases by writting "alias ls=ls -a" and then save?14:53
jribshould be like:14:54
jribalias ls='ls -a'14:54
lejonwithin single qoutes, does it have to be?14:55
jribthe spaces need to be escaped somehow I believe.  '' is one way14:55
lejonor \ right?14:56
jribtry14:57
lejonjrib Will do, gotta go and throw some trash first ^^ I have also setup a VM and gonna download the x86 iso for xubuntu and start laborating14:57
jribhave fun14:58
lejon^^ Thanks for all the help so far mate, you realize that I am going to poke you alot probably? :P14:58
jribsure, if I'm around, I don't mind14:58
lejonCool, its people like you that lift up communities to what they are, keep the good work up mate *thumbs up*14:59
lejonjrib, you s till here?16:15
jriblejon: somewhat16:15
lejonjrib okay :P well I uncommented the check in .bashrc and made .bash_aliases and I have defined a few aliases with "alias blargh='ls\ -a'" but when I type the alias, it says command not found16:16
lejonsomething more I have to do?16:17
jribtwo things16:19
jribyou should just do: alias blargh='ls -a'16:20
jribyou should start a new terminal after doing that and check if it works16:20
lejonnot escape the spaces?16:20
lejonwell Ill try that then and see if it works16:21
jriblejon: if you use '', then you don't escape the spaces16:21
lejonur right, how stupid I am... that is like the basics of programming, gah! :P16:22
lejonthe '' indicates it whole as one string right, so therefor the space is already "there" in the string16:22
lejonit worked now, thanks for teaching me that :P16:23
jribnp16:26
lejonalso jrib, you know where the compiz config file is somewhere? I get a weird error about a invalid path that I should remove, but I dunno the name nor location of compiz config16:26
jriblejon: nope, try #compiz-fusion16:26
lejonjrib, will do16:27
=== stevie is now known as vorian
=== txwikinger2 is now known as txwikinger

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!