[18:36:23] [## Class Started at Tue Jun 25 18:36:23 2013 ##] [18:36:23] startclass [18:36:37] Terry Mackin [18:37:23] cool [18:37:46] who all never read the links given yesterday ? [18:37:58] I didn't [18:38:07] But don't delay on my account [18:38:32] anyone else ? [18:39:14] I studied. but not all of them. [18:39:31] elita lobo [18:39:46] questions ? [18:39:51] ! [18:39:54] ! [18:39:59] shantanu, ask [18:40:03] ! [18:40:07] ! [18:40:11] ! [18:40:18] ! [18:40:19] kushal, please explain me about grep. [18:40:31] ! [18:40:36] [18:40:37] ! [18:40:55] shantanu: do you know about the 'man' command? [18:41:01] shantanu, http://www.uccs.edu/~ahitchco/grep/ [18:41:07] ! [18:41:14] Zubin, zishan ask [18:41:28] fewcha, yes, it is used to see manuals [18:41:47] ! [18:41:51] shantanu: yes then doing 'man grep' on the terminal would be the best :) [18:42:18] shantanu, I also passed you a link to read [18:42:32] prikotiyal, tenstormavi tutum ask [18:42:37] what is the function of env? [18:42:37] kushal, got it. [18:42:42] thank you [18:42:43] no need kushal my doubt was cleared. [18:42:50] kushal,if there is only one user in my system,then are 'su' and 'sudo' commands the same, as both allow the user to work as a superuser? [18:42:59] [18:43:07] tutum: man sudo and man su should explain .. [18:43:11] .. the difference to you. [18:43:11] kushal, i am not able to get the use of | or pipe clearly [18:43:12] dot_not: Error: "." is not a valid command. [18:43:14] [18:43:17] [18:43:41] tutum, su command is used to become superuser [18:43:57] ! [18:44:01] ! [18:44:02] tutum, for sudo read https://en.wikipedia.org/wiki/Sudo [18:44:26] ! [18:45:16] prikotiyal, http://www.guru99.com/linux-pipe-grep.html [18:45:27] lakshya, purva pratikkumar ask [18:45:31] understood the usage of pushd and popd bt cant clearly understand the outputs [18:45:36] Christina, ask [18:45:45] kushal, thank you [18:45:48] i didn't understand the concept of cat and popd [18:45:50] kushal,i did not understand about New Item command [18:45:52] What is super user and why is it required [18:45:54] kushal,thank you [18:45:58] [18:46:09] [18:46:09] Christina, google.com is your best friend [18:46:24] purva, what you never understood about cat command ? [18:46:31] kushal, Ok :) [18:46:40] ! [18:46:47] pratikkumar, what is a New Item command ? [18:47:01] elita15, zishan PleaseSTART ask [18:47:03] my question has already asked by prikotiyal. thank you. :) [18:47:13] kushal, New Item is a PowerShell-thing afaik. [18:47:14] ! [18:47:15] [18:47:16] what is the use of this command? [18:47:16] kushal,i understood the usage of pushd and popd bt cant clearly understand the outputs [18:47:17] satarupa, ask [18:47:23] pratikkumar: New Item is used in windows [18:47:25] dot_not, thanks [18:47:30] what is the difference between cp and cp-r [18:47:35] pratikkumar, read only linux stuff [18:47:42] satarupa, man cp will help. [18:47:46] i have same confusion as of shantanu and prikotiyal , so it is cleared [18:47:56] satarupa, tip: "r" stands for recursive. [18:47:57] satarupa, read the man page of cp command [18:48:00] pratikkumar: help is used instead of that in linux [18:48:41] ! [18:48:44] ! [18:48:50] pratikkumer, in linux we use touch command instead of New Item [18:49:02] purva, say you wrote a song inside a file, now you want to show it to someone, then you use cat /path/to/thefile to view the contents of the file [18:49:05] Rahul Chowdhury [18:49:05] ok than you dot_not and kushal [18:49:17] rahulch, just woke up ? [18:49:27] tanvi, ask [18:49:29] kushal,ok [18:49:30] Christina, super user give you full access to your computer so that when you change or edit something you wont be restricted to any action. [18:49:35] ! [18:49:39] kushal, no, my link was down as usual. [18:49:46] lakshya: what you didn't get from output? pushd is used to add path and change it. you can check the output of pwd to clear understand [18:49:51] what is cp -recurse? [18:49:54] ok,i got it,thank you,prikotiyal,kushal [18:49:56] Zubin, let her learn by herself, don't answer everything [18:50:28] tanvi, man cp [18:50:39] ! [18:50:44] thank you kushal,i understood the usage of pushd and popd bt cant clearly understand the outputsravenkumar [18:50:53] kushal, Ok, [18:51:03] prikotiyal: i am sorry for that.yes it is touch [18:51:13] zubin, thank you [18:51:24] pratikkumar:i am sory fot that.yes it is touch [18:51:26] thank you praveenkumar [18:51:42] sorry for the delay ,what is wildcard matching? [18:52:12] PleaseSTART, lakshya ask [18:52:19] [18:52:29] elita15, google :) [18:52:30] what is the differnce between dir and dir -R? [18:52:32] doubt cleared ,kushal [18:52:33] [18:52:43] PleaseSTART, stop reading windows commands [18:53:00] siddhant, ask [18:53:04] what is the purpoae of the use of | symbol in pipes and ridirection topic? unable to understand by book [18:53:04] sankha87, ask [18:53:11] try to learn both things. so i am asking. [18:53:13] !cd and pushd operation are same ? [18:53:19] prikotiyal,its ok [18:53:26] [18:53:34] siddhant, it's about directing the output. Search for "linux pipe". [18:54:00] sankha87, No [18:54:09] ! [18:54:16] PleaseSTART, ask [18:54:25] dot_not,ok thanks :) [18:54:45] if i want to open a jpg file in terminal, can it be opened? [18:55:15] PleaseSTART, yes, with an appropriate program - there are cli image viewers. [18:55:20] PleaseSTART, what do you mean by open ? jpg files should be viewed in the image viewer [18:55:56] i want to see that file in terminal. will it be possible? [18:55:57] ! [18:56:12] * praveenkumar point sankha87 -> http://en.wikipedia.org/wiki/Pushd_and_popd [18:56:42] PleaseSTART, as I said, you can view the image with an appropriate program. [18:57:20] only difference between pushd and cd is pushd remember the directory where it was previously, isnt it? [18:57:55] i am telling that as the text document can be shown in terminal, will it be possible for any picture file?dot_net [18:57:59] bidisha, ask [18:58:13] PleaseSTART, he answered, yes [18:58:27] can only text files be viewed in the terminal? [18:58:56] ! [18:59:13] [18:59:27] bidisha, terminal is for text files, but with proper applications you can view movies and images in ascii mode :) [18:59:40] ok thank you.. kushal , dot_net [18:59:41] PleaseSTART, if you would use "cat" on an image you'd get a lot of seemingly nonsense. [18:59:52] kushal, thank you:> [19:00:22] [19:00:27] ! [19:00:42] btw, there is easier application to use to search inside text files/code, it is pss [19:00:47] ! [19:00:55] in Fedora you can install it as # yum install pss -y [19:01:00] sankha87, ask [19:01:12] only difference between pushd and cd is pushd remember the directory where it was previously, isnt it? [19:01:50] [19:02:03] ! [19:02:19] sankha87, not only, they are two different commands [19:02:27] Ravi_pro, ask [19:02:37] what are the applications to view movies in terminal? [19:02:51] [19:02:57] Ravi_pro, mplayer is a good example of a video player for cli. [19:02:57] BUT! [19:03:05] Your movies will still be in a separate window. [19:03:11] ! [19:03:18] sankha87_: pushd create the stack and keep the track of it when you do popd then it will remove the item from that stack. [19:03:22] kushal, thanks [19:03:22] There are some applications that can convert movies to ascii "on the flow". [19:03:29] Ravi_pro, mplayer -vo aa