UbuntuBasicLogs16_02_10
1 [11:22] <mohi1> ========================DAY 1 PABLORUBIANES UBUNTU BASICS===================
2 [11:22] -->| DiegoTc (~cdd3c16c@ubuntu/member/diegotc) has joined ##learners
3 [11:22] =-= Mode ##learners +v DiegoTc by ChanServ
4 [11:23] <PabloRubianes> well after taking to mohi1 he told me that there were some interest to talk about the terminal
5 [11:23] <PabloRubianes> i am here mohi1 :P
6 [11:23] <mohi1> okay good :D
7 [11:24] <PabloRubianes> So I'll be taking about this in the first ubuntu basics talk
8 [11:24] <mohi1> ok
9 [11:24] <PabloRubianes> the first command I will talk about is "man"
10 [11:25] <PabloRubianes> this is a very helpful one for beginners
11 [11:25] <mohi1> ok
12 [11:25] <PabloRubianes> as give us a manual to help us
13 [11:26] <PabloRubianes> and you use it like this: man (command)
14 [11:26] <mohi1> example...
15 [11:26] <PabloRubianes> "man ls"
16 [11:26] <PabloRubianes> put that in the terminal that i imagine you have open :P
17 [11:27] <DiegoTc> PabloRubianes: can you wait some mintues
18 [11:27] <PabloRubianes> to exit the Manual you have to press q
19 [11:27] <DiegoTc> i have a friend who will love to be here
20 [11:27] <PabloRubianes> "q"
21 [11:27] <mohi1> PabloRubianes, wait
22 [11:27] <Love20> ok I got it
23 [11:28] <PabloRubianes> yes DiegoTc if mohi1 don't have problem
24 [11:28] <PabloRubianes> It's ok by me ;-)
25 [11:28] <mohi1> PabloRubianes, ^^^^^
26 [11:28] <PabloRubianes> while we wait love20 doing fine?
27 [11:28] <DiegoTc> PabloRubianes mohi1 she is going to enter right now
28 [11:29] <DiegoTc> her name is tatica1
29 [11:29] <mohi1> welcomed always :)
30 [11:29] <PabloRubianes> ok DiegoTc we will be nice
31 [11:29] <DiegoTc> is she doesn't appear in 3 min
32 [11:29] <DiegoTc> go ahead
33 [11:29] -->| tatica1 (~elvira@205.211.220.245) has joined ##learners
34 [11:29] =-= Mode ##learners +v tatica1 by ChanServ
35 [11:29] <mohi1> we will wait for next three min :P
36 [11:29] <DiegoTc> PabloRubianes: she is here
37 [11:29] <Love20> hi tatica
38 [11:30] <tatica1> Hi
39 [11:30] <PabloRubianes> hi tatica1
40 [11:30] <DiegoTc> tatica1: the class is on english
41 [11:30] <tatica1> o/
42 [11:30] <tatica1> ok
43 [11:30] <tatica1> :D
44 [11:30] <mohi1> tatica1 here you can see the logs later
45 [11:30] <mohi1> PabloRubianes, continue
46 [11:30] <mohi1> or start again :P
47 [11:30] <PabloRubianes> good... i start again i had done little
48 [11:31] <mohi1> ok
49 [11:31] <PabloRubianes> before I restart I want to tell you that we are on an interactive talk so ask or just say something
50 [11:31] <PabloRubianes> to make this fun ;-)
51 [11:31] <mohi1> ok sire
52 [11:32] <PabloRubianes> the first command I was talking about was "man"
53 [11:32] <PabloRubianes> the "man" command give us a manual for other commands
54 [11:33] <PabloRubianes> and for example you use it like this: man ls
55 [11:33] <PabloRubianes> worked?
56 [11:33] <mohi1> tatica1, well todays class is about terminal codes
57 [11:34] <mohi1> PabloRubianes, yes it worked
58 [11:34] <tatica1> yes I Know
59 [11:34] <tatica1> :D
60 [11:34] <PabloRubianes> love20 tatica1 go on?
61 [11:34] <Love20> yeah
62 [11:34] <PabloRubianes> fine
63 [11:35] <PabloRubianes> to exit the man mode you just press "q"
64 [11:36] <mohi1> ok
65 [11:36] <PabloRubianes> now that you can ask for help to the "man" I will go on with some navegational commands to move throw the directories
66 [11:37] <PabloRubianes> to see the content of a directory you use the "ls" or "dir" i preffer "ls"
67 [11:37] <PabloRubianes> try to put "ls" on the terminal
68 [11:37] <mohi1> list all the contents in it....
69 [11:38] <PabloRubianes> you get a list of the dir
70 [11:38] <Love20> hrm
71 [11:39] <PabloRubianes> and if you give parameters to ls you can get to see the atributes and hidden files
72 [11:39] <PabloRubianes> this you do it by doing this... write "ls -al"
73 [11:40] <Love20> returns error
74 [11:40] <mohi1> cool
75 [11:40] <mohi1> and can a folder be hidden in linux?
76 [11:40] <Love20> ls-al: command not found
77 [11:40] <mohi1> Love20, type ls -al
78 [11:40] <Love20> hrm
79 [11:40] <mohi1> space
80 [11:40] <PabloRubianes> the space is needed Love20
81 [11:41] <mohi1> ls "space" -al
82 [11:41] <Love20> yeah got it
83 [11:41] <PabloRubianes> tatica1: fine?
84 [11:41] <tatica1> yes
85 [11:42] <PabloRubianes> "tip" on the "man" for "ls" there's the full list of parameters for that command
86 [11:42] <PabloRubianes> example if you like the list view just put "ls -l"
87 [11:42] <mohi1> yeah seeing 'em
88 [11:43] <tatica1> ;)
89 [11:44] <PabloRubianes> now another command
90 [11:44] <mohi1> ok
91 [11:44] <PabloRubianes> "cd"
92 [11:44] <PabloRubianes> this allows us to move to other directory
93 [11:45] <mohi1> getting into a directory right??
94 [11:45] <PabloRubianes> yes mohi1
95 [11:45] <tatica1> How?? Nothing happens on mine
96 [11:45] <PabloRubianes> do this tatica1
97 [11:45] <PabloRubianes> press ls to see the list of direcotorir
98 [11:45] <PabloRubianes> directories
99 [11:45] <PabloRubianes> choose any
100 [11:46] <mohi1> tatica1, you have any folders in elvira(i mean home folder)
101 [11:46] <PabloRubianes> and then press: cd directory
102 [11:46] <tatica1> yes
103 [11:46] <tatica1> i do
104 [11:46] <tatica1> ok
105 [11:46] <PabloRubianes> CASE SENSITIVE!!!
106 [11:47] <PabloRubianes> tatica1: and stress too.. if you speak spanish like me you will have Música not Musica for example
107 [11:47] <mohi1> tatica1, got anything?
108 [11:47] <tatica1> it's ok mine is in english
109 [11:48] <PabloRubianes> well all of you could go somewhere else?
110 [11:48] <tatica1> nop :(
111 [11:48] <tatica1> you told me to press on any folder
112 [11:48] <tatica1> but if I press I don get anythig
113 [11:48] <PabloRubianes> but write the name
114 [11:48] <tatica1> don't
115 [11:49] <tatica1> ok
116 [11:49] <mohi1> tatica1, when you had done "ls" it will list the folders right?
117 [11:49] <tatica1> yes
118 [11:49] <tatica1> the I must type "cd Desktop" ?????
119 [11:49] <PabloRubianes> yes
120 [11:49] <mohi1> now do one thing. type cd "anyfolder name listed in ls"
121 [11:49] <tatica1> ok
122 [11:50] <mohi1> remember it must be a folder
123 [11:51] <PabloRubianes> if you want to move to a folder inside a folder you can use the command: cd Folder/FolderInside
124 [11:51] <PabloRubianes> and add as much /Folder as you have
125 [11:52] <mohi1> tatica1, you can try this,
126 [11:52] <PabloRubianes> and to go back to the previous folder you can use this: cd ...
127 [11:52] <tatica1> I tried with all of them but I still get "No such file or directory"
128 [11:52] <mohi1> type "cd" a space and press tab
129 [11:52] <mohi1> lol
130 [11:53] <mohi1> tatica1, tell me the folders in your home folder
131 [11:53] <tatica1> Photos Public Ubuntu One amsn received
132 [11:53] <tatica1> Desktop Documents
133 [11:54] <PabloRubianes> press cd Photos
134 [11:54] <tatica1> usic Pictures Templates
135 [11:54] <PabloRubianes> and it should work
136 [11:54] <tatica1> No such file or directory :(
137 [11:54] <mohi1> tatica1, are you in terminal?
138 [11:54] <tatica1> yes
139 [11:54] <mohi1> odd
140 [11:55] <mohi1> just do this tatica1
141 [11:55] <mohi1> type "cd" a space and press tab
142 [11:55] <Love20> cd Pictures
143 [11:55] <Love20> try this
144 [11:55] <mohi1> it will list all folders in the location
145 [11:55] <tatica1> yes
146 [11:56] <PabloRubianes> now worked tatica1?
147 [11:56] <tatica1> yes
148 [11:56] <mohi1> so, type any one folder name listed below at cd "folder name"
149 [11:56] <PabloRubianes> fine!
150 [11:56] <mohi1> cool
151 [11:56] <mohi1> tatica1, is that really worked??
152 [11:57] <tatica1> yes
153 [11:57] <PabloRubianes> well let me log to see where I where?
154 [11:57] <mohi1> okay cool :)
155 [11:57] <PabloRubianes> if you want to move to a folder inside a folder you can use the command: cd Folder/FolderInside
156 [11:58] <PabloRubianes> you can do this with as many /Folder as you have
157 [11:58] <mohi1> ok
158 [11:59] <PabloRubianes> to go to the previous folder (One folder up) you just put: cd ...
159 [11:59] <PabloRubianes> and to go back to your home folder wherever you are you just to type: cd
160 [12:00] <mohi1> ok
161 [12:00] <PabloRubianes> and it goes back to you home
162 [12:00] <PabloRubianes> well that's it for change directories, any question?
163 [12:00] <tatica1> nop
164 [12:01] <PabloRubianes> love20?
165 [12:01] <Love20> no
166 [12:01] <mohi1> hrm well tatica1 , Love20 you know where you can get your "D" and "E" drives?
167 [12:01] <Love20> where?
168 [12:01] <tatica1> no
169 [12:02] <PabloRubianes> mohi1: all yours :P
170 [12:02] <mohi1> no PabloRubianes yours
171 [12:03] <mohi1> well first we have to know mounting a drive
172 [12:03] <mohi1> PabloRubianes, will tell how to do in terminal
173 [12:03] <mohi1> PabloRubianes will tell how to do in terminal
174 [12:04] <PabloRubianes> i am mounting a cd to be sure i dont miss nothing...
175 [12:04] <PabloRubianes> you do this for example a cd
176 [12:05] <mohi1> ok
177 [12:05] <PabloRubianes> you put: cd media
178 [12:05] <PabloRubianes> and then: cd cdrom0
179 [12:06] <PabloRubianes> and you get your CD rom content
180 [12:06] <PabloRubianes> i was going to talk about some special folder later on
181 [12:06] <mohi1> Love20, tatica1 it worked?
182 [12:06] <Love20> no I haven't got
183 [12:06] <Love20> No such file or directory
184 [12:06] <tatica1> I'm in an Acer Aspire One netbook
185 [12:07] <PabloRubianes> is cd /media
186 [12:07] <mohi1> hrm tatica1 ok
187 [12:07] <PabloRubianes> forgot the "/"
188 [12:07] <mohi1> Love20, may be ^^
189 [12:08] <Love20> yeah got it with /
190 [12:08] <mohi1> tatica1, you also try
191 [12:08] <PabloRubianes> cd /media
192 [12:09] <tatica1> without a CD?
193 [12:09] <mohi1> yes try
194 [12:09] <tatica1> i got this .... elvira@elvira-laptop:/media$
195 [12:10] <PabloRubianes> ther you are on the media folder
196 [12:10] <PabloRubianes> if you type ls
197 [12:10] <PabloRubianes> you get the content of the media folder
198 [12:11] <tatica1> ahhhhh ok I'm getting this ;)
199 [12:11] <PabloRubianes> good tatica1
200 [12:11] <PabloRubianes> well i was going to say this at the end but now is a fine momento
201 [12:11] <DiegoTc> tatica1: the ls command (te permite ver todo el contenido del folder)
202 [12:11] <tatica1> yes ok
203 [12:11] <tatica1> i got it now
204 [12:12] <mohi1> ok
205 [12:12] <tatica1> I wasn sure the propose of it
206 [12:12] <tatica1> but I'm clear now
207 [12:12] <PabloRubianes> on your system there are some folders that you may not know what they are for:
208 [12:13] <PabloRubianes> the "bin" folder contains all the binaries for you programs
209 [12:14] <PabloRubianes> "boot" has the boot files to start the system
210 [12:14] <mohi1> ok
211 [12:14] <PabloRubianes> "etc" has configurations for the system (very important)
212 [12:15] <PabloRubianes> "home" are the files and folders of you (the user)
213 [12:15] <tatica1> ok
214 [12:15] <PabloRubianes> "lib" has the libraries fot the system
215 [12:16] <PabloRubianes> "media" is where the devices mount (cd-rom, dvd, or USB for example)
216 [12:16] <PabloRubianes> "sbin" binaries for the Super user
217 [12:17] <PabloRubianes> "tmp" temporal files
218 [12:17] <PabloRubianes> and there are others... all this folders are place in the root or "/"
219 [12:18] <mohi1> hmm ok
220 [12:18] <PabloRubianes> i told you this because when you find them you tend to think "What's all this!!!???"
221 [12:19] <PabloRubianes> questions?
222 [12:19] <Love20> no
223 [12:19] <mohi1> nope
224 [12:19] <PabloRubianes> tatica1: ?
225 [12:19] <tatica1> ;)
226 [12:19] <tatica1> nop
227 [12:19] <PabloRubianes> great!
228 [12:19] |<-- lukjad86 has left freenode (Ping timeout: 256 seconds)
229 [12:20] <PabloRubianes> going back to folders and stuff
230 [12:20] <PabloRubianes> type: cd
231 [12:20] |<-- Vetinari has left freenode (Ping timeout: 252 seconds)
232 [12:20] <mohi1> it returns to mohi@mohi: $
233 [12:21] <PabloRubianes> now you are on your folder
234 [12:21] <tatica1> ok
235 [12:21] <PabloRubianes> now... to create a folder you have to type: mkdir Test
236 [12:21] <PabloRubianes> or the name you want
237 [12:21] -->| lukjad86 (~lukjadOO7@unaffiliated/lukjad007) has joined ##learners
238 [12:21] =-= Mode ##learners +v lukjad86 by ChanServ
239 [12:22] -->| Vetinari (~lukjad007@unaffiliated/lukjad007) has joined ##learners
240 [12:22] =-= Mode ##learners +v Vetinari by ChanServ
241 [12:22] <tatica1> elvira Test?
242 [12:22] <tatica1> what is the name
243 [12:22] <PabloRubianes> mkdir is the command to create a folder
244 [12:22] <tatica1> ok
245 [12:22] <PabloRubianes> and Test is the name of the folder
246 [12:23] <PabloRubianes> could be anyone
247 [12:23] <tatica1> ok
248 [12:23] <mohi1> tatica1, check it by typing man mkdir
249 [12:23] <PabloRubianes> after the creation type ls and you will get the list with the new folder
250 [12:24] <tatica1> yeap
251 [12:24] <tatica1> ;)
252 [12:24] -->| pedro3005 (~pedro@189.25.55.45) has joined ##learners
253 [12:24] =-= Mode ##learners +v pedro3005 by ChanServ
254 [12:24] <PabloRubianes> cool
255 [12:24] <PabloRubianes> love20?
256 [12:24] <pedro3005> hi
257 [12:24] <Love20> got it
258 [12:24] <mohi1> pedro3005, bye :P
259 [12:25] <pedro3005> mohi1, damn you!
260 [12:25] <mohi1> hahaha
261 [12:25] <PabloRubianes> pedro3005: we are in the middle of a terminal commands class
262 [12:25] <pedro3005> mohi1, aw come on. it's not even 8.30 yet
263 [12:25] <pedro3005> PabloRubianes, ah, sorry for interrupting. go on
264 [12:25] <PabloRubianes> no problem pedro3005
265 [12:26] <PabloRubianes> you can copy the new test folder by:
266 [12:26] <PabloRubianes> typing
267 [12:27] <PabloRubianes> cp originalfolder destination
268 [12:27] <PabloRubianes> something like this
269 [12:27] <PabloRubianes> coping test to music: cp Test Music
270 [12:27] <PabloRubianes> clear?
271 [12:28] <mohi1> ya
272 [12:28] <mohi1> i got details using man cp
273 [12:28] <Love20> yes
274 [12:28] <tatica1> yes
275 [12:28] <PabloRubianes> if you cd Music and then ls you will see the folder there too
276 [12:29] <PabloRubianes> please go to the folder you copy test to...
277 [12:29] <PabloRubianes> there?
278 [12:30] <mohi1> ya it has a copy of it
279 [12:30] <mohi1> QUEST: how to copy a data in a folder?
280 [12:31] <PabloRubianes> cp (file) (souce) (destination)
281 [12:32] <mohi1> ah ok
282 [12:32] <PabloRubianes> mohi1: that's what you where asking?
283 [12:32] <mohi1> yes
284 [12:32] <PabloRubianes> cool
285 [12:32] <PabloRubianes> well i am gonna tell you how to delete the folder
286 [12:32] <PabloRubianes> WARNING!!!!
287 [12:33] <PabloRubianes> every time you are going to delete something... be sure that you what to delete
288 [12:34] <PabloRubianes> everyone is on the folder that contains the Test Folder?
289 [12:34] <mohi1> ok
290 [12:34] <mohi1> yes sir
291 [12:35] <tatica1> yes
292 [12:35] <PabloRubianes> Love20?
293 [12:35] <Love20> yes sir
294 [12:36] <PabloRubianes> well to delete it you have to type: rm -r directory
295 [12:36] <PabloRubianes> directory = Test or the one you did
296 [12:37] <Love20> got it
297 [12:37] <mohi1> QUEST: "-r" is for what?
298 [12:37] <PabloRubianes> if you ls the folder is gone
299 [12:38] <PabloRubianes> -r remove directories and their contents recursively
300 [12:42] <mohi1> PabloRubianes, continue
301 [12:42] <PabloRubianes> well i think he is right!
302 [12:42] <PabloRubianes> well
303 [12:42] <mohi1> ok
304 [12:43] <PabloRubianes> any question?
305 [12:43] <Love20> nope
306 [12:44] <tatica1> nop
307 [12:44] <mohi1> no
308 [12:44] <PabloRubianes> well i think it will be better to go on next week...
309 [12:45] <PabloRubianes> try everything I told you... be really carefull by deleting something....
310 [12:45] <mohi1> ok no problem
311 [12:45] <mohi1> ok PabloRubianes :)
312 [12:45] <Love20> ok sir
313 [12:45] <PabloRubianes> next week will be more interesting!!!
314 [12:46] <mohi1> hrm sure =]
315 [12:46] <PabloRubianes> but the first class is always the boring one!!!
316 [12:46] <Love20> waiting for next week.....
317 [12:46] <mohi1> ===========================END OF DAY 1 UBUNTU BASICS===================
Note: Thanks to pedro3005 that make me realise of a huge mistake!!!
PabloRubianes/UbuntuBasicLogs16_02_10 (last edited 2010-02-16 15:20:11 by r190-135-165-21)