DGPLUG Summer Training Logs for 2018/06/21

14:00 : kushal #startclass
14:00 : Roll Call
14:00 : Sarques_ Gajendra Saraswat
14:00 : kushal Kushal Das
14:00 : BohemianCoast Alison Scott
14:00 : PrashantJ Prashant Jamkhande
14:00 : newrg Rajat Gupta
14:00 : sahil_ sahil
14:00 : priyankasaggu119 Priyanka saggu
14:00 : siddharth Siddharth Sahoo
14:00 : kvy kumar vipin yadav
14:00 : Ved_13 Ved Sinha
14:00 : skat-sd Saikat Dey
14:00 : rohanvivek Rohan Vivek
14:00 : arpana Arpana Debnath
14:00 : AndroUser Ashwani singh
14:00 : rishibit Rishikesh Bamdale
14:00 : man-jain Manank Patni
14:00 : garima Garima Gill
14:00 : aswanipranjal Pranjal Aswani
14:00 : darkJedi Akshay Iyer
14:00 : AdityaPatil Aditya Patil
14:00 : j605 Jagannathan Tiruvallur Eachambadi
14:00 : sourabh1031 Sourabh Pruthi
14:00 : sourabhdeshmukh sourabh deshmukh
14:00 : bhavin192 Bhavin Gandhi
14:00 : devesh_verma[m] Devesh Verma
14:00 : prodyte pawan kumar
14:00 : mzeeqazi Muhammad Zeeshan Qazi
14:00 : pr97 Priyanka Sharma
14:00 : schubisu Robin Schubert
14:00 : RatanShreshtha Ratan Kulshreshtha
14:00 : smule Shital Mule
14:00 : harendra Harendra Singh
14:00 : pdas Priyam Das
14:00 : anuja_111 Anuja Kulkarni
14:00 : cypher_ Naman Sharma
14:00 : brute4s99 Piyush Aggarwal
14:00 : snandi_ shamik nandi
14:00 : avik Avik Mukherjee
14:00 : vshuklajr Vivek Shukla
14:00 : Noory Fathima shana noory
14:01 : Call Jitendra Kumar Tripathi
14:01 : bismi Janifa M
14:01 : vishalIRC Vishal Kushwaha
14:01 : vait Vaibhav Tripathi
14:01 : gutsytechster Prashant Sharma
14:01 : ananyo Ananyo Maiti
14:01 : vara1 Vara Singh
14:01 : adityad97 Aditya Deshpande
14:01 : rajan Rajan Choudhary
14:01 : chaitanya chaitanya Devale
14:01 : umesh Umesh Sharnagat
14:01 : dharmateja C Dharmateja
14:01 : storymode7 Mayank Singhal
14:01 : codejacker ankur vishwakarma
14:01 : tnitave Tushar Nitave
14:01 : olajayi__ olajayi__
14:01 : surzile19 hi
14:01 : aryan13 aryan tripathi
14:01 : Codemonk_19 Saksham Srivastava
14:01 : GeekyShacklebolt Shiva Saxena
14:01 : VirtualRcoder Shubham Sharma
14:02 : yadnesh Yadnesh Kulkarni
14:02 : sinchan Akash Rai
14:02 : BhaveshSGupta[m] Bhavesh Gupta
14:02 : HoloIRCUser1 Vaishnavi kulkarni
14:02 : khomesh24 Khomesh Thakre
14:02 : kushal Okay.
14:03 : shailesh Shailesh chhabdiya
14:03 : kushal Any questions on LYM book chapter 1 or 2 (FHS) ?
14:03 : raise your hands
14:03 : ananyo !
14:03 : kushal next
14:03 : Rakshit__ Rakshit AIrani
14:04 : ananyo I have a doubt on FHS. I didn't clearly understand the difference between static and variable files
14:05 : kushal ananyo, static files will not change or rather they don't need any changes.
14:05 : say /usr/share directory
14:05 : ananyo According to the chapter its states files are those that can't be changed without the permission of system administrator
14:05 : kvy !
14:05 : kushal variable files will change with time (by the applications), say the database in /var/lib/mysql
14:05 : ananyo Ok
14:05 : kushal ananyo, yes, check the permission of /usr/share
14:05 : next
14:06 : surzile19_ hi
14:06 : kvy kushal, I have read both chapter, is it necessary to remember description of all the filesystem.
14:06 : ananyo But files in /var are also read only
14:06 : kushal kvy, Nope, with time you will remember more.
14:06 : ananyo, check /var/lib files
14:06 : kvy kushal, ok thanks
14:07 : kushal next
14:07 : any other question anyone?
14:08 : shahaha Shahaji Shinde
14:08 : kushal Who all are yet to watch this documentary? https://summertraining.readthedocs.io/en/latest/beforestart.html#watch-the-internet-s-own-boy
14:09 : umesh Me
14:09 : kushal type "me" if you are yet to watch
14:09 : codejacker me
14:09 : gutsytechster me
14:09 : olajayi__ me
14:09 : Sarques_ me
14:09 : devesh_ Me
14:09 : vshuklajr me
14:09 : Ved_Sinha me
14:09 : siddharth me
14:09 : pr97 me
14:09 : devesh_verma[m] me
14:09 : adityad97 me
14:09 : pooja_s me
14:09 : vishalIRC me
14:09 : darkJedi me
14:09 : snandi_ me
14:09 : chaitanya me
14:09 : priyankasaggu119 me
14:09 : rishibit me
14:09 : BohemianCoast me
14:09 : mzeeqazi me
14:10 : bismi me
14:10 : ananyo me
14:10 : GeekyShacklebolt me
14:10 : abhishek me
14:10 : Codemonk_19 me; but i read about the guy on wikipedia.
14:10 : surzile19_ me
14:10 : Noory me
14:11 : pdas me
14:11 : man-jain Me
14:11 : kushal Okay
14:11 : RatanShreshtha me
14:11 : kushal So that is the first hometask for you all
14:11 : aswanipranjal me
14:11 : chaitanya read
14:11 : kushal Watch that documentary tonight.
14:12 : Sarques_ Okay
14:12 : devesh_ Okay
14:12 : pr97 Okay
14:12 : Ved_Sinha Okay
14:12 : GeekyShacklebolt Okay
14:12 : ananyo ok
14:12 : gutsytechster okay
14:12 : umesh ok
14:12 : Codemonk_19 ok
14:12 : codejacker okay
14:12 : VirtualRcoder okay
14:12 : bismi ok
14:12 : pdas yup
14:12 : vishalIRC on it
14:12 : harendra okay
14:12 : arpana it is sad
14:12 : adityad97 Yes
14:13 : olajayi__ okay
14:13 : Call Kushal: And for those, who have watched it what they shall do.
14:13 : kushal Next, start reading the next chapter of LYM https://lym.readthedocs.io/en/latest/useful.html
14:13 : man-jain Okay
14:13 : dharmateja Okay
14:14 : kushal Let us finish this chapter during the session.
14:14 : FARHAN ok
14:14 : kvy kushal, ok
14:14 : rajan_ which chapter
14:14 : Rakshit__ alright
14:14 : surzile19_ do we have to watch the internet's own boy??
14:15 : kushal surzile19_, yes (as everything else it is a suggestion).
14:15 : surzile19_, No one is forcing you.
14:15 : rajan_, did you find which chapter?
14:16 : ananyo kushal, the files in /usr/lib can't also be edited unless we are doing it as root user
14:16 : kushal ananyo, yes, and you are not supposed to edit them.
14:16 : rajan_ No, I joined just now, So If you shared any link apart from documentry?
14:16 : No, I joined just now, So If you shared any link apart from documentry?
14:17 : kvy rajan_, we have to read https://lym.readthedocs.io/en/latest/useful.html
14:17 : kushal They are part of the system packages (generally).
14:17 : vshuklajr !
14:17 : avik ananyo, as a matter of fact you need permission to edit anything outside your home!
14:17 : ananyo kushal, Sorry I meant those in /var/lib
14:18 : kushal ananyo, yes but we know that the files there can be changed.
14:18 : like the database
14:18 : ananyo avik, but then what does variable files signify ?
14:18 : avik no idea!
14:18 : ananyo ok so the content can change with time
14:18 : VirtualRcoder me
14:18 : ananyo Is that what it means ?
14:18 : kushal yes
14:18 : VirtualRcoder me
14:18 : sourabh1031 !
14:18 : VirtualRcoder me
14:18 : me
14:18 : ananyo And static files don't change at all ?
14:19 : VirtualRcoder me
14:19 : me
14:19 : bhavin192 ananyo, man pages ;)
14:19 : pooja_s me
14:20 : VirtualRcoder me
14:20 : kushal please raise your hand if you have questions related to the chapter we are studying right now.
14:20 : next
14:20 : bhavin192 ananyo, those may change while updating a package though
14:20 : vshuklajr Are the soft links bidirectional ?
14:20 : mzeeqazi !
14:21 : abhishek !
14:21 : sk56 !
14:21 : Sarques_ !
14:22 : kushal vshuklajr, no
14:22 : mzeeqazi !
14:22 : kushal next
14:22 : sourabh1031 suppose we install any package then how its files are stored in the linux filesystem ?
14:22 : mzeeqazi kushal, environment variable when set are for that particular session only?
14:22 : kushal sourabh1031, they get placed in the right directories
14:22 : sourabh1031, which distribution are you using?
14:22 : sourabh1031 ubuntu
14:23 : bhavin192 mzeeqazi, wait for your turn please
14:23 : kushal sourabh1031, Are you using hexchat?
14:23 : sourabh1031 yes
14:24 : kushal sourabh1031, run dpkg -L hexchat
14:24 : man-jain !
14:24 : kushal for Fedora users: rpm -ql hexchat
14:24 : sourabh1031, you will see the files
14:24 : next
14:24 : mzeeqazi kushal, environment variable when set are for that particular session only?
14:24 : auth_01 What is the topic for today?
14:24 : kushal mzeeqazi, yes, otherwise you will have to define them in some particular files
14:25 : mzeeqazi, say ~/.bash_profile file
14:25 : or ~/.bashrc
14:25 : next
14:25 : kvy auth_01, ask problem from LYM book and read https://lym.readthedocs.io/en/latest/useful.html
14:25 : abhishek what is difference b/w soft link and hard link to a file
14:25 : sourabh1031 kushal thanks
14:25 : pr97 !
14:26 : kushal abhishek, Have you typed the same question in the duckduckgo and looked the results?
14:26 : kvy auth_01, I mean we are discussing problem from first and second chapter from LYM book.
14:26 : chaitanya which command should i type for mac OS
14:26 : abhishek no
14:27 : kushal chaitanya, This training is based on Linux only.
14:27 : avik kushal, isnt MacOS also based on Linux kernel?
14:27 : kushal abhishek, do that first.
14:28 : avik, No
14:28 : kvy abhishek, https://en.wikipedia.org/wiki/Symbolic_link
14:28 : kushal next
14:28 : sk56 how the files are compressed?? and for what tar command is used?
14:28 : sourabh1031 sorry to ask in between kushal i mean that like in windows for any software all its files are usually in c:/programfiles/package_name
14:28 : but in case of linux it is not so
14:28 : kushal sk56, you will have to read about different compression algorithms
14:28 : sourabh1031, no
14:28 : sk56 where can i learn about them
14:29 : chaitanya !
14:29 : sk56 @kushal
14:29 : rishibit !
14:29 : kushal sourabh1031, read the FHS to understand the different directories.
14:29 : Sarques_ cat is used to display matter in a file, when i am trying to display the content of file "name", it is saying no such file exists, do i need to go in /etc/hostname first and then cat it?
14:29 : sourabh1031 okay i will read carefully again
14:29 : Sarques_ sorry mistakenly.
14:29 : kushal sk56, maybe https://en.wikipedia.org/wiki/Data_compression
14:30 : ananyo sourabh1031, Check this https://askubuntu.com/questions/27213/what-is-the-linux-equivalent-to-windows-program-files
14:30 : kushal next
14:30 : Sarques_ cat is used to display matter in a file, when i am trying to display the content of file "name", it is saying no such file exists, do i need to go in /etc/hostname first and then cat it?
14:30 : kushal Sarques_, wait
14:30 : if you type
14:30 : man-jain What do the different parameters of tar stand for like xzvf xjvf czvf
14:30 : kushal cat name
14:30 : jeet__ !
14:30 : darkJedi !
14:30 : kvy sourabh1031, in Linux each file play it's role from a specific location. we have all the information about all specific files and there location in FSH link.
14:30 : man-jain And how it determines if the tar is to be extracted or created
14:30 : kushal kvy, please stop
14:31 : man-jain, you are speaking out of turn.
14:31 : kvy kushal, ok
14:31 : kushal Sarques_, cat will try to find the file named "name" in the current directory
14:31 : if you want to see the content of /etc/hostname
14:31 : then type
14:31 : cat /etc/hostname
14:31 : Sarques_, okay?
14:31 : man-jain kushal: sorry for the mistake
14:32 : Sarques_ actually i want to see the matter in name file, what do i do for it
14:32 : kushal next
14:32 : adityad97 !
14:32 : kushal Sarques_, first you will have to create a file called name, then only you can view it.
14:32 : codejacker !
14:33 : man-jain What do the different parameters of tar stand for like xzvf xjvf czvf
14:33 : kushal man-jain, have you read the man page?
14:33 : man-jain And how it determines if the tar is to be extracted or created
14:33 : kushal man page of tar command ?
14:33 : vishalIRC !
14:33 : man-jain No i haven't thia was in the third chapter so i asked
14:33 : Sarques_ kushal oh i see, it is just a pointer, then why did we did "cat name"?
14:33 : kushal man-jain, please read the man page, and see what is the meaning of c in the argument.
14:34 : man-jain, read the man page first please.
14:34 : man-jain Okay thank you
14:34 : kushal Sarques_, have you done this step https://lym.readthedocs.io/en/latest/useful.html#creating-soft-link-to-a-file ?
14:34 : it creates a softlink named "name"
14:34 : next
14:35 : pr97 kushal, I don't understand the significance of soft links ? Why are soft link created to a file ?
14:35 : Sarques_ kushal yes i was on that.
14:35 : kushal pr97, say a file is at /var/lib/asdfs/sadfjsdjf/asdjfks/kdsjflks/hello.txt
14:35 : chaitanya resolved Usage:
14:35 : List: tar -tf
14:35 : Extract: tar -xf
14:35 : Create: tar -cf [filenames...]
14:35 : Help: tar --help
14:35 :
14:35 : sorry
14:36 : kushal pr97, instead of typing the full path everytime, you can create a softlink say hello.txt
14:36 : and access that everytime
14:36 : next
14:36 : chaitanya resolved
14:36 : Sarques_ !
14:36 : kushal next
14:36 : rishibit What is the purpose of LS_COLORS variable?
14:37 : mzeeqazi !
14:37 : pr97 kushal, do the name of softlink so created should be the same as the file ?
14:37 : kushal rishibit, open duckduckgo.com in a browser, type "what is the purpose of LS_COLORS variable" there and check the results please.
14:38 : pr97, depends on the command you gave, try it out.
14:38 : next
14:38 : jeet__ kushal, Even if we delete a hard link (created using ln) it will still remain. So what is the difference between a hard link and a copy of the file (using cp)? And what if we need to remove a hard link later on?
14:38 : PrashantJ !
14:38 : pr97 Okay kushal, thank you.
14:39 : kushal jeet__, once again, just like rishibit, https://duckduckgo.com/?q=difference+between+hard+link+and+copy&atb=v59-3_a&ia=qa
14:39 : next
14:39 : siddharth pr97 Soft links are just like the shortcut file.
14:40 : pr97 Ohh
14:40 : kushal next
14:40 : adityad97 kushal, What is "." after permissions indicate in 'ls -l' command?
14:41 : siddharth jeet_ It's for the security purpose of the file.Even if you delete the duplicate file you can have access to the orginal file.
14:41 : chaitanya !
14:41 : kushal adityad97, current directory.
14:41 : next
14:41 : codejacker where do i get man page of tar ? same doubt xzvf n xjvf.
14:41 : adityad97 kushal, thanks
14:41 : kushal adityad97, check the chapter 1
14:42 : codejacker okk got it thanks
14:42 : kushal codejacker, man tar ?
14:42 : next
14:42 : vishalIRC kushal, does soft link create an alias?
14:42 : kushal vishalIRC, no, it creates a softlink
14:42 : next
14:42 : Sarques_ kushal what is the problem with "dpkg -L xchat", as i am using xchat and it is showing "Package 'xchat' does not contain any files (!)" in ubuntu.
14:44 : kushal Sarques_, not sure, it shows here.
14:45 : next
14:45 : PrashantJ kushal: Are soft links only to avoid full file paths? Like in nginx configuration, conf files under /etc/nginx/sites-available/ are soft linked under /etc/nginx/sites-enabled. I wonder why they do so?
14:45 : Sarques_ okay
14:45 : bhavin192 adityad97, that dot indicates lack of ACL, if you are talking about the dot after permission string https://superuser.com/q/230559/898133
14:45 : mzeeqazi kushal, what is search database? and why anyone need to update it manually?
14:45 : kushal PrashantJ, so that you don't have to keep copying the same file again and again in different places, and if you change in one place, all places will get the update.
14:46 : next
14:46 : PrashantJ pass
14:46 : kushal mzeeqazi, man locate
14:46 : PrashantJ, yes, you also spoke out of turn
14:46 : PrashantJ kushal: sorry, realized later
14:47 : btw thanks Kushal :)
14:47 : kushal next
14:48 : chaitanya what is the difference between su and sudo?
14:48 : NityaNidhi !
14:49 : kushal chaitanya, have you read the man pages of the both?
14:50 : next
14:50 : newrg chaitanya https://fossbytes.com/sudo-su-difference-linux/
14:50 : rishibit bhavin192, what is the significance of alternate access methods of file?
14:50 : kushal rishibit, please follow the rules of the session.
14:50 : NityaNidhi I got my answer
14:51 : kushal If you all notice, most of you are speaking out of turn.
14:51 : chaitanya read it Thanks newrg
14:51 : rishibit kushal sorry.
14:51 : kushal Means you are not being able to follow simple instructions from batul.
14:51 : NityaNidhi Thanks
14:51 : Codemonk_19 !
14:51 : kushal next
14:52 : Codemonk_19 what are man pages?
14:52 : everyone is referring to them?
14:52 : j605 Codemonk_19: type `man man` in a terminal
14:53 : they are manuals
14:53 : adityad97 bhavin192, I have checked your link. In that, they mentioned that . means the file with SELinux context set. Is it correct or only tha lack of ACL?
14:53 : kushal Codemonk_19, have you read the chapter 1?
14:53 : of LYM
14:53 : chaitanya !
14:54 : bhavin192 adityad97, you can try yourself on a file. We will discuss after session
14:54 : Codemonk_19 yes i did. i think i somehow skipped few parts. i need to revise. thanks.
14:54 : kushal Codemonk_19, :)
14:54 : next
14:54 : adityad97 bhavin192, I have tried. We will discuss this later.
14:54 : chaitanya what are enviornmental variable ?
14:55 : I used printenv but did not get the concept
14:55 :
14:56 : kushal chaitanya, https://en.wikipedia.org/wiki/Environment_variable
14:56 : next
14:56 : Codemonk_19 !
14:56 : chaitanya Thank you kushal:^)
14:56 : kushal next
14:57 : Codemonk_19 Can i ask questions of chPTER 1 TOMORROW?
14:57 : kushal Codemonk_19, yes, but not during the guest sesssion.
14:57 : * session
14:57 : Codemonk_19 *toorrow. ned to work on my touch typing.
14:57 : kushal Codemonk_19, yes.
14:57 : Codemonk_19 *need.
14:58 : kushal Who all tried touch typing?
14:58 : Using gtypist that is.
14:58 : Codemonk_19 i did
14:58 : kushal say me here
14:58 : storymode7 me
14:58 : kvy me
14:58 : gutsytechster me
14:58 : priyankasaggu119 me
14:58 : bhavin192 me
14:58 : championshuttler me
14:58 : cypher_ me too
14:58 : Chinmoy Hi I am Chinmoy, I am here for the first time. Can somebody guide me?
14:58 : Call Me
14:58 : Codemonk_19 i tried using typing master. its free too.
14:58 : ash_mishra I tried using https://www.typingclub.com/
14:58 : snandi me
14:58 : kvy !
14:58 : bismi me
14:58 : BhaveshSGupta[m] me
14:58 : kushal Codemonk_19, ash_mishra please try the free software available first.
14:59 : next
14:59 : singha__ Me
14:59 : sourabh1031 me
14:59 : inquiridortechie me
14:59 : bismi I tried using keybr.com
14:59 : vishalIRC me
14:59 : pr97 me
14:59 : Codemonk_19 kushal, its free too.
14:59 : kvy can you tell me something about Harish pillay ?
15:00 : j605 Codemonk_19: free as in freedom not free food
15:00 : abhishek me
15:01 : kvy kushal, Can you tell me about Harish pillay, He will take our first guest session.
15:01 : kushal Codemonk_19, free == freedom
15:01 : kvy, have you searched about him?
15:01 : kvy kushal, yes but got a lot of profiles of social sites.
15:01 : that's why i am asking to you.
15:02 : Rakshit__ I've used typing.com for touchtyping
15:02 : Codemonk_19 sorry, didn't get you. the software i use is freeware. what is the difference? does it track me too?
15:02 : kushal if the service is free, then most probably you are the product they are selling.
15:02 : After you all watched the documentary, read this document https://kushaldas.in/pages/hacker-ethic-and-free-software-movement.html
15:03 : Feel free to discuss about anything you can think about that.
15:03 : Also we can see most of you are coming online only during session times.
15:03 : Codemonk_19 sure.will revert. thanks.
15:03 : kushal Which means you all are missing the actual usage of IRC where we all can discuss about different ideas.
15:04 : Try to stay online more and try to talk to people here.
15:04 : Over the weekend, remember to read https://lym.readthedocs.io/en/latest/users.html and https://lym.readthedocs.io/en/latest/files.html chapters.
15:04 : next
15:05 : Roll Call please
15:05 : storymode7 Mayank Singhal
15:05 : bhavin192 Bhavin Gandhi
15:05 : PrashantJ Prashant Jamkhande
15:05 : tnitave Tushar Nitave
15:05 : pr97 Priyanka Sharma
15:05 : newrg Rajat Gupta
15:05 : BohemianCoast Alison Scott
15:05 : kvy kumar vipin yadav
15:05 : Rakshit__ Rakshit Airani
15:05 : avik Avik Mukherjee
15:05 : sourabh1031 Sourabh Pruthi
15:05 : vishalIRC Vishal Kushwaha
15:05 : gutsytechster Prashant Sharma
15:05 : priyankasaggu119 Priyanka Saggu
15:05 : rishibit Rishikesh Bamdale
15:05 : NityaNidhi Nitya sharma
15:05 : cypher_ Naman Sharma
15:05 : AdityaPatil Aditya Patil
15:05 : smule Shital Mule
15:05 : Call Jitendra Kumar Tripathi
15:05 : vshuklajr Vivek Shukla
15:05 : Codemonk_19 Saksham Srivastava
15:05 : olajayi__ olajayi__
15:05 : chaitanya chaitanya Devale
15:05 : Sarques_ Gajendra Saraswat
15:05 : bismi Janifa M
15:05 : ananyo Ananyo Maiti
15:05 : adityad97 Aditya Deshpande
15:05 : man-jain Manank Patni
15:05 : Noory Fathima Shana Noory
15:05 : devesh_verma[m] Devesh Verma
15:05 : GeekyShacklebolt Shiva Saxena
15:05 : schubisu Robin Schubert
15:05 : singha__ Ashwani singh
15:06 : jeet__ Amitrajit Bose
15:06 : RatanShreshtha Ratan Kulshreshtha