UbuntuIRC / 2008 /06 /15 /#ubuntu-classroom.txt
niansa
Initial commit
4aa5fce
[01:01] * lejon pokes jrib
[01:01] <jrib> hi
[01:02] <lejon> Hi there
[01:04] <lejon> jrib, 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 it
[01:05] <jrib> sure
[01:05] <jrib> ln -s TARGET NAME
[01:05] <jrib> TARGET is the path relative to where the symlink is created
[01:05] <jrib> and NAME is what the path to the symlink itself is
[01:06] <lejon> so 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] <jrib> so to create ~/trash pointing to ~/.local/share/Trash/, you could do: ln -s .local/share/Trash ~/trash
[01:07] <lejon> ah yeah thats right ~corresponds to home directory
[01:08] <lejon> so I could create a symlink and use it as a part of a script too? almost like a pointer in programming?
[01:10] <jrib> lejon: sure kind of
[01:11] <lejon> jrib 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:13] <jrib> lejon: right, you can point to any file, including files on other partitions
[01:13] <lejon> wow, thats useful
[01:14] <lejon> on 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 rebooted
[01:15] * lejon pokes jrib
[01:15] <jrib> lejon: you need to add them to your ~/.bashrc
[01:16] <jrib> lejon: you'll see a note in the comments there about creating a ~/.bash_aliases if you want to be more organized
[01:16] <lejon> jrib 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> !rute
[01:16] <ubottu> documentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com
[01:17] <jrib> http://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 started
[01:17] <lejon> jrib Ah I see, ill try that sometime, I think its maybe time for me to go to bed soon, its kindof late
[01:17] <jrib> lejon: everytime a new bash shell starts it executes the commands in ~/.bashrc
[01:17] <lejon> ah thanks ^^ I really appreciate ur help mate, sorry for my rudeness before
[01:17] <jrib> "rc" mans "run commands"
[01:17] <jrib> s/mans/means
[01:18] <lejon> ah!
[01:19] <lejon> jrib, you've given me alot of help now, I will try and experiment with this but now I gotta go to bed :P
[01:20] <jrib> lejon: good night
[01:20] <lejon> jrib I might cya later or something
[01:20] <lejon> Good night sir
[14:19] <lejon> jrib, are you there?
[14:52] <lejon> jrib, 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] <jrib> lejon: hey
[14:52] <jrib> lejon: exactly
[14:53] <lejon> jrib and then in that file I define aliases by writting "alias ls=ls -a" and then save?
[14:54] <jrib> should be like:
[14:54] <jrib> alias ls='ls -a'
[14:55] <lejon> within single qoutes, does it have to be?
[14:55] <jrib> the spaces need to be escaped somehow I believe. '' is one way
[14:56] <lejon> or \ right?
[14:57] <jrib> try
[14:57] <lejon> jrib 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 laborating
[14:58] <jrib> have fun
[14:58] <lejon> ^^ Thanks for all the help so far mate, you realize that I am going to poke you alot probably? :P
[14:58] <jrib> sure, if I'm around, I don't mind
[14:59] <lejon> Cool, its people like you that lift up communities to what they are, keep the good work up mate *thumbs up*
[16:15] <lejon> jrib, you s till here?
[16:15] <jrib> lejon: somewhat
[16:16] <lejon> jrib 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 found
[16:17] <lejon> something more I have to do?
[16:19] <jrib> two things
[16:20] <jrib> you should just do: alias blargh='ls -a'
[16:20] <jrib> you should start a new terminal after doing that and check if it works
[16:20] <lejon> not escape the spaces?
[16:21] <lejon> well Ill try that then and see if it works
[16:21] <jrib> lejon: if you use '', then you don't escape the spaces
[16:22] <lejon> ur right, how stupid I am... that is like the basics of programming, gah! :P
[16:22] <lejon> the '' indicates it whole as one string right, so therefor the space is already "there" in the string
[16:23] <lejon> it worked now, thanks for teaching me that :P
[16:26] <jrib> np
[16:26] <lejon> also 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 config
[16:26] <jrib> lejon: nope, try #compiz-fusion
[16:27] <lejon> jrib, will do
=== stevie is now known as vorian
=== txwikinger2 is now known as txwikinger