----BEGIN CLASS---- [14:00] #startclass [14:00] Roll Call [14:00] Gajendra Saraswat [14:00] Kushal Das [14:00] Alison Scott [14:00] Prashant Jamkhande [14:00] Rajat Gupta [14:00] sahil [14:00] Priyanka saggu [14:00] Siddharth Sahoo [14:00] kumar vipin yadav [14:00] Ved Sinha [14:00] Saikat Dey [14:00] Rohan Vivek [14:00] Arpana Debnath [14:00] Ashwani singh [14:00] Rishikesh Bamdale [14:00] Manank Patni [14:00] Garima Gill [14:00] Pranjal Aswani [14:00] Akshay Iyer [14:00] Aditya Patil [14:00] Jagannathan Tiruvallur Eachambadi [14:00] Sourabh Pruthi [14:00] sourabh deshmukh [14:00] Bhavin Gandhi [14:00] Devesh Verma [14:00] pawan kumar [14:00] Muhammad Zeeshan Qazi [14:00] Priyanka Sharma [14:00] Robin Schubert [14:00] Ratan Kulshreshtha [14:00] Shital Mule [14:00] Harendra Singh [14:00] Priyam Das [14:00] Anuja Kulkarni [14:00] Naman Sharma [14:00] Piyush Aggarwal [14:00] shamik nandi [14:00] Avik Mukherjee [14:00] Vivek Shukla [14:00] Fathima shana noory [14:01] Jitendra Kumar Tripathi [14:01] Janifa M [14:01] Vishal Kushwaha [14:01] Vaibhav Tripathi [14:01] Prashant Sharma [14:01] Ananyo Maiti [14:01] Vara Singh [14:01] Aditya Deshpande [14:01] Rajan Choudhary [14:01] chaitanya Devale [14:01] Umesh Sharnagat [14:01] C Dharmateja [14:01] Mayank Singhal [14:01] ankur vishwakarma [14:01] Tushar Nitave [14:01] olajayi__ [14:01] hi [14:01] aryan tripathi [14:01] Saksham Srivastava [14:01] Shiva Saxena [14:01] Shubham Sharma [14:02] Yadnesh Kulkarni [14:02] Akash Rai [14:02] Bhavesh Gupta [14:02] Vaishnavi kulkarni [14:02] Khomesh Thakre [14:02] Okay. [14:03] Shailesh chhabdiya [14:03] Any questions on LYM book chapter 1 or 2 (FHS) ? [14:03] raise your hands [14:03] ! [14:03] next [14:03] Rakshit AIrani [14:04] I have a doubt on FHS. I didn't clearly understand the difference between static and variable files [14:05] ananyo, static files will not change or rather they don't need any changes. [14:05] say /usr/share directory [14:05] According to the chapter its states files are those that can't be changed without the permission of system administrator [14:05] ! [14:05] variable files will change with time (by the applications), say the database in /var/lib/mysql [14:05] Ok [14:05] ananyo, yes, check the permission of /usr/share [14:05] next [14:06] hi [14:06] kushal, I have read both chapter, is it necessary to remember description of all the filesystem. [14:06] But files in /var are also read only [14:06] kvy, Nope, with time you will remember more. [14:06] ananyo, check /var/lib files [14:06] kushal, ok thanks [14:07] next [14:07] any other question anyone? [14:08] Shahaji Shinde [14:08] Who all are yet to watch this documentary? https://summertraining.readthedocs.io/en/latest/beforestart.html#watch-the-internet-s-own-boy [14:09] Me [14:09] type "me" if you are yet to watch [14:09] me [14:09] me [14:09] me [14:09] me [14:09] Me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:09] me [14:10] me [14:10] me [14:10] me [14:10] me [14:10] me; but i read about the guy on wikipedia. [14:10] me [14:10] me [14:11] me [14:11] Me [14:11] Okay [14:11] me [14:11] So that is the first hometask for you all [14:11] me [14:11] read [14:11] Watch that documentary tonight. [14:12] Okay [14:12] Okay [14:12] Okay [14:12] Okay [14:12] Okay [14:12] ok [14:12] okay [14:12] ok [14:12] ok [14:12] okay [14:12] okay [14:12] ok [14:12] yup [14:12] on it [14:12] okay [14:12] it is sad [14:12] Yes [14:13] okay [14:13] Kushal: And for those, who have watched it what they shall do. [14:13] Next, start reading the next chapter of LYM https://lym.readthedocs.io/en/latest/useful.html [14:13] Okay [14:13] Okay [14:14] Let us finish this chapter during the session. [14:14] ok [14:14] kushal, ok [14:14] which chapter [14:14] alright [14:14] do we have to watch the internet's own boy?? [14:15] 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] kushal, the files in /usr/lib can't also be edited unless we are doing it as root user [14:16] ananyo, yes, and you are not supposed to edit them. [14:16] 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] rajan_, we have to read https://lym.readthedocs.io/en/latest/useful.html [14:17] They are part of the system packages (generally). [14:17] ! [14:17] ananyo, as a matter of fact you need permission to edit anything outside your home! [14:17] kushal, Sorry I meant those in /var/lib [14:18] ananyo, yes but we know that the files there can be changed. [14:18] like the database [14:18] avik, but then what does variable files signify ? [14:18] no idea! [14:18] ok so the content can change with time [14:18] me [14:18] Is that what it means ? [14:18] yes [14:18] me [14:18] ! [14:18] me [14:18] me [14:18] And static files don't change at all ? [14:19] me [14:19] me [14:19] ananyo, man pages ;) [14:19] me [14:20] me [14:20] please raise your hand if you have questions related to the chapter we are studying right now. [14:20] next [14:20] ananyo, those may change while updating a package though [14:20] Are the soft links bidirectional ? [14:20] ! [14:21] ! [14:21] ! [14:21] ! [14:22] vshuklajr, no [14:22] ! [14:22] next [14:22] suppose we install any package then how its files are stored in the linux filesystem ? [14:22] kushal, environment variable when set are for that particular session only? [14:22] sourabh1031, they get placed in the right directories [14:22] sourabh1031, which distribution are you using? [14:22] ubuntu [14:23] mzeeqazi, wait for your turn please [14:23] sourabh1031, Are you using hexchat? [14:23] yes [14:24] sourabh1031, run dpkg -L hexchat [14:24] ! [14:24] for Fedora users: rpm -ql hexchat [14:24] sourabh1031, you will see the files [14:24] next [14:24] kushal, environment variable when set are for that particular session only? [14:24] What is the topic for today? [14:24] 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] auth_01, ask problem from LYM book and read https://lym.readthedocs.io/en/latest/useful.html [14:25] what is difference b/w soft link and hard link to a file [14:25] kushal thanks [14:25] ! [14:26] abhishek, Have you typed the same question in the duckduckgo and looked the results? [14:26] auth_01, I mean we are discussing problem from first and second chapter from LYM book. [14:26] which command should i type for mac OS [14:26] no [14:27] chaitanya, This training is based on Linux only. [14:27] kushal, isnt MacOS also based on Linux kernel? [14:27] abhishek, do that first. [14:28] avik, No [14:28] abhishek, https://en.wikipedia.org/wiki/Symbolic_link [14:28] next [14:28] how the files are compressed?? and for what tar command is used? [14:28] 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] sk56, you will have to read about different compression algorithms [14:28] sourabh1031, no [14:28] where can i learn about them [14:29] ! [14:29] @kushal [14:29] ! [14:29] sourabh1031, read the FHS to understand the different directories. [14:29] 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] okay i will read carefully again [14:29] sorry mistakenly. [14:29] sk56, maybe https://en.wikipedia.org/wiki/Data_compression [14:30] sourabh1031, Check this https://askubuntu.com/questions/27213/what-is-the-linux-equivalent-to-windows-program-files [14:30] next [14:30] 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] Sarques_, wait [14:30] if you type [14:30] What do the different parameters of tar stand for like xzvf xjvf czvf [14:30] cat name [14:30] ! [14:30] ! [14:30] 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] And how it determines if the tar is to be extracted or created [14:30] kvy, please stop [14:31] man-jain, you are speaking out of turn. [14:31] kushal, ok [14:31] 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] kushal: sorry for the mistake [14:32] actually i want to see the matter in name file, what do i do for it [14:32] next [14:32] ! [14:32] Sarques_, first you will have to create a file called name, then only you can view it. [14:32] ! [14:33] What do the different parameters of tar stand for like xzvf xjvf czvf [14:33] man-jain, have you read the man page? [14:33] And how it determines if the tar is to be extracted or created [14:33] man page of tar command ? [14:33] ! [14:33] No i haven't thia was in the third chapter so i asked [14:33] kushal oh i see, it is just a pointer, then why did we did "cat name"? [14:33] 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] Okay thank you [14:34] 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] kushal, I don't understand the significance of soft links ? Why are soft link created to a file ? [14:35] kushal yes i was on that. [14:35] pr97, say a file is at /var/lib/asdfs/sadfjsdjf/asdjfks/kdsjflks/hello.txt [14:35] 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] 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] resolved [14:36] ! [14:36] next [14:36] What is the purpose of LS_COLORS variable? [14:37] ! [14:37] kushal, do the name of softlink so created should be the same as the file ? [14:37] 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] 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] ! [14:38] Okay kushal, thank you. [14:39] 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] pr97 Soft links are just like the shortcut file. [14:40] Ohh [14:40] next [14:40] kushal, What is "." after permissions indicate in 'ls -l' command? [14:41] 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] ! [14:41] adityad97, current directory. [14:41] next [14:41] where do i get man page of tar ? same doubt xzvf n xjvf. [14:41] kushal, thanks [14:41] adityad97, check the chapter 1 [14:42] okk got it thanks [14:42] codejacker, man tar ? [14:42] next [14:42] kushal, does soft link create an alias? [14:42] vishalIRC, no, it creates a softlink [14:42] next [14:42] 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] Sarques_, not sure, it shows here. [14:45] next [14:45] 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] okay [14:45] 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] kushal, what is search database? and why anyone need to update it manually? [14:45] 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] pass [14:46] mzeeqazi, man locate [14:46] PrashantJ, yes, you also spoke out of turn [14:46] kushal: sorry, realized later [14:47] btw thanks Kushal :) [14:47] next [14:48] what is the difference between su and sudo? [14:48] ! [14:49] chaitanya, have you read the man pages of the both? [14:50] next [14:50] chaitanya https://fossbytes.com/sudo-su-difference-linux/ [14:50] bhavin192, what is the significance of alternate access methods of file? [14:50] rishibit, please follow the rules of the session. [14:50] I got my answer [14:51] If you all notice, most of you are speaking out of turn. [14:51] read it Thanks newrg [14:51] kushal sorry. [14:51] Means you are not being able to follow simple instructions from batul. [14:51] Thanks [14:51] ! [14:51] next [14:52] what are man pages? [14:52] everyone is referring to them? [14:52] Codemonk_19: type `man man` in a terminal [14:53] they are manuals [14:53] 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] Codemonk_19, have you read the chapter 1? [14:53] of LYM [14:53] ! [14:54] adityad97, you can try yourself on a file. We will discuss after session [14:54] yes i did. i think i somehow skipped few parts. i need to revise. thanks. [14:54] Codemonk_19, :) [14:54] next [14:54] bhavin192, I have tried. We will discuss this later. [14:54] what are enviornmental variable ? [14:55] I used printenv but did not get the concept [14:55] [14:56] chaitanya, https://en.wikipedia.org/wiki/Environment_variable [14:56] next [14:56] ! [14:56] Thank you kushal:^) [14:56] next [14:57] Can i ask questions of chPTER 1 TOMORROW? [14:57] Codemonk_19, yes, but not during the guest sesssion. [14:57] * session [14:57] *toorrow. ned to work on my touch typing. [14:57] Codemonk_19, yes. [14:57] *need. [14:58] Who all tried touch typing? [14:58] Using gtypist that is. [14:58] i did [14:58] say me here [14:58] me [14:58] me [14:58] me [14:58] me [14:58] me [14:58] me [14:58] me too [14:58] Hi I am Chinmoy, I am here for the first time. Can somebody guide me? [14:58] Me [14:58] i tried using typing master. its free too. [14:58] I tried using https://www.typingclub.com/ [14:58] me [14:58] ! [14:58] me [14:58] me [14:58] Codemonk_19, ash_mishra please try the free software available first. [14:59] next [14:59] Me [14:59] me [14:59] me [14:59] I tried using keybr.com [14:59] me [14:59] me [14:59] kushal, its free too. [14:59] can you tell me something about Harish pillay ? [15:00] Codemonk_19: free as in freedom not free food [15:00] me [15:01] kushal, Can you tell me about Harish pillay, He will take our first guest session. [15:01] Codemonk_19, free == freedom [15:01] kvy, have you searched about him? [15:01] kushal, yes but got a lot of profiles of social sites. [15:01] that's why i am asking to you. [15:02] I've used typing.com for touchtyping [15:02] sorry, didn't get you. the software i use is freeware. what is the difference? does it track me too? [15:02] 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] sure.will revert. thanks. [15:03] 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] Mayank Singhal [15:05] Bhavin Gandhi [15:05] Prashant Jamkhande [15:05] Tushar Nitave [15:05] Priyanka Sharma [15:05] Rajat Gupta [15:05] Alison Scott [15:05] kumar vipin yadav [15:05] Rakshit Airani [15:05] Avik Mukherjee [15:05] Sourabh Pruthi [15:05] Vishal Kushwaha [15:05] Prashant Sharma [15:05] Priyanka Saggu [15:05] Rishikesh Bamdale [15:05] Nitya sharma [15:05] Naman Sharma [15:05] Aditya Patil [15:05] Shital Mule [15:05] Jitendra Kumar Tripathi [15:05] Vivek Shukla [15:05] Saksham Srivastava [15:05] olajayi__ [15:05] chaitanya Devale [15:05] Gajendra Saraswat [15:05] Janifa M [15:05] Ananyo Maiti [15:05] Aditya Deshpande [15:05] Manank Patni [15:05] Fathima Shana Noory [15:05] Devesh Verma [15:05] Shiva Saxena [15:05] Robin Schubert [15:05] Ashwani singh [15:06] Amitrajit Bose [15:06] Ratan Kulshreshtha ----END CLASS----