{"id":1907,"date":"2016-07-02T16:09:07","date_gmt":"2016-07-02T16:09:07","guid":{"rendered":"http:\/\/www.inspirenignite.com\/jntuh\/?p=1907"},"modified":"2021-10-27T20:39:09","modified_gmt":"2021-10-27T20:39:09","slug":"jntuh-b-tech-4th-year-1-sem-computer-science-and-engineering-r13-4-1-linux-programming-lab-r13-syllabus","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/jntuh\/jntuh-b-tech-4th-year-1-sem-computer-science-and-engineering-r13-4-1-linux-programming-lab-r13-syllabus\/","title":{"rendered":"JNTUH B.Tech 4th Year 1 sem Computer Science and Engineering R13 (4-1) Linux Programming Lab  R13 syllabus."},"content":{"rendered":"<p style=\"text-align: justify\">JNTUH B.Tech 4th year (4-1) Linux Programming Lab gives you detail information of Linux Programming Lab R13 syllabus It will be help full to understand you complete curriculum of the year.<\/p>\n<p><strong>Objectives<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\">To write shell scripts to solve problems.<\/li>\n<li style=\"text-align: justify\">To implement some standard Linux utilities such as Is,cp etc using system calls.<\/li>\n<li style=\"text-align: justify\">To develop network-based applications using C.<\/li>\n<\/ul>\n<p><strong>List of sample problems<\/strong><br \/>\n<strong> Note: Use Bash for Shell scripts.<\/strong><\/p>\n<ol>\n<li style=\"text-align: justify\">Write a shell script that accepts a file name, starting and ending line numbers as arguments and displays all the lines between the given line numbers.<\/li>\n<li style=\"text-align: justify\">Write a shell script that deletes all lines containing a specified word in one or more files supplied as arguments to it.<\/li>\n<li style=\"text-align: justify\">Write a shell script that displays a list of all the files in the current directory to which the user has read, write and execute permissions.<\/li>\n<li style=\"text-align: justify\">Write a shell script that receives any number of file names as arguments checks if every argument supplied is a file or a directory and reports accordingly. Whenever the argument is a file, the number of lines on it is also reported.<\/li>\n<li style=\"text-align: justify\">Write a shell script that accepts a list of file names as its arguments, counts and reports the occurrence of each word that is present in the first argument file on other argument files.<\/li>\n<li style=\"text-align: justify\">Write a shell script to list all of the directory files in a directory.<\/li>\n<li style=\"text-align: justify\">Write a shell script to find factorial of a given integer.<\/li>\n<li style=\"text-align: justify\">Write an awk script to count the number of lines in a file that do not Contain vowels.<\/li>\n<li style=\"text-align: justify\">Write an awk script to find the number of characters, words and lines in a file.<\/li>\n<li style=\"text-align: justify\">Write a C program that makes a copy of a file using standard I\/O and system calls.<\/li>\n<li style=\"text-align: justify\">Implement in C the following Linux commands using System calls<br \/>\na). cat b) my<\/li>\n<li style=\"text-align: justify\">Write a C program to list files in a directory.<\/li>\n<li style=\"text-align: justify\">Write a C program to emulate the Unix Is \u2014I command.<\/li>\n<li style=\"text-align: justify\">Write a C program to list for every file in a directory, its mode number and file name.<\/li>\n<li style=\"text-align: justify\">Write a C program that redirects standard output to a file.Ex: Is &gt; f 1.<\/li>\n<li style=\"text-align: justify\">Write a C program to create a child process and allow the parent to display \u201cparent\u201d and the child to display \u201cchild\u201d on the screen.<\/li>\n<li style=\"text-align: justify\">Write a C program to create a Zombie process.<\/li>\n<li style=\"text-align: justify\">Write a C program that illustrates how an orphan is created.<\/li>\n<li style=\"text-align: justify\">Write a C program that illustrates how to execute two commands concurrently with a command pipe. Ex:- Is \u2014l I sort<\/li>\n<li style=\"text-align: justify\">Write C programs that illustrate communication between two unrelated processes using named pipe(FIFO FUe).<\/li>\n<li style=\"text-align: justify\">Write a C program in which a parent writes a message to a pipe and the child reads the message.<\/li>\n<li style=\"text-align: justify\">Write a C program (sender.c) to create a message queue with read and write permissions to write 3 messages to it with different priority numbers.<\/li>\n<li style=\"text-align: justify\">Write a C program (receiver.c) that receives the messages (from the above message queue as specified in (22)) and displays them.<\/li>\n<li style=\"text-align: justify\">Write a C program that illustrates suspending and resuming processes using signals.<\/li>\n<li style=\"text-align: justify\">Write Client and Server programs in C for connection oriented communication between Server and Client processes using Unix Domain sockets to perform the following: Client process sends a message to the Server Process.The Server receives the message,reverse S it and sends it back to the Client.The Client will then display the message to the standard output device.<\/li>\n<li style=\"text-align: justify\">Write Client and Server programs in C for connection oriented communication between Server and Client processes using Internet Domain sockets to perform the following: Client process sends a message to the Server Process.The Server receives the message,reverse S it and sends it back to the Client.The Client will then display the message to the standard output device.<\/li>\n<li style=\"text-align: justify\">Write C programs to perform the following: One process creates a shared memory segment and writes a message(\u201dHelIo\u201d) into it.Another process opens the shared memory segment and reads the message. \u201cHelIo\u201d).lt will then display the message(\u201dHelIo\u201d) to standard output device.<\/li>\n<\/ol>\n<p style=\"text-align: center\"><strong><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=ini.istudy\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #ff0000\">Download iStudy Android App for complete JNTUH syllabus, results, timetables and all other updates. There are no ads and no pdfs and will make your life way easier<\/span>.<\/a><\/strong><\/p>\n<p style=\"text-align: justify\"><strong>TEXT BOOKS<\/strong><\/p>\n<ul style=\"text-align: justify\">\n<li>Beginning Linux Programming, 4 Edition, N.Matthew, R.Stones,Wrox, Wiley India Edition.<\/li>\n<li>Advanced Unix Programming, N.B.VenkateswarUlU, BS Publications.<\/li>\n<li>Unix and Shell Programming, M.G. Venkatesh Murthy, Pearson Education.<\/li>\n<li>Unix Shells by Example, 4th Edition, ElIlie Quigley, Pearson Education.<\/li>\n<li>Sed and Awk, O.Dougherty&amp;A.RObbiflS,2\u2019 edition, SPD.<\/li>\n<\/ul>\n<p style=\"text-align: justify\"><strong>Outcomes<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\">Ability to understand the Linux environment.<\/li>\n<li style=\"text-align: justify\">Ability to perform the file management and multiple tasks using shell scripts in Linux environment.<\/li>\n<\/ul>\n<p>For more information about all JNTU updates please stay connected to us on FB and don\u2019t hesitate to ask any questions in the comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JNTUH B.Tech 4th year (4-1) Linux Programming Lab gives you detail information of Linux Programming Lab R13 syllabus It will be help full to understand you complete curriculum of the [&hellip;]<\/p>\n","protected":false},"author":2259,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2,152,123,62],"tags":[],"class_list":["post-1907","post","type-post","status-publish","format-standard","hentry","category-cse","category-1st-sem-2","category-4th-year","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/users\/2259"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/comments?post=1907"}],"version-history":[{"count":3,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1907\/revisions"}],"predecessor-version":[{"id":17391,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1907\/revisions\/17391"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/media?parent=1907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/categories?post=1907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/tags?post=1907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}