Created
July 21, 2014 17:46
-
-
Save sudhirkhanger/aeab0b96fad34bcf9fe9 to your computer and use it in GitHub Desktop.
July 18th Friday #dgplug Session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jul 18 18:33:18 <chandankumar> <----- SESSION START ---------> | |
| Jul 18 18:33:24 <chandankumar> Roll Call | |
| Jul 18 18:33:28 <anuj> Anuj Bansal | |
| Jul 18 18:33:28 <sivteck> Sivaram Balakrishnan | |
| Jul 18 18:33:30 <CuriousLearner> Sanyam Khurana | |
| Jul 18 18:33:31 <humpty> ashwani | |
| Jul 18 18:33:32 <umeshs> Umesh Sharnagat | |
| Jul 18 18:33:35 <donniezazen> sudhir khanger | |
| Jul 18 18:33:36 <lixxz> Yasharth | |
| Jul 18 18:33:37 <iamviknesh> Vikneshwar | |
| Jul 18 18:33:37 <amit001> Amit tripathi | |
| Jul 18 18:33:43 <shilpi> shilpi shukla | |
| Jul 18 18:33:43 <heena> Heena Kaushar | |
| Jul 18 18:33:44 <papiya> Papiya Sen | |
| Jul 18 18:33:45 <ace139> Soumyo Dey | |
| Jul 18 18:33:49 <jaba> Athira S | |
| Jul 18 18:33:50 <dev212> Dhanya N. | |
| Jul 18 18:34:07 * surabhi ([email protected]) has joined #dgplug | |
| Jul 18 18:34:09 * kanika04 ([email protected]) has joined #dgplug | |
| Jul 18 18:34:14 <kundan> kundan chourasiya | |
| Jul 18 18:34:24 <chandankumar> jaba, dev212 Please write your full name during Roll Call. | |
| Jul 18 18:34:25 <satarupa> Satarupa Sinha | |
| Jul 18 18:34:38 <silentSae> amir | |
| Jul 18 18:34:40 <surabhi> Surabhi | |
| Jul 18 18:34:45 * m4_15 (65dd80f2@gateway/web/freenode/ip.101.221.128.242) has joined #dgplug | |
| Jul 18 18:34:57 <vk_> vishwamitra kala | |
| Jul 18 18:34:59 <azharh> Azhar Hussain | |
| Jul 18 18:35:02 * Jupiter ([email protected]) has joined #dgplug | |
| Jul 18 18:35:12 * Prash_542 has quit (Ping timeout: 245 seconds) | |
| Jul 18 18:35:15 <vipsy> Vipul Bansal | |
| Jul 18 18:35:16 <Jupiter> Amrutha | |
| Jul 18 18:35:26 <m4_15> Mahendra Yadav | |
| Jul 18 18:35:32 * dhritishikhar_ has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | |
| Jul 18 18:35:33 <kanika04> kanika narang | |
| Jul 18 18:35:38 * Prash_542 ([email protected]) has joined #dgplug | |
| Jul 18 18:35:46 * dhritishikhar_ (2a680cc8@gateway/web/cgi-irc/kiwiirc.com/ip.42.104.12.200) has joined #dgplug | |
| Jul 18 18:35:50 * sree ([email protected]) has joined #dgplug | |
| Jul 18 18:35:56 <jaba> chandankumar: My name Athira S | |
| Jul 18 18:35:57 * acetakwas_ ([email protected]) has joined #dgplug | |
| Jul 18 18:35:58 <vivek-> Vivek Jhaver | |
| Jul 18 18:36:02 <dhritishikhar_> Dhriti Shikhar | |
| Jul 18 18:36:16 * thejaman ([email protected]) has joined #dgplug | |
| Jul 18 18:36:23 <dev212> chandankumar: My full name is Dhanya N | |
| Jul 18 18:36:27 <chandankumar> ok | |
| Jul 18 18:36:38 <bnprk> Binay Pareek | |
| Jul 18 18:36:44 <thejaman> Thejazeto | |
| Jul 18 18:36:59 * sree is now known as Mactoc | |
| Jul 18 18:37:02 <Mactoc> Sreedevi | |
| Jul 18 18:37:08 <chandankumar> Today we are going to do a revision of this week classes. | |
| Jul 18 18:37:34 <chandankumar> Any questions from the previous classes. | |
| Jul 18 18:37:44 * dhritishikhar_ has quit (Client Quit) | |
| Jul 18 18:37:45 <Sparking> Bhargav Patel | |
| Jul 18 18:37:52 * thejaman has quit (Read error: Connection reset by peer) | |
| Jul 18 18:38:26 <chandankumar> if you have questions, please shoot. | |
| Jul 18 18:39:00 <CuriousLearner> ! | |
| Jul 18 18:39:07 <chandankumar> next | |
| Jul 18 18:39:07 <batul> CuriousLearner please ask your question. | |
| Jul 18 18:39:10 <Prash_542> ! | |
| Jul 18 18:39:37 <amit001> ! | |
| Jul 18 18:39:37 <CuriousLearner> In the mercurial doc, the last step is written "Now you can also create a file at .hg/hgrc so that you can just push/pull from you repository easily.: | |
| Jul 18 18:39:38 <CuriousLearner> [paths] | |
| Jul 18 18:39:38 <CuriousLearner> default = ssh://[email protected]/kushaldas/myproject | |
| Jul 18 18:39:38 <CuriousLearner> " unable to figure out how to do this | |
| Jul 18 18:39:45 <CuriousLearner> <eof> | |
| Jul 18 18:39:49 * dharmit (~shahdharm@unaffiliated/shahdharmit) has joined #dgplug | |
| Jul 18 18:40:40 * acetakwas ([email protected]) has joined #dgplug | |
| Jul 18 18:40:53 * m4_15_ ([email protected]) has joined #dgplug | |
| Jul 18 18:41:08 <chandankumar> CuriousLearner, you have to create your own account on bitbucket and add ssh key there | |
| Jul 18 18:41:19 <CuriousLearner> chandankumar, already done that | |
| Jul 18 18:41:28 <CuriousLearner> then pushed the code written on the repo | |
| Jul 18 18:41:33 <CuriousLearner> <eof> | |
| Jul 18 18:41:49 * dhritishikhar_ (2a680c71@gateway/web/cgi-irc/kiwiirc.com/ip.42.104.12.113) has joined #dgplug | |
| Jul 18 18:41:56 <chandankumar> CuriousLearner, what is your question? | |
| Jul 18 18:41:58 * acetakwas_ has quit (Ping timeout: 264 seconds) | |
| Jul 18 18:42:40 <leero9> Session started ? | |
| Jul 18 18:43:00 * thejaman ([email protected]) has joined #dgplug | |
| Jul 18 18:43:04 <chandankumar> CuriousLearner, you have to do vim .hg/hgrc in project directory | |
| Jul 18 18:43:12 * shrees ([email protected]) has joined #dgplug | |
| Jul 18 18:43:13 <chandankumar> and put the contents there | |
| Jul 18 18:43:16 <azharh> CuriousLearner, in the previous step you had to add the path after hg push , after you make this default path "hg push" is enough | |
| Jul 18 18:43:17 <CuriousLearner> Here: http://summertraining.readthedocs.org/en/latest/mercurial.html, in the last step it says, now we can create our own .hg/hgrc ... I'm asking how to do that, unable to figure out, also, won't this hgrc would be same as our local one which would be pushed <eof> | |
| Jul 18 18:43:19 <chandankumar> leero9, yes | |
| Jul 18 18:43:40 * gnovi (0e63c6a4@gateway/web/freenode/ip.14.99.198.164) has joined #dgplug | |
| Jul 18 18:43:44 * RakRock (7aab4538@gateway/web/freenode/ip.122.171.69.56) has joined #dgplug | |
| Jul 18 18:43:48 * acetakwas_ ([email protected]) has joined #dgplug | |
| Jul 18 18:43:51 * acetakwas has quit (Disconnected by services) | |
| Jul 18 18:44:02 <Mactoc> leero9:yes | |
| Jul 18 18:44:41 <chandankumar> CuriousLearner, yes | |
| Jul 18 18:44:48 * umeshs_ ([email protected]) has joined #dgplug | |
| Jul 18 18:44:59 <CuriousLearner> ok, got it. | |
| Jul 18 18:45:03 <chandankumar> next | |
| Jul 18 18:45:04 <batul> Prash_542 please ask your question.. amit001 you are next. Get ready with your question. | |
| Jul 18 18:45:06 <Prash_542> Please explain logging in to our account through ssh using RSA key. It is just asking me account password not RSA key even after copying pub file | |
| Jul 18 18:45:52 <Prash_542> <eof> | |
| Jul 18 18:45:52 * m4_15 has quit (Ping timeout: 246 seconds) | |
| Jul 18 18:46:08 * umeshs has quit (Quit: waartaa says goodbye) | |
| Jul 18 18:46:12 * umeshs_ is now known as umeshs | |
| Jul 18 18:46:13 <iamviknesh> CuriousLearner: once you add that to hgrc , you can do hg push to push the changes to your repo in bitbucket | |
| Jul 18 18:46:36 <sayan> Prash_542, afaik it would keep asking the password | |
| Jul 18 18:46:40 <iamviknesh> can anyone correct me if i am wrong :P | |
| Jul 18 18:47:00 <chandankumar> Prash_542, you can easily login to the account using ssh <username>@<ip of the machine> | |
| Jul 18 18:47:05 * silentSae has quit (Ping timeout: 240 seconds) | |
| Jul 18 18:47:30 <Prash_542> chandankumar,Ok. But how to use RSA key to login? | |
| Jul 18 18:47:34 <sayan> CuriousLearner, we have told a lot of times to use a single . | |
| Jul 18 18:47:35 <chandankumar> when you tries to login it captures the figureprint and stores in .ssh/known_host | |
| Jul 18 18:47:39 <chandankumar> check this file | |
| Jul 18 18:48:14 <chandankumar> When you generate the sshkey , you get a fingerprint. | |
| Jul 18 18:48:36 <Prash_542> chandankumar there is only id_rsa.pub file in that folder. | |
| Jul 18 18:49:00 <CuriousLearner> sorry sayan ! won't do next time, promise. | |
| Jul 18 18:49:28 <chandankumar> Prash_542, http://news.softpedia.com/news/How-to-Use-RSA-Key-for-SSH-Authentication-38599.shtml | |
| Jul 18 18:50:16 <Prash_542> chandankumar,Ok. I will try. | |
| Jul 18 18:50:16 <Prash_542> <eof> | |
| Jul 18 18:50:23 <chandankumar> Prash_542, this will be created only when you tried to login into another machine | |
| Jul 18 18:50:43 * packo ([email protected]) has left #dgplug ("http://quassel-irc.org - Chat comfortably. Anywhere.") | |
| Jul 18 18:50:49 <chandankumar> i.e. other than host machine by using your host terminal | |
| Jul 18 18:50:59 * EkAurBottleLa (b64238f0@gateway/web/freenode/ip.182.66.56.240) has joined #dgplug | |
| Jul 18 18:51:05 <Prash_542> chandankumar,Got it. | |
| Jul 18 18:51:09 <chandankumar> next | |
| Jul 18 18:51:10 <batul> amit001 please ask your question. | |
| Jul 18 18:51:20 <amit001> Sorry, no question. That was a mistake. | |
| Jul 18 18:51:27 <chandankumar> next | |
| Jul 18 18:51:28 <batul> No one is in queue. | |
| Jul 18 18:51:55 <chandankumar> anybody have any questions from mercurial and sshkey? | |
| Jul 18 18:51:57 * titli ([email protected]) has joined #dgplug | |
| Jul 18 18:52:44 <chandankumar> i hope everybody have created their bitbucket account | |
| Jul 18 18:53:01 <chandankumar> Now oen task right now, | |
| Jul 18 18:53:22 <chandankumar> upload your about.rst file to your bitbucket account. | |
| Jul 18 18:53:29 <chandankumar> will you do that? | |
| Jul 18 18:55:18 <amit001> chandankumar: I don't have access to computer. | |
| Jul 18 18:55:27 * obhee ([email protected]) has joined #dgplug | |
| Jul 18 18:55:27 <chandankumar> amit001, ok | |
| Jul 18 18:55:44 <chandankumar> Any questions from mercurial? | |
| Jul 18 18:56:11 <chandankumar> Everybody please go through this: http://mercurial.selenic.com/wiki/UnderstandingMercurial | |
| Jul 18 18:56:37 <leero9> ! | |
| Jul 18 18:56:40 <chandankumar> next | |
| Jul 18 18:56:40 <batul> leero9 please ask your question. | |
| Jul 18 18:56:45 <leero9> Roll call over ? | |
| Jul 18 18:56:49 <chandankumar> leero9, yes | |
| Jul 18 18:57:35 <CuriousLearner> chandankumar, don't have rST now, can I upload it later please <eof> | |
| Jul 18 18:57:43 <chandankumar> CuriousLearner, ok | |
| Jul 18 18:58:09 * obhee has quit (Client Quit) | |
| Jul 18 18:58:19 * obhee (7b3f0d75@gateway/web/cgi-irc/kiwiirc.com/ip.123.63.13.117) has joined #dgplug | |
| Jul 18 18:58:21 <RakRock> ! | |
| Jul 18 18:58:27 <leero9> Same as amit | |
| Jul 18 18:58:45 <chandankumar> next | |
| Jul 18 18:58:46 <batul> RakRock please ask your question. | |
| Jul 18 18:58:48 <leero9> No access to computer | |
| Jul 18 18:59:05 <chandankumar> how many have no access to computer? | |
| Jul 18 18:59:21 <leero9> Me | |
| Jul 18 18:59:24 <amit001> Me | |
| Jul 18 18:59:34 <shrees> Me | |
| Jul 18 19:00:00 <Sparking> Me | |
| Jul 18 19:00:14 <chandankumar> next time please be present with your computer in the class. | |
| Jul 18 19:00:15 <abhiram_rk> I'm doing it. | |
| Jul 18 19:00:20 <RakRock> I have created a bitbucket account, but I am not sure how to attach any file to bitbucket | |
| Jul 18 19:00:54 <chandankumar> Today we are going to learn how to write shell script. | |
| Jul 18 19:01:24 <humpty> ! | |
| Jul 18 19:01:34 <chandankumar> Every shell script file ends with .sh file extension. | |
| Jul 18 19:01:36 <chandankumar> next | |
| Jul 18 19:01:37 <batul> humpty please ask your question. | |
| Jul 18 19:01:41 <humpty> chandankumar, was there a class yesterday also? | |
| Jul 18 19:01:49 <chandankumar> humpty, no | |
| Jul 18 19:02:17 <humpty> chandankumar, then when were we asked to make the bitbucket account? | |
| Jul 18 19:02:32 <chandankumar> for example hello.sh is a shell script. | |
| Jul 18 19:02:33 * kundan has quit (Ping timeout: 240 seconds) | |
| Jul 18 19:02:41 <humpty> i went through the logs, it was not there. | |
| Jul 18 19:02:44 <chandankumar> ok | |
| Jul 18 19:03:01 * acetakwas_ needs an answer to humpty's question | |
| Jul 18 19:03:14 <titli> ! | |
| Jul 18 19:03:32 <CuriousLearner> acetakwas_, humpty It was there in the mercurial doc, which kushal said that would be uploaded soon and we have to keep checking. | |
| Jul 18 19:03:34 * Mactoc has quit (Ping timeout: 264 seconds) | |
| Jul 18 19:03:34 * sree ([email protected]) has joined #dgplug | |
| Jul 18 19:03:36 * korak1 ([email protected]) has joined #dgplug | |
| Jul 18 19:03:43 <thejaman> humpty, the day mercurial was taught! | |
| Jul 18 19:03:43 <chandankumar> next | |
| Jul 18 19:03:44 <batul> titli please ask your question. | |
| Jul 18 19:04:10 <titli> I am stuck in my college till now, I had classes until 6:30 Is it ok if I read the logs after I reach home and discuss at night? | |
| Jul 18 19:04:11 <humpty> CuriousLearner, ok. i didn't see that! | |
| Jul 18 19:04:21 <chandankumar> ok | |
| Jul 18 19:04:41 * titli has quit (Quit: Leaving) | |
| Jul 18 19:04:54 <chandankumar> open a file hello.sh in vim editor | |
| Jul 18 19:05:10 <chandankumar> when you are done, please respond with yes or no? | |
| Jul 18 19:05:15 <chandankumar> *. | |
| Jul 18 19:05:31 <RakRock> yes | |
| Jul 18 19:05:33 <dhritishikhar_> yes | |
| Jul 18 19:05:34 <Prash_542> Done | |
| Jul 18 19:05:35 <humpty> yes | |
| Jul 18 19:05:37 <azharh> yes | |
| Jul 18 19:05:37 <jaba> yes | |
| Jul 18 19:05:40 <CuriousLearner> yes | |
| Jul 18 19:05:56 <kanika04> yes | |
| Jul 18 19:05:57 <anuj> yes | |
| Jul 18 19:06:01 * sree is now known as Mactoc | |
| Jul 18 19:06:02 <Mactoc> yes | |
| Jul 18 19:06:05 <thejaman> yes | |
| Jul 18 19:06:06 <surabhi> done | |
| Jul 18 19:06:08 <satarupa> yes | |
| Jul 18 19:06:11 <chandankumar> write there echo "This is my first shell script" | |
| Jul 18 19:06:13 <m4_15_> yes | |
| Jul 18 19:06:20 <chandankumar> after that save and close that file | |
| Jul 18 19:06:22 <abhiram_rk> ! | |
| Jul 18 19:06:23 * Jupiter has quit (Ping timeout: 250 seconds) | |
| Jul 18 19:06:26 <chandankumar> next | |
| Jul 18 19:06:27 <batul> abhiram_rk please ask your question. | |
| Jul 18 19:06:28 <dev212> yes | |
| Jul 18 19:06:35 <humpty> ! | |
| Jul 18 19:06:36 <lixxz> done | |
| Jul 18 19:06:41 <abhiram_rk> net is slow. I am still creating bitbucket repo | |
| Jul 18 19:06:47 <abhiram_rk> should i do that and then continue | |
| Jul 18 19:06:48 <abhiram_rk> ? | |
| Jul 18 19:06:51 <Mactoc> done | |
| Jul 18 19:06:51 <gnovi> done | |
| Jul 18 19:06:56 <acetakwas_> done | |
| Jul 18 19:07:00 <chandankumar> abhiram_rk, create later on. | |
| Jul 18 19:07:01 <Prash_542> done | |
| Jul 18 19:07:02 <chandankumar> next | |
| Jul 18 19:07:02 <batul> humpty please ask your question. | |
| Jul 18 19:07:04 <humpty> chandankumar, what do you mean by "echo" | |
| Jul 18 19:07:09 <abhiram_rk> Okay. | |
| Jul 18 19:07:15 * scooby ([email protected]) has joined #dgplug | |
| Jul 18 19:07:30 <jaba> done | |
| Jul 18 19:07:34 <chandankumar> humpty, do man echo | |
| Jul 18 19:07:46 <chandankumar> humpty, and tell what does it mean? | |
| Jul 18 19:07:50 * scooby has quit (Client Quit) | |
| Jul 18 19:08:06 * dharmit_ ([email protected]) has joined #dgplug | |
| Jul 18 19:08:18 <abhiram_rk> done | |
| Jul 18 19:08:32 <humpty> it is saying - display a line of text. | |
| Jul 18 19:08:36 <chandankumar> echo is a shell command used to display text or a line of text | |
| Jul 18 19:08:49 <chandankumar> now we are going to run that shell script | |
| Jul 18 19:08:53 <Sparking> done | |
| Jul 18 19:08:58 * dharmit has quit (Ping timeout: 264 seconds) | |
| Jul 18 19:09:05 <chandankumar> in your terminal do sh hello.sh | |
| Jul 18 19:09:06 <lixxz> humpty, you can type that directly in shell too | |
| Jul 18 19:09:22 * vj_ ([email protected]) has joined #dgplug | |
| Jul 18 19:09:29 <chandankumar> lixxz, yes | |
| Jul 18 19:09:35 * Jupiter_ (uid27559@gateway/web/irccloud.com/x-zraikqflutdyxgjj) has joined #dgplug | |
| Jul 18 19:09:43 * vivek- has quit (Read error: Connection reset by peer) | |
| Jul 18 19:09:44 <chandankumar> you will the output | |
| Jul 18 19:09:56 <humpty> lixxz, okay! | |
| Jul 18 19:10:07 <humpty> chandankumar, got it! | |
| Jul 18 19:10:11 <chandankumar> Suppose you have to execute say 5 or 10 commands serially | |
| Jul 18 19:10:18 <acetakwas_> done | |
| Jul 18 19:10:33 <gnovi> got it | |
| Jul 18 19:10:43 <chandankumar> then we can simply write all the command in a shell script and execute or pass it to some one | |
| Jul 18 19:11:10 <chandankumar> Next we are going to learn how to define a variable in shell script | |
| Jul 18 19:12:03 * m4_15_ is now known as mech | |
| Jul 18 19:12:35 * abhi_poo ([email protected]) has joined #dgplug | |
| Jul 18 19:12:39 <chandankumar> try this http://paste.fedoraproject.org/119021/05690948 | |
| Jul 18 19:12:46 <papiya> """"""""""""""""""""" | |
| Jul 18 19:12:49 <chandankumar> in the same file | |
| Jul 18 19:12:55 <chandankumar> and execute it | |
| Jul 18 19:13:12 * mech is now known as magzter | |
| Jul 18 19:13:30 * silentSae ([email protected]) has joined #dgplug | |
| Jul 18 19:13:32 <lixxz> done | |
| Jul 18 19:13:49 <Prash_542> done | |
| Jul 18 19:13:55 <lixxz> ! | |
| Jul 18 19:14:02 <dhritishikhar_> done | |
| Jul 18 19:14:11 <vipsy> done | |
| Jul 18 19:14:13 <gnovi> done | |
| Jul 18 19:14:21 * vk_ ([email protected]) has left #dgplug | |
| Jul 18 19:14:24 <chandankumar> suppose we have to pass command as a value to a variable we can just use tilt sign. | |
| Jul 18 19:14:26 <chandankumar> next | |
| Jul 18 19:14:27 <batul> lixxz please ask your question. | |
| Jul 18 19:14:29 <lixxz> why $ ? | |
| Jul 18 19:14:29 <abhi_poo> ! | |
| Jul 18 19:14:50 <iamviknesh> done | |
| Jul 18 19:15:01 <satarupa> done | |
| Jul 18 19:15:04 <iamviknesh> lixxz: $ used to create a variable | |
| Jul 18 19:15:08 <dev212> done | |
| Jul 18 19:15:30 <lixxz> but variable is already created | |
| Jul 18 19:15:30 <Mactoc> done | |
| Jul 18 19:15:32 * dharmit_ has quit (Quit: Leaving) | |
| Jul 18 19:15:34 <iamviknesh> sorry refer a variablee | |
| Jul 18 19:15:43 <iamviknesh> lixxz: ^^ | |
| Jul 18 19:15:48 <abhiram_rk> $ allows the shell to recognize a variable | |
| Jul 18 19:15:51 * dhritishikhar_ has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | |
| Jul 18 19:16:03 <chandankumar> good | |
| Jul 18 19:16:06 <chandankumar> next | |
| Jul 18 19:16:06 <batul> abhi_poo please ask your question. | |
| Jul 18 19:16:08 <abhi_poo> Can someone please pm me the log till now ? | |
| Jul 18 19:16:29 <abhi_poo> Got late coming home from college | |
| Jul 18 19:16:34 <chandankumar> try this | |
| Jul 18 19:16:40 * EkAurBottleLa has quit (Ping timeout: 246 seconds) | |
| Jul 18 19:16:50 <chandankumar> DIR=`pwd` | |
| Jul 18 19:16:57 <chandankumar> echo $DIR | |
| Jul 18 19:17:12 * sant0sh ([email protected]) has joined #dgplug | |
| Jul 18 19:17:18 <iamviknesh> will display the present working directory :) | |
| Jul 18 19:17:21 <chandankumar> try the above two statement in your same file | |
| Jul 18 19:17:33 <acetakwas_> ! | |
| Jul 18 19:17:42 <chandankumar> iamviknesh, try it with quotes instead of tilt. | |
| Jul 18 19:17:44 * semju (3bb8f328@gateway/web/freenode/ip.59.184.243.40) has joined #dgplug | |
| Jul 18 19:17:46 <chandankumar> next | |
| Jul 18 19:17:46 <batul> acetakwas_ please ask your question. | |
| Jul 18 19:18:02 <gnovi> output is pwd | |
| Jul 18 19:18:14 <acetakwas_> chandankumar, what is the 'tilt' used for exactly? | |
| Jul 18 19:18:22 * thejaman has quit (Read error: Connection reset by peer) | |
| Jul 18 19:18:29 <azharh> gnovi, ` not ' | |
| Jul 18 19:18:35 * vk_ ([email protected]) has joined #dgplug | |
| Jul 18 19:18:37 <abhiram_rk> tilt allows the shell to evaluate the expression acetakwas_ | |
| Jul 18 19:18:55 <chandankumar> acetakwas_, check the symbol over tab key in keyboard | |
| Jul 18 19:18:56 <abhiram_rk> otherwise it will just be considered as a string | |
| Jul 18 19:19:35 <chandankumar> acetakwas_, it is used to tell that parameter passed is a command | |
| Jul 18 19:19:50 <gnovi> @azharh, oops.. thank you | |
| Jul 18 19:20:01 <abhi_poo> Got it , thanks. | |
| Jul 18 19:20:22 <acetakwas_> okay, thanks <eof> | |
| Jul 18 19:20:44 * dhritishikhar_ (2a680c31@gateway/web/cgi-irc/kiwiirc.com/ip.42.104.12.49) has joined #dgplug | |
| Jul 18 19:20:55 <dev212> gnovi: just try typing $DIR in the shell | |
| Jul 18 19:21:44 <gnovi> DIR: command not found | |
| Jul 18 19:22:08 * thejaman ([email protected]) has joined #dgplug | |
| Jul 18 19:22:10 <iamviknesh> gonvi dont use space between = | |
| Jul 18 19:22:17 <RakRock> `pwd` and "pwd" works as expeted | |
| Jul 18 19:22:51 <chandankumar> so everybody try this | |
| Jul 18 19:22:52 <chandankumar> http://paste.fedoraproject.org/119025/56915531 | |
| Jul 18 19:22:53 <iamviknesh> DIR=`pwd` not DIR = `pwd` | |
| Jul 18 19:22:58 <chandankumar> in a new file | |
| Jul 18 19:23:09 * novice-coder12 (3bb1cbe4@gateway/web/freenode/ip.59.177.203.228) has joined #dgplug | |
| Jul 18 19:23:51 * fewcha has quit (Read error: Connection reset by peer) | |
| Jul 18 19:24:03 <iamviknesh> did | |
| Jul 18 19:24:05 * fewcha ([email protected]) has joined #dgplug | |
| Jul 18 19:24:05 <abhiram_rk> ! | |
| Jul 18 19:24:20 <abhiram_rk> Done. | |
| Jul 18 19:24:23 <chandankumar> now you find a simple shell script in your home directory | |
| Jul 18 19:24:30 <chandankumar> next | |
| Jul 18 19:24:31 <batul> abhiram_rk please ask your question. | |
| Jul 18 19:24:31 <gnovi> @chandankumar, It gave hostname, username, date and time | |
| Jul 18 19:24:38 <chandankumar> gnovi, yes | |
| Jul 18 19:24:40 * senju (3bb8f328@gateway/web/freenode/ip.59.184.243.40) has joined #dgplug | |
| Jul 18 19:24:58 <abhiram_rk> Why is IST echoed twice? | |
| Jul 18 19:25:06 <chandankumar> gnovi, in this way you can create your own shell script | |
| Jul 18 19:25:30 <abhiram_rk> In the output. | |
| Jul 18 19:25:35 <RakRock> done | |
| Jul 18 19:25:41 <gnovi> @chandankumar, great, thanks a lot | |
| Jul 18 19:25:41 <chandankumar> abhiram_rk, in your it is showing once time | |
| Jul 18 19:26:00 <chandankumar> abhiram_rk, check the file. | |
| Jul 18 19:26:07 * semju has quit (Ping timeout: 246 seconds) | |
| Jul 18 19:26:08 <chandankumar> one question | |
| Jul 18 19:26:26 <chandankumar> Which command is used to see hidden files? | |
| Jul 18 19:26:31 <abhiram_rk> Yeah it says %r and %Z | |
| Jul 18 19:26:35 <abhiram_rk> ls -al | |
| Jul 18 19:26:38 <dhritishikhar_> ls -la | |
| Jul 18 19:26:50 <amit001> ls -a | |
| Jul 18 19:26:59 <azharh> ls -al | grep . | |
| Jul 18 19:26:59 <chandankumar> ok | |
| Jul 18 19:27:00 <RakRock> ls -a | |
| Jul 18 19:27:05 <humpty> ls -al | |
| Jul 18 19:27:13 <chandankumar> do ls -a | |
| Jul 18 19:27:21 * abhiram_rk admires the flexibility of Linux. | |
| Jul 18 19:27:22 <chandankumar> you will see a file .bashrc | |
| Jul 18 19:27:22 <leero9> Ls -al | |
| Jul 18 19:27:32 <chandankumar> this is also a shell script | |
| Jul 18 19:27:42 <chandankumar> which is already present in your system | |
| Jul 18 19:28:08 <chandankumar> is it there? | |
| Jul 18 19:28:13 <abhiram_rk> yes | |
| Jul 18 19:28:13 <chandankumar> http://superuser.com/questions/49289/what-is-the-bashrc-file | |
| Jul 18 19:28:15 <dhritishikhar_> yes | |
| Jul 18 19:28:15 <humpty> yes | |
| Jul 18 19:28:22 <chandankumar> read the above link | |
| Jul 18 19:28:33 * shrees has quit (Ping timeout: 240 seconds) | |
| Jul 18 19:28:35 <CuriousLearner> yes | |
| Jul 18 19:28:35 * sant0sh has quit (Ping timeout: 250 seconds) | |
| Jul 18 19:28:41 <RakRock> Yes | |
| Jul 18 19:28:47 <dev212> yes | |
| Jul 18 19:28:55 <gnovi> no | |
| Jul 18 19:28:56 <Mactoc> ! | |
| Jul 18 19:29:12 <Prash_542> yes | |
| Jul 18 19:29:41 <chandankumar> next | |
| Jul 18 19:29:41 <batul> Mactoc please ask your question. | |
| Jul 18 19:29:46 <Mactoc> Why we are not using tilt sign for "date"? | |
| Jul 18 19:30:10 <chandankumar> Mactoc, we have directly called the command there | |
| Jul 18 19:30:17 * pjp has quit (Quit: Leaving) | |
| Jul 18 19:30:41 <abhiram_rk> `<expression>` gets evaluated by the shell | |
| Jul 18 19:30:42 * biraj ([email protected]) has joined #dgplug | |
| Jul 18 19:31:36 <chandankumar> Mactoc, experiment with the variable you will get more things | |
| Jul 18 19:31:55 <Mactoc> We are assigning it to RIGHT_NOW right? | |
| Jul 18 19:32:00 <chandankumar> yes | |
| Jul 18 19:32:29 <magzter> ! | |
| Jul 18 19:32:38 <chandankumar> next | |
| Jul 18 19:32:39 <batul> magzter please ask your question. | |
| Jul 18 19:32:40 <Mactoc> so we should use tilt sign for date right? | |
| Jul 18 19:32:51 <chandankumar> Mactoc, try it | |
| Jul 18 19:32:59 <magzter> Date and Time | |
| Jul 18 19:33:00 <magzter> host.sh: line 6: unexpected EOF while looking for matching `"' | |
| Jul 18 19:33:00 <magzter> host.sh: line 8: syntax error: unexpected end of file | |
| Jul 18 19:33:23 <magzter> ok got he answer | |
| Jul 18 19:33:47 <gnovi> it gave date and time | |
| Jul 18 19:34:11 <chandankumar> http://www.linuxcommand.org/writing_shell_scripts.php | |
| Jul 18 19:34:19 <chandankumar> everybody please through this | |
| Jul 18 19:34:33 <magzter> ! | |
| Jul 18 19:34:45 <chandankumar> next | |
| Jul 18 19:34:46 <batul> magzter please ask your question. | |
| Jul 18 19:34:48 <magzter> Date and Time | |
| Jul 18 19:34:48 <magzter> host.sh: line 6: fg: no job control | |
| Jul 18 19:35:02 <chandankumar> magzter, use pastebib | |
| Jul 18 19:35:03 * biraj has quit (Ping timeout: 240 seconds) | |
| Jul 18 19:35:06 <chandankumar> *pastebin | |
| Jul 18 19:35:20 <chandankumar> magzter, can you share your script? | |
| Jul 18 19:35:32 <chandankumar> have you tried info command? | |
| Jul 18 19:35:34 <magzter> sorry next time i will use it | |
| Jul 18 19:35:39 <magzter> no | |
| Jul 18 19:35:49 <chandankumar> this question is for all | |
| Jul 18 19:35:53 <chandankumar> do man man | |
| Jul 18 19:35:55 <chandankumar> then | |
| Jul 18 19:36:00 <chandankumar> do man info | |
| Jul 18 19:36:05 <chandankumar> and then check | |
| Jul 18 19:36:07 <chandankumar> man ls | |
| Jul 18 19:36:10 <chandankumar> info ls | |
| Jul 18 19:36:16 <chandankumar> and tell me the difference | |
| Jul 18 19:36:48 * obhee has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | |
| Jul 18 19:37:09 * thejaman has quit (Ping timeout: 250 seconds) | |
| Jul 18 19:37:11 * EkAurBottleLa (b64238f0@gateway/web/freenode/ip.182.66.56.240) has joined #dgplug | |
| Jul 18 19:37:42 <chandankumar> anybody? | |
| Jul 18 19:37:56 <RakRock> info is slightly exhaustive and explain information in detail | |
| Jul 18 19:37:57 * vj_ has quit (Ping timeout: 240 seconds) | |
| Jul 18 19:38:04 <abhiram_rk> man gives the user commands | |
| Jul 18 19:38:13 <chandankumar> RakRock, yes | |
| Jul 18 19:38:20 <abhiram_rk> whereas info gives how it works | |
| Jul 18 19:38:30 <RakRock> but man gives crisp definitions and and gives summary of all the available options | |
| Jul 18 19:38:34 <humpty> yes, info is more informative! | |
| Jul 18 19:38:38 * ramkrsna has quit (Remote host closed the connection) | |
| Jul 18 19:38:40 <gnovi> info gives all the details | |
| Jul 18 19:38:43 <chandankumar> good | |
| Jul 18 19:38:49 <humpty> but man is short description | |
| Jul 18 19:38:50 <Mactoc> man describes the use of command in one line | |
| Jul 18 19:38:57 <chandankumar> try bc command in your terminal | |
| Jul 18 19:39:00 * vipsy has quit (Quit: Leaving) | |
| Jul 18 19:39:11 <dev212> man ls show varieties of ls commands which can be used for different purpose and info ls tells definition and information about the ls command | |
| Jul 18 19:39:19 <dhritishikhar_> man is manual of how to use that command.. | |
| Jul 18 19:39:19 * vk_ has quit (Quit: ChatZilla 0.9.90.1 [Firefox 29.0/20140403132807]) | |
| Jul 18 19:39:24 <jaba> info gives more detailed information about the command | |
| Jul 18 19:39:29 <chandankumar> it will invoke a calculator | |
| Jul 18 19:39:45 <RakRock> yes | |
| Jul 18 19:40:03 * fewcha has quit (Ping timeout: 240 seconds) | |
| Jul 18 19:40:06 <chandankumar> you can try that calculator in your terminal without opening any calculator | |
| Jul 18 19:40:20 <chandankumar> in linux there are lots of commands | |
| Jul 18 19:40:47 <gnovi> great | |
| Jul 18 19:40:52 <chandankumar> Now some more commands | |
| Jul 18 19:40:54 <chandankumar> try | |
| Jul 18 19:40:57 <chandankumar> uptime | |
| Jul 18 19:41:08 <Mactoc> yes we can calculate :) | |
| Jul 18 19:41:34 <kanika04> how to get out of this calculator ? | |
| Jul 18 19:41:35 <gnovi> 19:41:20 up 2:13, 2 users, load average: 0.00, 0.05, 0.11 | |
| Jul 18 19:41:52 <gnovi> what does this load average mean? | |
| Jul 18 19:41:56 <dhritishikhar_> kanika04, press "ctrl+c" | |
| Jul 18 19:42:07 <lixxz> or simply type quit | |
| Jul 18 19:42:13 <silentSae> kanika04, or type quit | |
| Jul 18 19:42:20 <gnovi> @kanika04, type quit | |
| Jul 18 19:42:24 <kanika04> ok thanks :D | |
| Jul 18 19:42:42 <abhiram_rk> gnovi: Do man uptime | |
| Jul 18 19:42:46 <iamviknesh> basically man is a traditional way of manual for linux , where info is mainly used in GNU project http://goo.gl/llrNrW | |
| Jul 18 19:42:47 * leero9 has quit (Ping timeout: 250 seconds) | |
| Jul 18 19:42:52 <chandankumar> abhiram_rk, good | |
| Jul 18 19:43:12 <chandankumar> you can try df command to check space in your system | |
| Jul 18 19:43:28 <SpeedBus> can try top / htop to see the CPU usage | |
| Jul 18 19:43:50 <chandankumar> SpeedBus, try this | |
| Jul 18 19:43:54 <gnovi> @abhiram_rk, thank you | |
| Jul 18 19:43:56 * iamviknesh loves the power of command line ;) | |
| Jul 18 19:43:57 <chandankumar> in your terminal | |
| Jul 18 19:44:05 <SpeedBus> yep | |
| Jul 18 19:44:15 <chandankumar> SpeedBus, top is the command | |
| Jul 18 19:44:32 <SpeedBus> yep | |
| Jul 18 19:44:34 <gnovi> I was terribly afraid of this command line. Now feeling happy :) :) | |
| Jul 18 19:44:45 <chandankumar> SpeedBus, top will display more info with all the processes running and its pid | |
| Jul 18 19:44:55 <SpeedBus> htop works as well, but need to install it seprately, it shows each cpu core info | |
| Jul 18 19:45:16 * biraj ([email protected]) has joined #dgplug | |
| Jul 18 19:45:18 <chandankumar> SpeedBus, i need to install it also. | |
| Jul 18 19:45:29 <abhiram_rk> Should we install it? | |
| Jul 18 19:45:36 <chandankumar> abhiram_rk, you can | |
| Jul 18 19:45:40 <abhiram_rk> Cool | |
| Jul 18 19:45:54 <chandankumar> please remember to use ! for asking question | |
| Jul 18 19:46:00 * shrees ([email protected]) has joined #dgplug | |
| Jul 18 19:46:08 <SpeedBus> here's a screenshot from one of the server nodes : http://i.imgur.com/9DXlQ9d.png | |
| Jul 18 19:46:08 * abhiram_rk says sorry. | |
| Jul 18 19:46:12 * devmodem has quit (Quit: Leaving) | |
| Jul 18 19:46:26 <chandankumar> SpeedBus, :) | |
| Jul 18 19:47:25 <humpty> SpeedBus, what is pid in this screenshot? | |
| Jul 18 19:47:30 <chandankumar> try this | |
| Jul 18 19:47:43 <chandankumar> pid --> process id | |
| Jul 18 19:47:46 <iamviknesh> each process has a id called pid | |
| Jul 18 19:47:49 <chandankumar> sudo du -s /home/* | |
| Jul 18 19:47:50 <abhiram_rk> humpty: Pid = process id, a unique id | |
| Jul 18 19:47:57 <chandankumar> try the above command | |
| Jul 18 19:48:10 * EkAurBottleLa has quit (Ping timeout: 246 seconds) | |
| Jul 18 19:48:15 <humpty> abhiram_rk , ok | |
| Jul 18 19:48:20 * shalini1 ([email protected]) has joined #dgplug | |
| Jul 18 19:48:42 * shalini1 has quit (Client Quit) | |
| Jul 18 19:48:56 <RakRock> Think it gives the available free space ? | |
| Jul 18 19:49:36 * leero9 ([email protected]) has joined #dgplug | |
| Jul 18 19:49:43 <sivteck> RakRock: it gives disk usage for each file in a directory | |
| Jul 18 19:49:51 <chandankumar> try command netstat | |
| Jul 18 19:50:04 <iamviknesh> it gives the file size , i think | |
| Jul 18 19:50:08 * leero9 has quit (Client Quit) | |
| Jul 18 19:50:25 <lixxz> man du | |
| Jul 18 19:50:26 * leero9 ([email protected]) has joined #dgplug | |
| Jul 18 19:50:40 <chandankumar> try ifconfig | |
| Jul 18 19:51:10 <RakRock> ifconfig gives the interface info along with the configured ip address | |
| Jul 18 19:51:21 <iamviknesh> yeah :) | |
| Jul 18 19:51:29 <RakRock> Doest netstat show the list of all sockets open ? | |
| Jul 18 19:51:31 <acetakwas_> and the data usage | |
| Jul 18 19:51:48 <chandankumar> RakRock, yes | |
| Jul 18 19:51:55 <RakRock> cool, thanks | |
| Jul 18 19:51:56 <chandankumar> not data usage | |
| Jul 18 19:52:18 <acetakwas_> It shows transferred bytes | |
| Jul 18 19:52:28 <chandankumar> you can try uname -a | |
| Jul 18 19:52:43 <chandankumar> to check which operating system you are using | |
| Jul 18 19:52:47 <chandankumar> and kernel version | |
| Jul 18 19:52:56 <chandankumar> done? | |
| Jul 18 19:53:05 <dhritishikhar_> yes | |
| Jul 18 19:53:09 <Mactoc> done | |
| Jul 18 19:53:10 <sivteck> done | |
| Jul 18 19:53:12 <SpeedBus> the issue with ifconfig is the network usage resets on reboot, so use something like vnstat :) | |
| Jul 18 19:53:13 <kanika04> yes | |
| Jul 18 19:53:14 <satarupa> yes | |
| Jul 18 19:53:16 <dev212> done | |
| Jul 18 19:53:22 <silentSae> done | |
| Jul 18 19:53:23 <gnovi> done | |
| Jul 18 19:53:25 * papiya has quit (Quit: Leaving) | |
| Jul 18 19:53:32 <acetakwas_> yes | |
| Jul 18 19:53:36 * fewcha ([email protected]) has joined #dgplug | |
| Jul 18 19:53:42 <amit001> Done | |
| Jul 18 19:53:46 <iamviknesh> yeah | |
| Jul 18 19:53:48 <chandankumar> SpeedBus, awesome :) | |
| Jul 18 19:53:54 <acetakwas_> okay | |
| Jul 18 19:54:01 <Sparking> done | |
| Jul 18 19:54:03 <CuriousLearner> done | |
| Jul 18 19:54:29 <Prash_542> done | |
| Jul 18 19:54:46 <chandankumar> Today kushal will come at 08:30 P.M. , he will be giving some home task for you. | |
| Jul 18 19:54:50 <jaba> done | |
| Jul 18 19:54:54 <chandankumar> any questions till now? | |
| Jul 18 19:55:03 <kushal> hopefully. | |
| Jul 18 19:55:09 <abhiram_rk> done | |
| Jul 18 19:55:10 <abhiram_rk> no | |
| Jul 18 19:55:24 * papiya ([email protected]) has joined #dgplug | |
| Jul 18 19:55:54 <acetakwas_> ok | |
| Jul 18 19:56:18 <acetakwas_> chandankumar, pm please (or should I ask kushal ?) | |
| Jul 18 19:56:25 * leero9 has quit (Read error: No route to host) | |
| Jul 18 19:56:29 <chandankumar> acetakwas_, yes | |
| Jul 18 19:56:50 <acetakwas_> okay | |
| Jul 18 19:56:52 * abhiramrk_ ([email protected]) has joined #dgplug | |
| Jul 18 19:57:46 * leero9 ([email protected]) has joined #dgplug | |
| Jul 18 19:57:52 <chandankumar> everybody install a command sl | |
| Jul 18 19:57:59 <chandankumar> sudo yum install sl | |
| Jul 18 19:58:01 <chandankumar> in fedora | |
| Jul 18 19:58:42 <silentSae> that is so cool! | |
| Jul 18 19:58:56 <gnovi> @chandankumar, done | |
| Jul 18 19:59:03 * dhritishikhar_ has quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | |
| Jul 18 19:59:14 * dhritishikhar__ (2a680fbc@gateway/web/cgi-irc/kiwiirc.com/ip.42.104.15.188) has joined #dgplug | |
| Jul 18 19:59:22 <jaba> done | |
| Jul 18 19:59:23 <chandankumar> try sl in your terminal | |
| Jul 18 19:59:27 <chandankumar> and see the fun | |
| Jul 18 19:59:42 <gnovi> it is showing a train engine :) awesome | |
| Jul 18 19:59:46 <Mactoc> cool | |
| Jul 18 19:59:48 <iamviknesh> install cowsay or xcowsay :P | |
| Jul 18 19:59:50 <Mactoc> :) | |
| Jul 18 20:00:05 <chandankumar> there are lots of funny commands in linux | |
| Jul 18 20:00:09 <chandankumar> you can try later | |
| Jul 18 20:00:22 <chandankumar> sometime people just write wrong command | |
| Jul 18 20:00:31 <chandankumar> so they make some fun out of it | |
| Jul 18 20:00:31 <jaba> yeah its really cool | |
| Jul 18 20:00:38 <chandankumar> one example is this | |
| Jul 18 20:01:08 <dev212> awsome :) | |
| Jul 18 20:01:38 <acetakwas_> awesome! | |
| Jul 18 20:01:47 <chandankumar> have you tried grep command? | |
| Jul 18 20:02:14 <RakRock> yup | |
| Jul 18 20:02:18 <acetakwas_> no | |
| Jul 18 20:02:19 <RakRock> sorry, Yes | |
| Jul 18 20:02:31 <chandankumar> ok | |
| Jul 18 20:02:32 <sivteck> yes | |
| Jul 18 20:02:44 <chandankumar> try ps aux | grep root | |
| Jul 18 20:03:05 <chandankumar> what does "| " represents? | |
| Jul 18 20:03:10 <sivteck> pipe | |
| Jul 18 20:03:12 <CuriousLearner> pipe | |
| Jul 18 20:03:13 <chandankumar> good | |
| Jul 18 20:03:15 <gnovi> @iamviknesh, cowsay, its hanged | |
| Jul 18 20:03:19 <RakRock> pipe | |
| Jul 18 20:03:29 <chandankumar> iamviknesh, try later those commands | |
| Jul 18 20:03:32 <abhiramrk_> Pipe | |
| Jul 18 20:03:42 <silentSae> gnovi, ctrl + c | |
| Jul 18 20:03:49 * rdas has quit (Quit: Leaving) | |
| Jul 18 20:03:53 <chandankumar> the above is used to grep info for a particular process | |
| Jul 18 20:04:14 <gnovi> @silentSae, :) thanks | |
| Jul 18 20:04:26 <chandankumar> i hope everybody have fedora systems. | |
| Jul 18 20:04:46 <silentSae> ubuntu :| | |
| Jul 18 20:04:49 <sivteck> not me, sorry. | |
| Jul 18 20:04:55 <acetakwas_> Ubuntu | |
| Jul 18 20:04:57 <Mactoc> ubuntu | |
| Jul 18 20:04:59 <RakRock> Ubuntu | |
| Jul 18 20:04:59 * donniezazen has quit (Ping timeout: 250 seconds) | |
| Jul 18 20:05:04 <chandankumar> ok no problem | |
| Jul 18 20:05:04 <papiya> yes | |
| Jul 18 20:05:09 <Prash_542> i don't | |
| Jul 18 20:05:10 <gnovi> yup, but now I am om mint | |
| Jul 18 20:05:30 <CuriousLearner> yup, fedora :D | |
| Jul 18 20:05:33 <iamviknesh> gnovi: i used that a long ago , dint try now , just told to everyone :) | |
| Jul 18 20:05:43 <lixxz> both ubuntu and fedora | |
| Jul 18 20:06:41 * elacheche has quit (Quit: Quitte) | |
| Jul 18 20:07:14 <dev212> ubuntu | |
| Jul 18 20:07:32 <jaba> ubuntu | |
| Jul 18 20:07:39 <chandankumar> now we can try some addition in shell script | |
| Jul 18 20:08:03 * shrees has quit (Ping timeout: 240 seconds) | |
| Jul 18 20:08:17 <chandankumar> try this http://paste.fedoraproject.org/119046/40569428 | |
| Jul 18 20:08:35 <chandankumar> and create your numeric expression using shell command | |
| Jul 18 20:08:49 * senju has quit (Ping timeout: 246 seconds) | |
| Jul 18 20:09:05 * anuj has quit (Ping timeout: 240 seconds) | |
| Jul 18 20:09:25 <RakRock> Hi ChandanKumar, I got to leave now. Please save the log and home work task from Kushal. I shall read it later during the day. Thanks <eom> | |
| Jul 18 20:09:26 * vipsy ([email protected]) has joined #dgplug | |
| Jul 18 20:09:32 <chandankumar> RakRock, ok | |
| Jul 18 20:09:39 * RakRock has quit (Quit: Page closed) | |
| Jul 18 20:10:59 <abhiram_rk> done! | |
| Jul 18 20:11:00 <humpty> ! | |
| Jul 18 20:11:15 * abhiramrk_ has quit (Quit: Bye) | |
| Jul 18 20:11:27 <CuriousLearner> done | |
| Jul 18 20:11:32 <chandankumar> next | |
| Jul 18 20:11:33 <batul> humpty please ask your question. | |
| Jul 18 20:11:35 <humpty> chandankumar, but why would we do numeric expression using shell command? | |
| Jul 18 20:12:30 <chandankumar> humpty, it is a programming language, | |
| Jul 18 20:12:45 <humpty> ok | |
| Jul 18 20:12:55 <gnovi> @chandankumar, got to go. Will be on the channel throgh my cellphone | |
| Jul 18 20:13:21 * ani_stark ([email protected]) has joined #dgplug | |
| Jul 18 20:13:24 <chandankumar> so i am going to give a small home work to you all. | |
| Jul 18 20:13:41 <gnovi> ok | |
| Jul 18 20:13:54 <iamviknesh> awesome :-D | |
| Jul 18 20:15:01 * gnovi (0e63c6a4@gateway/web/freenode/ip.14.99.198.164) has left #dgplug | |
| Jul 18 20:15:08 * Sparking_ ([email protected]) has joined #dgplug | |
| Jul 18 20:15:18 * chat7215 ([email protected]) has joined #dgplug | |
| Jul 18 20:16:35 * Sparking has quit (Ping timeout: 240 seconds) | |
| Jul 18 20:16:49 * Sparking_ is now known as Sparking | |
| Jul 18 20:17:00 <acetakwas_> so shell scripting appears to be whitespace sensitive | |
| Jul 18 20:17:25 <lixxz> yep | |
| Jul 18 20:17:29 <iamviknesh> acetakwas_: yeah :( | |
| Jul 18 20:17:43 * chat7215 has quit (Client Quit) | |
| Jul 18 20:18:14 <acetakwas_> okay. I was getting errors at first | |
| Jul 18 20:18:58 * gnovi ([email protected]) has joined #dgplug | |
| Jul 18 20:19:48 * humpty has quit (Ping timeout: 256 seconds) | |
| Jul 18 20:20:22 * fewcha has quit (Ping timeout: 256 seconds) | |
| Jul 18 20:20:36 <kushal> chandankumar, what is the small hometask? | |
| Jul 18 20:21:40 * anuj ([email protected]) has joined #dgplug | |
| Jul 18 20:21:40 * gnovi has quit (Read error: Connection reset by peer) | |
| Jul 18 20:22:19 <chandankumar> Write a shell script in a single file to show all the above information: http://paste.fedoraproject.org/119052/14056950 | |
| Jul 18 20:23:08 <CuriousLearner> ok | |
| Jul 18 20:23:13 <acetakwas_> ok | |
| Jul 18 20:23:26 * praveenkumar (~praveenku@fedora/praveenkumar) has joined #dgplug | |
| Jul 18 20:23:46 <chandankumar> and push it your bitbucket account. | |
| Jul 18 20:23:58 <abhiram_rk> right | |
| Jul 18 20:24:10 <CuriousLearner> ok | |
| Jul 18 20:24:12 <chandankumar> kushal, given | |
| Jul 18 20:24:31 <sivteck> chandankumar: what is the difference? : "8> list all the connected external devices" && "10> list all the connected devices to your system" | |
| Jul 18 20:25:17 <chandankumar> sivteck, one question is repeated device | |
| Jul 18 20:25:33 <sivteck> twice? | |
| Jul 18 20:25:42 <chandankumar> sorry | |
| Jul 18 20:25:47 <chandankumar> silentSae, *twice | |
| Jul 18 20:25:55 <sivteck> ok thank you | |
| Jul 18 20:25:59 <chandankumar> please ignore one. | |
| Jul 18 20:27:10 <chandankumar> the above link is not permanent so, please save the link page somewhere in your system | |
| Jul 18 20:27:16 <acetakwas_> okay; sivteck +1 | |
| Jul 18 20:27:40 <acetakwas_> done | |
| Jul 18 20:27:41 * Mactoc has quit (Read error: Connection reset by peer) | |
| Jul 18 20:28:44 * fewcha ([email protected]) has joined #dgplug | |
| Jul 18 20:29:49 <chandankumar> Roll Call | |
| Jul 18 20:29:57 <sivteck> Sivaram Balakrishnan | |
| Jul 18 20:29:57 <bnprk> Binay Pareek | |
| Jul 18 20:29:59 <iamviknesh> vikneshwar | |
| Jul 18 20:30:00 <abhiram_rk> Abhiram Ravikumar | |
| Jul 18 20:30:01 <ace139> Soumyo Dey | |
| Jul 18 20:30:01 <satarupa> Satarupa Sinha | |
| Jul 18 20:30:03 <kanika04> kanika narang | |
| Jul 18 20:30:03 <Sparking> Bhargav Patel | |
| Jul 18 20:30:04 <Prash_542> Prashant Surya | |
| Jul 18 20:30:04 <lixxz> Yasharth | |
| Jul 18 20:30:05 <amit001> Amit Tripathi | |
| Jul 18 20:30:07 <papiya> Papiya Sen | |
| Jul 18 20:30:17 <azharh> Azhar Hussain | |
| Jul 18 20:30:18 <shilpi> shilpi shukla | |
| Jul 18 20:30:19 <magzter> Mahendra Yadav | |
| Jul 18 20:30:22 <korak1> korak ghosh | |
| Jul 18 20:30:28 <heena> Heena Kaushar | |
| Jul 18 20:30:43 * chandankumar (Chandan_ku@nat/redhat/x-asewjkipkefsruwu) has left #dgplug ("Leaving") | |
| Jul 18 20:30:53 <dev212> Dhanya N | |
| Jul 18 20:30:54 <jaba> Athira S | |
| Jul 18 20:30:56 * chandankumar (Chandan_ku@nat/redhat/x-asewjkipkefsruwu) has joined #dgplug | |
| Jul 18 20:31:19 * magzter has quit (Quit: Leaving) | |
| Jul 18 20:31:32 * gnovi ([email protected]) has joined #dgplug | |
| Jul 18 20:31:32 <surabhi> surabhi | |
| Jul 18 20:32:06 <acetakwas_> Tosin Animashaun | |
| Jul 18 20:32:06 <chandankumar> <---- SESSION OVER-----> | |
| Jul 18 20:32:10 * Mactoc (7b3f8a22@gateway/web/freenode/ip.123.63.138.34) has joined #dgplug | |
| Jul 18 20:32:26 <sivteck> chandankumar: thank you ;] | |
| Jul 18 20:32:30 <umeshs> Umesh Sharnagat | |
| Jul 18 20:32:31 <Mactoc> Sreedevi | |
| Jul 18 20:32:33 * gnovi has quit (Read error: Connection reset by peer) | |
| Jul 18 20:32:37 * shilpi has quit (Quit: Leaving) | |
| Jul 18 20:32:42 <chandankumar> sivteck, welcome. | |
| Jul 18 20:32:44 <acetakwas_> so we should expect kushal's session? | |
| Jul 18 20:33:06 <iamviknesh> chandankumar: you told kushal will be giving some homework | |
| Jul 18 20:33:29 * anuj has quit (Ping timeout: 250 seconds) | |
| Jul 18 20:33:48 <kushal> acetakwas_, not session but somehome task. | |
| Jul 18 20:34:04 <CuriousLearner> Thanks chandankumar | |
| Jul 18 20:34:20 * Sparking has quit (Remote host closed the connection) | |
| Jul 18 20:34:26 <chandankumar> CuriousLearner, np:) | |
| Jul 18 20:34:37 * abhiram_rk feels $sl is amazing! | |
| Jul 18 20:37:48 <umeshs> chandankumar in the link given above of calculator http://paste.fedoraproject.org/119046/40569428/ what i s the use of two brackets? I tried to remove one but getting an error. command not found | |
| Jul 18 20:37:50 <acetakwas_> okay | |
| Jul 18 20:38:57 * acetakwas_ is with abhiram_rk on this one ;) | |
| Jul 18 20:39:37 * acetakwas_ is now shutting down PC... | |
| Jul 18 20:39:46 * surabhi_ ([email protected]) has joined #dgplug | |
| Jul 18 20:39:52 * ace139 has quit (Quit: Leaving) | |
| Jul 18 20:40:37 * RohanRoy ([email protected]) has joined #dgplug | |
| Jul 18 20:40:37 * anarang has quit (Quit: Leaving) | |
| Jul 18 20:42:19 * humpty ([email protected]) has joined #dgplug | |
| Jul 18 20:43:05 * surabhi has quit (Ping timeout: 240 seconds) | |
| Jul 18 20:43:09 <sivteck> chandankumar: "4> pid of /root user" are there process ids for users? | |
| Jul 18 20:43:16 <humpty> can anybody tell me what all happened after 8.15 . i lost my internet connection after that and yes what homework is given? | |
| Jul 18 20:43:26 <leero9> Missed roll call twice :( | |
| Jul 18 20:43:44 <CuriousLearner> leero9, me too :P | |
| Jul 18 20:44:10 <CuriousLearner> sometimes I receive messages late, result : roll call is already done :P | |
| Jul 18 20:44:19 * acetakwas_ has quit (Ping timeout: 250 seconds) | |
| Jul 18 20:44:58 <Prash_542> chandankumar,can i push the homework tomorrow? | |
| Jul 18 20:45:14 <kushal> Prash_542, yes | |
| Jul 18 20:45:18 <kushal> Everyone ping | |
| Jul 18 20:45:29 <humpty> kushal, can you tell me what all happened after 8.15 . i lost my internet connection after that and yes what homework is given? | |
| Jul 18 20:45:34 <CuriousLearner> kushal, means? | |
| Jul 18 20:46:11 * umeshs has quit (Ping timeout: 255 seconds) | |
| Jul 18 20:46:12 <kushal> pingall: We want to blog 2 times in a week at least. Not mandatory but it will help you to make a good habit. We will be able to read them in the planet in one place. | |
| Jul 18 20:46:13 <batul> humpty, RohanRoy, surabhi_, Mactoc, fewcha, ani_stark, vipsy, dhritishikhar__, leero9, papiya, biraj, novice-coder12, silentSae, abhi_poo, Jupiter_, korak1, Prash_542, kanika04, heena, dev212, CuriousLearner, jaba, souradeep, satarupa, amit001, azharh, tonythomas, bnprk, stephdg, iamviknesh, lixxz, Armageddon, soumyaC, anuragkr, gajanan, sivteck, abhiram_rk, FoodCart42, | |
| Jul 18 20:46:13 <batul> Guest17779, mnw94, sagarkrkv, harshit93, Jackson_waartaa, ciypro|afk, liara, kanha, zer0c00l, oini, samikshan, toxboi`, shaon, kaustavdm, ayushraj, preludelinux, D4rk, ralsina, JCas_server, SpeedBus, digisec, @ChanServ, marienz, kdas | |
| Jul 18 20:46:13 <batul> we want to blog 2 times in a week at least. not mandatory but it will help you to make a good habit. we will be able to read them in the planet in one place. | |
| Jul 18 20:46:30 <kushal> humpty, sorry I do not have the log. | |
| Jul 18 20:47:00 <humpty> kushal, okay but what is the homework chandankumar was saying you would give us? | |
| Jul 18 20:47:17 * souradeep has quit (Ping timeout: 245 seconds) | |
| Jul 18 20:47:27 <CuriousLearner> ok :0 | |
| Jul 18 20:47:32 <azharh> humpty, https://try.waartaa.com | |
| Jul 18 20:48:00 <amit001> Will do it after Monday | |
| Jul 18 20:48:20 * leero9 has quit (Read error: No route to host) | |
| Jul 18 20:48:50 <iamviknesh> humpty: http://pastebin.com/MpExikh8 | |
| Jul 18 20:49:19 <Mactoc> Ok | |
| Jul 18 20:49:38 <humpty> iamviknesh, thanks :) | |
| Jul 18 20:49:43 * silentSae has quit (Read error: Connection reset by peer) | |
| Jul 18 20:49:54 * vipsy has quit (Quit: Leaving) | |
| Jul 18 20:50:43 * surabhi_ has quit (Quit: Leaving) | |
| Jul 18 20:52:24 * ani_stark has quit (Remote host closed the connection) | |
| Jul 18 20:52:31 * azharh ([email protected]) has left #dgplug ("azharh has left the building") | |
| Jul 18 20:52:47 <kushal> humpty, see, ask your friends | |
| Jul 18 20:53:29 * bnprk27 (BinayParee@gateway/shell/waartaa/x-skreqollnnmaqvfd) has joined #dgplug | |
| Jul 18 20:55:11 * heena has quit (Quit: Leaving) | |
| Jul 18 20:55:32 * CuriousLearner is going off now :) | |
| Jul 18 20:55:37 * CuriousLearner has quit (Quit: Leaving) | |
| Jul 18 20:55:38 * iamviknesh has quit (Ping timeout: 255 seconds) | |
| Jul 18 20:57:26 <humpty> kushal, iamviknesh provided me with the required logs :) | |
| Jul 18 20:59:11 * umeshs ([email protected]) has joined #dgplug | |
| Jul 18 20:59:21 * dharmit (~shahdharm@unaffiliated/shahdharmit) has joined #dgplug | |
| Jul 18 20:59:44 * iamviknesh ([email protected]) has joined #dgplug | |
| Jul 18 20:59:55 * umeshs has quit (Client Quit) | |
| Jul 18 21:00:06 * sant0sh ([email protected]) has joined #dgplug | |
| Jul 18 21:01:03 * satarupa has quit (Ping timeout: 240 seconds) | |
| Jul 18 21:03:01 * papiya1 (papiya@gateway/shell/waartaa/x-rgsxtnohnlhrmtrp) has joined #dgplug | |
| Jul 18 21:04:06 * ksinny ([email protected]) has joined #dgplug | |
| Jul 18 21:05:15 * jaba (uid27174@gateway/web/irccloud.com/x-govqwzpmvlckrymc) has left #dgplug | |
| Jul 18 21:05:33 * praveenkumar has quit (Ping timeout: 250 seconds) | |
| Jul 18 21:05:51 * papiya has quit (Quit: Leaving) | |
| Jul 18 21:05:58 * Mactoc has quit (Quit: Page closed) | |
| Jul 18 21:08:33 * anuragkr has quit (Ping timeout: 240 seconds) | |
| Jul 18 21:08:37 * kanika04 has quit (Quit: Leaving) | |
| Jul 18 21:09:16 * korak1 has quit (Quit: Leaving) | |
| Jul 18 21:11:35 * humpty_ ([email protected]) has joined #dgplug | |
| Jul 18 21:11:48 <chandankumar> Everybody bye, Good Night , Happy Weekend/Learning :) | |
| Jul 18 21:12:05 <humpty_> chandankumar, can i get the logs! | |
| Jul 18 21:12:20 <chandankumar> humpty_, http://pastebin.com/MpExikh8 | |
| Jul 18 21:13:03 * sayan has quit (Ping timeout: 240 seconds) | |
| Jul 18 21:13:05 * humpty has quit (Ping timeout: 240 seconds) | |
| Jul 18 21:13:15 * humpty_ is now known as humpty | |
| Jul 18 21:14:28 <humpty> chandankumar, ok | |
| Jul 18 21:15:06 * chandankumar has quit (Quit: Leaving) | |
| Jul 18 21:16:04 * bnprk has quit (Ping timeout: 250 seconds) | |
| Jul 18 21:16:17 * RohanRoy has quit (Quit: Leaving) | |
| Jul 18 21:18:07 * Prash_542 has quit (Remote host closed the connection) | |
| Jul 18 21:20:25 * leero9 ([email protected]) has joined #dgplug | |
| Jul 18 21:25:35 * iamviknesh has quit (Ping timeout: 250 seconds) | |
| Jul 18 21:25:47 * papiya1 is now known as papiya | |
| Jul 18 21:27:34 * sant0sh has quit (Ping timeout: 264 seconds) | |
| Jul 18 21:28:33 * iamviknesh ([email protected]) has joined #dgplug | |
| Jul 18 21:30:06 * humpty has quit (Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]) | |
| Jul 18 21:32:10 * amit001 has quit (Quit: Bye) | |
| Jul 18 21:32:10 * fewcha has quit (Read error: Connection reset by peer) | |
| Jul 18 21:32:11 * fewcha_ ([email protected]) has joined #dgplug | |
| Jul 18 21:35:36 * debjit ([email protected]) has joined #dgplug | |
| Jul 18 21:38:42 * vaishal ([email protected]) has joined #dgplug | |
| Jul 18 21:40:02 * azharh ([email protected]) has joined #dgplug | |
| Jul 18 21:45:33 * stultus (~stultus@wikisource/Hrishikesh.kb) has joined #dgplug | |
| Jul 18 21:46:38 * Poornima ([email protected]) has joined #dgplug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment