{"id":24708602,"url":"https://github.com/tirth063/mydoc","last_synced_at":"2026-05-04T01:34:15.451Z","repository":{"id":283778544,"uuid":"695037677","full_name":"tirth063/mydoc","owner":"tirth063","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-22T08:18:50.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T06:07:57.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tirth063.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-22T08:10:03.000Z","updated_at":"2025-03-06T13:26:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"446b4418-fd74-486c-a6f5-e79e67989c2b","html_url":"https://github.com/tirth063/mydoc","commit_stats":null,"previous_names":["tirth063/mydoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tirth063/mydoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fmydoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fmydoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fmydoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fmydoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tirth063","download_url":"https://codeload.github.com/tirth063/mydoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fmydoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32591601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-27T06:35:17.035Z","updated_at":"2026-05-04T01:34:15.443Z","avatar_url":"https://github.com/tirth063.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# mydoc\n\nSub : Unix \n\nUNIX Commands\n\n===========================================================================================\n2010(March/April)\n===========================================================================================\n01.To display contents of top 6 largest files in a working directory.\n=\u003els -l|cut -c 24-28,42-50|sort -rn|head -6\n\n02.To count number of word in line 40 through 60 of file f1.txt.\n=\u003e sed -n 40,60p x1|wc �w\n\n03.Match all filenames not beginning with a dot(.).\n=\u003els -a|grep \"[^\\.]\"\n\n04.Trancefor recursively the ownership of all files in current directory 'bca5'.  \n=\u003echown bca5\n\n05.Copies all 6 character file in working directory to dir exit .\n=\u003ecp ?????? hak\n\n06.To move all files of working directory modified the last 24 hour to mydir directory under your parent directory.\n=\u003e \n\n07.To display all processos run by user1 on terminal pts\n=\u003e ps -u user1\n\n08.To display all files of current directory whose 1th character is not digit.\n=\u003e ls | grep '^[!0-9].*' \n\n09.To delete all special characters from the file x1.\n=\u003e tr -cd \"[0-9a-zA-Z]*\" \u003cx1\n\n10.To display inode number of all files of current directory.\n=\u003e ls �i\n\n===========================================================================================\n\t\t\t\t\t2010(October/November)\n===========================================================================================\n01.To delete every ; at end of file.\n=\u003e grep -v \";$\" f1\n\n02.To display all lines, not containing 'printf' in file f1.\n=\u003e grep - v \"printf\" f1\n\n03.To print first three columns and first two rows of file f1.\n=\u003e  head -2 \u003cf1|cut -d \"-\" -f 1-3\n\n04.To display lines by replacing 'echo' with 'printf' in file f1.\n=\u003e sed \"s/echo/printf/g\" testecho\n\n05.To print line number to all lines begins with 'T' in file f1.\n=\u003e grep -n \"^T\" f1\n\n06.To delete all lines begins with 'T' in file f1.\n=\u003e grep -v \"^T\" f1\n\n07.To delete all lines but not the last line of file f1.\n=\u003e tail -1 f1\n\n08.To extract first word of each line of file f1.\n=\u003e cut -d \" \" -f 1 test3\n\n09.To replace 'the' with 'he' and 'bad' with 'good' in file f1.\n=\u003e sed -e \"s/the/he/g\" -e \"s/bad/good/g\" emp1\n\n10.To dissplay all lines that contains pattern g* in a line.\n=\u003e grep \"g\\*\" f1\n\n===========================================================================================\n2011(March-April)\n===========================================================================================\n01.To display total number of words and lines of words and lines of files for which file name start with 'm'.\n=\u003ewc -l -w m*\n\n02.To remove all leading space from file f1.\n=\u003etr -s \" \" \u003c f1\n\n03.To display line number before each line.\n=\u003ecat -n f1\n\n04.To display line 10 to 20 from file f1.\n=\u003esed -n '10,20p' f1\n\n05.To remove directory tree dir1/dir2/dir3 using single command.\n=\u003ermdir  dir1/dir2/dir3 dir1/dir2 dir1\n\n06.To move all files begin with digit from parent directory to current directory.\n=\u003emv.. /[0-9]*/\n\n07.To convert decimal number 192 to hexadecimal.\n=\u003eecho \"obase=16;192\" | bc\n\n08.To give read and write permission to f1.\n=\u003echmod 420 f1\n\n09.To change modification time of file f1 to Dec 01 10:30 am.\n=\u003etouch -m | ls -l\n\n10.To display unique word of file f1.\n=\u003esed -n 's//\\n/g' f1| sort|uniq -u\n\t  \n11.To display all lines that contains pattern bc* in a line.\n=\u003egrep 'bc\\*' f1\n\n12.To locate line whose second and second last character of file f1 are same.\n=\u003esed -n '/^.\\(.\\).*\\(.\\).$/\\2\\2/p' f1\n\n13.To replace tybca with TYBCA in inputfile in.sh and write those line to output file out.sh\n=\u003esed -n 's/tybca/TYBCA/g' in.sh \u003e out.sh\n\n14.To replace all occurences of 'she' with 'he' and 'hi' with 'hello'.\n=\u003esed -n 's/she/he/g' 's/hi/hello/g' f1\n\n15.To locate lines that begin and end with .(dot).\n=\u003egrep \"^[.].*.$\" f1\n\n16.To display line 5 to 15,25 to 35 and last line of file f1.\n=\u003esed -n -e '5,15p' -e '25,35p'  -e '$p' f1\n\n17.Write a command using awk to count number of occurence of pattern 'bca' in file f1.\n=\u003e awk -F \"-\" '{for(i=1;i\u003c=NF;i++) if($i==\"bca\") c++} END {print c}' f1\n\n18.Write a command using awk to print words whose length is greater than 4 character and consist digit only.\n==\u003eawk '{for(i=1;i\u003cNR;i++){if(length($i)\u003e4){print $i}}' f1\n\n19.Write a command using awk to print even number of words in each line.\n==\u003eawk 'BEGIN{FS=\"|\"}NR%2==0{print}'\n\n===========================================================================================\n2011(October/November)\n===========================================================================================\n01.Forcefully delete each file from directory tybca/my work.\n=\u003erm -f hiren/hak/* \n\n02.Show all hiden file from mydir/tybca.\n=\u003els -a|grep \"^\\.\"|sort\n\n03.Sort filename by last access time from directory tybca/my work.\n=\u003e ls \\tybca\\'my work' -u\n \n04.Rename file chap 1 to unit 1.\n=\u003erm chap 1 unit 1\n\n05.Find out number of lines of file chap01.\n=\u003ewc -l chap01\n\n06.Find out mode number of file chap01.\n=\u003els -i chap01\n\n07. Write a command to sort a line of file and also remove repeated line.\n=\u003esort x1 -u\n\n08.Write a command to locate the 'tybca' ignoring case.\n=\u003egrep -i \"tybca\" emp1\n\n09.Write a command to display occurrence of string 'sales'.\n=\u003egrep -c \"sales\" emp1\n\n10.Write a command to display line which start with \"the\".\n=\u003egrep \"^the.*\" emp1\n\n11.Write a command to display line which end with \"ia\".\n=\u003egrep -i \"ia$\" test1 \n=\u003egrep \"*ia$\" test1\n\n12.Write a command to print first three line of file.\n=\u003ehead -3 emp1\n\n13.Write a coomand to substitute 'doshi' with 'desai'.\n=\u003esed \"s/doshi/desai/g\" x1\n\n===========================================================================================\n2012(March-April)\n===========================================================================================\n01.To print first three line of file Tybca.\n=\u003ehead -3 Tybca\n\n02.To sort file by access time.\n=\u003els -u\n\n03.To print field 1 and 6 from the Tybca\n=\u003ecut -d \"|\" -f 1,6 Tybca\n\n04.To print Unique line of file Tybca\n=\u003esort -u Tybca\n\n05.To Print Frequency of each line from file Tybca.\n=\u003esort test|uniq -c\n\n06.To find file having size greater then five \n=\u003e ls -l|cut -c 24-27|grep -v \"^[ ][ ][ ][0-4]*$\"\n\n07.To find a file having which have .c extension.\n=\u003els|grep \"\\.c\"\n\n08.Write a command to print lines which contain only TYBCA.\n=\u003egrep 'TYBCA' dept.lst\n\n09.Write a command to print lines which not contain TYBCA.\n=\u003egrep -v 'TYBCA' dept.lst\n\n10.Write a command to print lines 6 to 12.\n=\u003e sed -n '6,12p' dept.lst\n\n11.Write a command to replace first occurrence of surat with vyara in each line.\n=\u003e sed 's/surat/vyara/' dept.lst\n\n12.Write a command to print content of file after deleting every ;.\n=\u003esed -e 's/;//g' x1 \n\n13.Write a command to sort column 3 to 5.\n=\u003esed -n 3,5p x1|sort\n\n14.Write a command to convert small alpabeticas to capital alphabetets.\n=\u003e tr \"[a-z]\" \"[A-Z]\" \u003c test1\n\n15.Write a command to print lines with line number which contain \"marketing\".\n=\u003egrep -i -n \"marketing\" x1\n\n===========================================================================================\n2012(October/November)\n===========================================================================================\n01.Count number of characters in first five lines of file x1.\n=\u003ehead -5 x1|wc -c\n\n02.To replace the word Computer with Computing of x1\n=\u003esed \"s\\Computer\\Computing\\g\" x1\n\n03.Display lines whose last word is UNIX of file x1.\n=\u003egrep -i \"unix$\" x1\n\n04.Display lines starting from 10th lines of file x1.\n=\u003etail -n +10 x1\n\n05.To Delete all special characters from the file x1.\n=\u003etr -cd \"[a-zA-Z0-9]*\" \u003cx1\n\n06.To display lines beginning with alphabets of file x1.\n=\u003egrep \"^[A-Za-z].*\" x1\n\n07.To remove a filename as x1 ?(x1 followed by ? character).\n=\u003e rm 'x1 ?'\n\n08.To Display last line of file x1.\n=\u003etail -1 x1\n\n09.To deny execute permission to a group of file x1.\n=\u003echmod g-x x1\n\n10.To create link between file x1 and x1.link.\n=\u003elink x1 x1.link\n\n11.To run Script X1 in background so that its execution continue even user logout from the system\n=\u003e\n\n===========================================================================================\n2013(March-April)\n===========================================================================================\n01. Display lines 10 to 15 from files x1.\n=\u003esed -n 10,15p x1\n\n02. Display last word of each line from a file x1.\n=\u003etr \"\\012\" \";\" \u003cx1|tr \"|\" \"\\012\"|grep \";\"|cut -d \";\" -f1\n\n03. To count number of characters from the file x1.\n=\u003etail -1 x1|wc -c\t\n\n04. To count number of words in line 40 thought 60 from the file f1.txt .\n=\u003ehead -60 f1.txt|tail -20|wc -w\n\n05. To delete all special characters from the file x1.\n=\u003etr -cd \"[0-9a-zA-Z]*\" \u003cx1\n\n06. Display all line that start with 'let' , from  a file x1.1 , e or t may be in any case.   \n=\u003egrep '^[l|Ee|Tt].*' x1.1\n=\u003egrep '^l[Ee|Tt].*' x1.1\n\n07.Display the lines which are not starting with 2 at the begining.\n=\u003egrep -v \"^2\" emp\n\n08.Display lines having exactly 50 character in file x1.\n=\u003egrep '^.\\{50\\}$' x1\n\n09.count number of blank lines in file x1.\n=\u003egrep -c '^$' x1\n\n10.Display lines having at least one * character in file x1.\n=\u003egrep '^*' x1 \n\n11.Display lines from file x1 that containing string \"UNIX\" or \"unix\" or \"Unix\" . \n=\u003egrep -c '^UNIX\\|Unix\\|unix$' x1\t\t\\\\ to count\n=\u003egrep -i '^unix$' x1\t\t\t\t\t\\\\ to Display\n\n12.Display the directory listing.\n=\u003els -l|grep \"^d\"\n\n13.Substitute 'endif' with 'fi' on line 10 of file x1.\n=\u003e sed  '10s/endif/fi/' x1\n\n14.Display two line starting from 7th line of file x1.\n=\u003e sed -n 7,+1p x1\n\n15.Display all the line before string \"Unix\" from file x1.\n=\u003e\n\n16.Display all blank lines between line 20 and 30 of file x1.\n=\u003esed -n 20,30p x1|grep \"^$\"\n\n17.Display line beggining either with alphabet or digit from file x1.\n=\u003egrep \"^[a-zA-Z0-9]\" x1\n\n18.Display the lines that do not contain \"Unix\".\n=\u003egrep -i -v \"unix\" emp\n\n\n===========================================================================================\n2013(October/November)\n===========================================================================================\n01.Remove duplicate line from a file.\n=\u003e sort -d emp|uniq\n\n02.To count number of characters in last line file x1.\n=\u003etail -1 emp|wc -cs\n\n03.Display the processes of user 'bca0 I'.\n=\u003eps -u 'bca0 I'\n\n04.List the user from /etc/passwd in the alphabrtically sorted order.\n=\u003esort -d /etc/passwd\n\n05.Count the frequency of users who are logged in from more than one terminal.\n=\u003ewho|cut -d \" \" -f 1|sort |uniq -d\n\n06.Display string in upper case of file f1.txt.\n=\u003etr \"[a-z]\" \"[A-Z]\" \u003cf1.txt\n\n07.Write a command to print lines which contain 'accounts'.\n=\u003e grep \"accounts\" emp\n\n08.Write a command to print lines which do not contain 'accounts'.\n=\u003e grep -v \"accounts\" emp\n\n09.Write a command to print lines 10 to 15.\n=\u003esed -n 10,15p x1\n\n10.Write a command to substitute 'doshi' with 'desai'.\n=\u003esed \"s/doshi/desai/g\" x1\n\n11.Write a command to print lines with line numbers which contain \"Marketing\".\n=\u003egrep -n \"Marketing\" emp|cat -n\n\n12.Write a command to display line which starts with 'the'.\n=\u003egrep \"^e\" emp\n\n13.Write a script to display the user login ids,their home directories and login shells from the \"etc\\password\" file.\n=\u003e cat etc/passwd|cut -d \":\" -f 1,6,8\n\n14.Switch the first two fields in each line of text and put the result in new file.\n=\u003e awk 'BEGIN{FS=\"-\"}{print $2,$1}' emp1\u003eswitchf\n\n15.To only print lines where in the first field had a numeric value less then 20. \n=\u003e awk 'BEGIN{FS=\"-\"}{if($1\u003c20){print}}' emp1\n\n===========================================================================================\n2014(March-April)\n===========================================================================================\n01.Write a Command to Print First Seven Line of File\n=\u003ehead -7 x1\n\n02.Write a Command to sort Line of File and Also Remove Repeated Line.\n=\u003esort -u x1\n\n03.Replace all Occurrences of \"SYBCA\" with \"TYBCA\" in 5th line of file f1.\n=\u003esed '5s/SYBCA/SYBCA/g' f1\n\n04.count all Occurrences of \"TYBCA\" in studlst\n=\u003egrep -c \"TYBCA\" studlst\n\n05.Replace \"kernel\" with \"kernel architecture\" using remember pattern of sed utility.\n=\u003esed 's/kernel/kernel architecture/g' f1\n\n06.To run a Utility x1 at 9:00 AM\n=\u003eat 9:00\n\n07.Write a Command to Locate the \"Unix\" ignoring case.\n=\u003egrep - i \"Unix\" studlst\n\n08.Write a Command to display occurence of string \"tybca\".\n=\u003egrep -c \"tybca\" studlst\n\n09.Write a Command to display line which start with \"The\".\n=\u003egrep -i \"^The*\" studlst \n\n10.Write a Command to  display line which end with \"India\".\n=\u003egrep -i \"*India$\" studlst \n\n11.Write a command to print first six line of file.\n=\u003ehead -6 studlst \n\n12.Print even number of words in each line.\n=\u003eawk 'BEGIN{FS=\"-\"}{for(i=1;i\u003c=NF;i++){if(i%2!=0){print $i}}}' emp1\n\n13.Count occurence of pattern \"Operating System\" in file f1.\n=\u003e awk -F \"-\" '{for(i=1;i\u003c=NF;i++) if($i==\"Operating System\") c++} END {print c}' emp1\n\n14.Display those Words whose length greater than 10 character and consist of alphabet only.\n=\u003e awk 'BEGIN{FS=\"-\"}{for(i=1;i\u003c=NF;i++){if(length($i)\u003e10){if($i~/^[a-zA-Z]+/){print $i}}}}' emp1\n===========================================================================================\n2014(October/November)\n===========================================================================================\n01.Display two lines Starting From 7th line of file x1.\n=\u003esed -n 7,9p x1\n\n02.Display All Blank lines Between Line 20 and 30 of file x1.\n=\u003esed -n 4,8p test|grep \"^$\"\n\n03.Display lines Beginning either with Alphabet or Digit from file x1.\n=\u003egrep \"^[a-zA-z0-9]\" x1\n\n04.Display the lines that do not contain \"Unix\".\n=\u003egrep -i -v \"Unix\" x1\n\n05.Display the Lines which are not strating with 2 at the begging.\n=\u003egrep -v \"^2\" x1\n\n06.Write a command to replace \"UNIX\" with \"OS\" on line no 5th to 10th.\n=\u003esed '5,10s/UNIX/OS/g' x1\n\n07.Write a Command to display all file name Containing only digit in filename.\n=\u003els - l|grep \"^[0-9]*$\"\n\n08.To list file names consist of only 4 digits.\n=\u003els -1|grep \"^[0-9][0-9][0-9][0-9]$\"\n\n09.To display lines beginning with Alphabets of file x1. \n=\u003egrep \"^[a-zA-Z]\" x1\n\n10.To count number of words in line 40 thought 60 of line f1.txt\n=\u003esed -n 4,8p test|wc -w\n\n11.Print odd number of words in each line.\n=\u003eawk 'BEGIN{FS=\"-\"}{for(i=1;i\u003c=NF;i++){if(i%2==0){print $i}}}' emp1\n\n12.Count occurence of pattern \"unix\" in file f1.\n=\u003e awk -F \"-\" '{for(i=1;i\u003c=NF;i++) if($i==\"unix\" ) c++} END {print c}' emp1\n\n13.Display those Words whose length greater than 10 character and cosist of alphabet only.\n\n14.Print lines which end with 5,6,7 from file f1.\n=\u003e awk '/[5,6,7]$/' f1\n\n15.Write awk script to print 1 to 10.\n=\u003e awk 'BEGIN {for(i=1;i\u003c=10;i++){print i}}'\n\n16.Write a command to print those lines where field2 is computer field 3\u003e15000 from sales file.\n\n17.Print lines no 18 to 30 from f1.txt.\n=\u003eawk '{if(NR \u003e= 18 \u0026\u0026 NR \u003c= 30){print}}' f1.txt\n\n18.Count the total no of lines in file.\n=\u003eawk '{print NR}' emp1|tail -1\n\n===========================================================================================\n2015(March-April)\n===========================================================================================\n01.Display all files in current directory where the first character is numeric and the last cheracter is not alphabetic.\n=\u003els -1|grep \"^[0-9].*\"|grep -v \"[a-z]$\"\n\n02.To count number of words in line 40 thought 60 of file f1.txt\n=\u003esed -n 40,60p f1.txt|wc- w\n\n03.To list file names consist of only 4 digit.\n=\u003els -1|grep \"[0-9][0-9][0-9][0-9]\"\n\n04.To display lines begining with alphabets of a file x1.\n=\u003egrep \"^[A-Za-z]\" x1\n\n05.Display all blank lines between line 20 and 30 of file x1.\n=\u003esed -n 20,30p x1|grep \"^$\"\n\n06.Display line beggining either with alphabet or digit from file x1.\n=\u003egrep \"^[a-zA-Z0-9]\" x1\n\n07.Display the lines that do not contain \"Unix\".\n=\u003egrep -i -v \"unix\" emp\n\n08.Display the number of occurance of the pattern 'director'.\n=\u003egrep -ci \"director\" emp\n\n09.Display lines having exactly 50 character of file x1.\n=\u003egrep \".\\{50\\}$\" x1\n\n10.Write a command to append a dashed line after each line of file x1.\n=\u003esed \"s/$/-/g\" x1\n\n11.Print the even numbered lines in the data file.\n=\u003eawk 'NR%2==0{print}' emp1\n\n12.Print the sums of fields of every line in file f1.\n=\u003e awk 'BEGIN{FS=\"-\"}{print NF}' f1\n\n13.Display those words whose length greater than 10 characters and consists of digit only.\n=\u003e awk 'BEGIN{FS=\"-\"}{for(i=1;i\u003c=NF;i++){if(length($i)\u003e10){if($i~/^[0-9]+/){print $i}}}}' emp1\n\n14.Write awk script to print 10 to 1 using while loop.\n=\u003e awk 'BEGIN{ $i = 10;while ( $i \u003e 0 ){print $i;$i--; }}'\n\n15.Print lines no 18 to 30 from f1.txt.\n=\u003e awk '{if(NR \u003e= 18 \u0026\u0026 NR \u003c= 30){print}}' f1.txt\n\n16.Count the total no of lines in file.\n=\u003eawk '{print NR}' emp1|tail -1\n\n17.Count occurrences of pattern \"Unix OS\" in file f1.\n=\u003e awk -F \"-\" '{for(i=1;i\u003c=NF;i++) if($i==\"Unix OS\" ) c++} END {print c}' f1\n\n18.Print the last Field of last Line.\n=\u003e tail -1 emp1|awk -F \"-\" '{print $NF}'\n\n===========================================================================================\n\t\t\t\t\t\t\t\t\t \t\t\t\t 2015(October/November)\n===========================================================================================\n01.Display line 1 to 5 from file x1.\n=\u003e  head -5 x1\n\n02.Dispaly last word of each line from a file x1.\n=\u003e cat -d \"-\" -f 6 x1\n  \n03.To count number of characters in first line of file x1.\n=\u003e head -1 x1|wc -c\n\n04.To count number of words in line 40 through 60 of file f1.txt.\n=\u003e  sed -n \"40,60 p\" f1.txt|w c -w\n\n05.To delete all special characters from file x1.\n=\u003e tr -cd \"[a-zA-Z0-9]\" \u003cx1\n\n06.Dispaly all line that start with 'let',from a file x1.the letters l,e,or t may be in any case.\n=\u003e grep -i \"let\" x1\n\n07.Substitute 'endif' with 'fi' on line 10 of file x1.\n=\u003e sed \"s/endif/fi/gp\" x1|sed -n \"10,0 p\"  \n\n08.Display three lines starting from 5th line of file x1.\n=\u003e sed -n \"5,+2 p\" x1\n\n09.Display all line before string \"Unix\" from file x1.\n=\u003e sed -n \"/^unix/p\" x1\n\n10.Display all  blank line between line  10 and 20 of file x1.\n=\u003e sed -n \"10,20 p\" x1|sed -n \"/^$/p\"\n\n11.Display lines beginning either with alphabet or digit from file x1.\n=\u003e sed -n \"/^[a-z-A-Z0-9]/p\" x1\n\n12.Display the lines that do not contain \"Unix\".\n=\u003e grep -v \"Unix\" f1\n\n\nShell Script\n\n===========================================================================================\n\t\t\t\t\t2010(March/April)\n===========================================================================================\n01.Write a menu driven script for the following option.an intger or float number should be accepted from user.proper validation must be expected\n\t1)convert decimal to binary number\n\t2)convert decimal to octal number\n\t3)convert decimal to hexadecimal number\n==\u003e\nwhile [ -z $n ]\ndo \n  echo \"enter any number\"\n  read n\ndone\nif [ $n -gt 0 \u0026\u0026 $n -lt 4]\nthen\n echo \"1 for Decimal to Binary\"\n echo \"2 for Decimal to Octal\"\n echo \"3 for Decimal to Hexa\"\n case \"$ch\" in\n1) echo \"ibase=10;obase=2;$n\"|bc;;\n2) echo \"ibase=10;obase=8;$n\"|bc;;\n3) echo \"ibase=10;obase=16;$n\"|bc;;\n*)echo \"invalid choice\"\n sh convert.sh\nesac\n else\n  echo \"Number Must Be Positive\"\n sh convert.sh\nfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a script using awk utility to display file contents in toggle case.Assume that file should be passed from command line.\n==\u003e\nif $\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n03.Write a script that removes all empty file in current working directory.appropriate data validation is expected. \n==\u003e\nfind -empty -type f -exec rm {} \\;\n===========================================================================================\n\t\t\t\t\t2010(October/November)\n===========================================================================================\n01.Write a script to perform Mathematical Operations Using Menu.Number may be integer or float.\n\t1)Addition\n\t2)Substraction\n\t3)Multiplication\n\t4)Division\n==\u003e\necho \"1 For Addition\"\necho \"2 For Substraction\"\necho \"3 For Multiplication\"\necho \"4 For Division\"\necho \"Select Option : \\c\"\nread n\necho \"Enter Value of A :\\c\"\nread a\necho \"Enter Value of B :\\c\"\nread b\ncase \"$n\" in\n1)echo \"Sum of A and B :\" `expr $a+$b|bc`\n;;\n2)echo \"Substration of A and B : \" `expr $a-$b|bc`\t\n;;\n3)echo \"Multiply of A and B : \" `expr $a*$b|bc`\n;;\n4)echo \"Division of A and B :\" `expr $a/$b|bc`\n;;\n*)echo \"Invalid Choice\"\nesac\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a script that receive string and check both ar same or different.also check the length of both string are greater than 0.\n==\u003e\necho \"Enter String 1 : \\c\"\nread str1\necho \"Enter String 2 : \\c\"\nread str2\nl1=`expr \"$str1\" : '.*' `\nl2=`expr \"$str2\" : '.*' `\nif [ $l1 -gt 0 -a $l2 -gt 0 ]\nthen\nif [ $str1 = $str2 ]\nthen\necho \"Both String Are Same\"\nelse\necho \"Both String Are Not Same\"\nfi\nelse\necho \"\\nEnter Proper String\"\nsh strsame\nfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n03.Write a script to enter 5 subjects mark from command line and display percentage and appopriate class.\n==\u003e\nif [ $# -ne 5 ]\n\tthen\n\techo \"Invaild number of argument\"\n\telse\n\ts1=$1\n\ts2=$2\n\ts3=$3\n\ts4=$4\n\ts5=$5\n\n\t\ttot=`expr $s1 + $s2 + $s3 + $s4 + $s5`\n\t\tper=`echo \" $tot / 5 \" | bc`\n\n\t\techo \"Total is:- $tot\"\n\t\techo \"Percetage is:- $per\"\n\n\t\tif [ $per -ge 70 ]\n\t\tthen\n\t\t   echo \"Distinction....!\"\n\t\telif [ $per -ge 60 ]\n\t\tthen\n\t\t   echo \"First Class....!\"\n\t\telif [ $per -ge 50 ]\n\t\tthen\n\t\t   echo \"Second Class....!\"\n\t\telif [ $per -ge 40 ]\n\t\tthen\n\t\t   echo \"Third  Class....!\"\n\t\telse\n\t\t\t\techo \"Fail.....!\"\n\t\tfi\n\t\tfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n04.Write a script to check entered character is uppercase,lowercase,numeric,digit or special character.\n==\u003e\necho \"Enter Any Character\"\nread c\ncase \"$c\" in\n[A-Z])echo \"Character is Uppercase\"\n;;\n[a-z])echo \"Character is Lowercase\"\n;;\n[0-9])echo \"Character is Numeric\"\n;;\n*)echo \"Character is Special\"\nesac\n===========================================================================================\n\t\t\t\t\t2011(March/April)\n===========================================================================================\n01.Write a shell Script to Check the Entered No is Palindrome or Not.\n==\u003e\necho \"Enter No Please\"\nread n\nr=0\nd=0\na=$n\nwhile [ $n -gt 10 ]\ndo\n   d=`echo $n % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\n   num=`echo $n/10|bc`\ndone\n   d=`echo $num % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\nif [ $a -eq $r ]\nthen\n\t\techo \"pelindrom\"\nelse\n\t\techo \"not palindrom\"\nfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a script using awk utility to create two 3*3 matrix and multiply it.\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n==\u003e\nBEGIN{\nprintf �dimentions of matrix�\nprintf �enter the values of r1:�\ngetline\nr1=$0\nprintf �enter the value of c1�\ngetline\nc1=$0\nprintf �enter the values of r2:�\ngetline\nr2=$0\nprintf �enter the value of c2�\ngetline\nc2=$0\n\nif(c1!=r2)\n{\n\tPrintf �please enter c1 \u0026 r2 must same!!�\n\tExit\n\n}\nPrintf �enter value of matrix�\nFor(i=1;i\u003c=r1;i++)\n{\n\tFor(j=1;j\u003c=c1;j++)\n\t{\n\t\tPrintf �enter value of [%d][%d] : �,I,j\n\t\tGetline\n\t\tA[I,j]=$0\n\t}\n}\nPrintf �enter value of matrix�\nFor(i=1;i\u003c=r2;i++)\n{\nFor(j=1;j\u003c=c2;j++)\n{\n\tPrintf �enter value of b[%d][%d] : �,I,j\nGetline\nB[I,j]=$0\n}\n}\n\nPrintf �matrix a�\nFor(i=1;i\u003c=r1;i++)\n{\n\tFor(j=1;j\u003c=c1;j++)\n\t{\n\t\tPrintf � %d �,b[I,j]\n\t}\nPrintf ��\n}\n\nPrintf �multiplication�\nFor(i=1;i\u003c=c1;i++)\n{\n\tFor(j=1;j\u003c=r2;j++)\n\t{\n\t\tFor(k=1;k\u003c=r1;k++)\n\t\t{\n\t\t\tC[I,j]+=a[I,k]*b[k,j]\n\t\t}\n\tPrintf � %d �,c[I,j]\n\t}\nPrintf ��\n}\n\n===========================================================================================\n\t\t\t\t\t2011(October/November)\n===========================================================================================\n01.Write a shell Script to Check the Entered No is Armstrong or Not.\n==\u003e\necho \"Enter any number \";\nread no\nt=$no\nsum=0\n\nwhile [ $no -gt 0 ]\ndo\n\td=`expr $no % 10`\n\tsum=`expr $sum + $d \\* $d \\* $d`\n   no=`expr $no / 10`\ndone\nif [ $t -eq $sum ]\n  then\n\t echo \"number is armstrong\";\n  else\n\t  echo \"number is not armstrong\";\nfi\n===========================================================================================\n\t\t\t\t\t2012(March/April)\n===========================================================================================\n01.Write a shell Script to Check the Entered No is Palindrome or Not.\n==\u003e\necho \"Enter No Please\"\nread n\nr=0\nd=0\na=$n\nwhile [ $n -gt 0 ]\ndo\n   d=`echo $n % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\n   num=`echo $n/10|bc`\ndone\n   d=`echo $num % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\nif [ $a -eq $r ]\nthen\n\t\techo \"pelindrom\"\nelse\n\t\techo \"not palindrom\"\nfi\n===========================================================================================\n\t\t\t\t\t2012(October/November)\n===========================================================================================\n01.Write a shell script which displays list of all files in current dirrectory to which you have read write and execute permissions.\n==\u003e\nfor file in *\ndo\nif [ -r $file -a -w $file -a -x $file ]\nthen\necho $file\nfi\ndone\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a script that removes all empty file in current working directory.appropriate data validation is expected. \n==\u003e\nfind -empty -type f -exec rm {} \\;\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n03.Write awk script to display file contents in reverse.(last line should be displayed first ..first line should be displayed last).\nawk '{ a[ i++ ]=$0}\n\tEND{for( j=i-1; j\u003e=0; j-- )\n\t print a[ j ];}' nidhi1\n===========================================================================================\n\t\t\t\t\t2013(March/April)\n===========================================================================================\n01.Write a shell Script to Check the Entered No is Palindrome or Not.\n==\u003e\necho \"Enter No Please\"\nread n\nr=0\nd=0\na=$n\nwhile [ $n -gt 10 ]\ndo\n   d=`echo $n % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\n   num=`echo $n/10|bc`\ndone\n   d=`echo $num % 10|bc`\n   r=`echo $r \\* 10 + $d|bc`\nif [ $a -eq $r ]\nthen\n\t\techo \"pelindrom\"\nelse\n\t\techo \"not palindrom\"\nfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write A shell Script That Accept two Decimal Numbers from Keyboard and Display Their Sum in Hexadecimal Form.``Make Proper Validation \n==\u003e\necho \"Enter Value 1 : \\c\"\nread d1\necho \"Enter Value 2 : \\c\"\nread d2\nif [ $d1 -eq '[0-9]' ]\nthen\necho \"Invalid Input\"\nfi\necho \"Sum In Hexadecimal Format : \\c\"\necho \"ibase=10;obase=16;$d1+$d2\"|bc\n===========================================================================================\n\t\t\t\t\t2013(October/November)\n===========================================================================================\n01.Write a script to perform Mathematical Operations Using Menu.\n==\u003e\necho \"1 For Addition\"\necho \"2 For Substraction\"\necho \"3 For Multiplication\"\necho \"4 For Division\"\necho \"Select Option : \\c\"\nread n\necho \"Enter Value of A :\\c\"\nread a\necho \"Enter Value of B :\\c\"\nread b\ncase \"$n\" in\n1)echo \"Sum of A and B :\" `expr $a+$b|bc`\n;;\n2)echo \"Substration of A and B : \" `expr $a-$b|bc`\t\n;;\n3)echo \"Multiply of A and B : \" `expr $a*$b|bc`\n;;\n4)echo \"Division of A and B :\" `expr $a/$b|bc`\n;;\n*)echo \"Invalid Choice\"\nesac\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.wrie a shell script to check whether the given file is empty or not.\t\n==\u003e\t\t\t\t\t\necho \"Enter file name to check is empty or not read\"\nread file1\nif test -s $file1\nthen\necho \"$file1 is non empty file\"\nelse\necho \"$file1 is empty file\"\nfi\n02.Write a shell script to test the file is a empty file or not.\n===========================================================================================\n\t\t\t\t\t2014(March/April)\n===========================================================================================\n01.Write a shell script to validate the name of a person Accepted through the keyboard so that it does not exceed 10 char of length.\n==\u003e\necho \"\\n Enter Name = \\c\"\nread n\nl=`expr \"$n\" : '.*'`\n\nif [ $l -ge 10 ]; then\n\t  echo \"Name Must be Less Then 10 Char..!\"\nelse\n\t  echo \"Hello \"$n\nfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a shell script to test the file is a executable file or not.\n==\u003e\necho \"Enter a file name::\"\n\tread f\n\tif test -x $f\n\tthen\n\t\techo \"file is a executable..\" \n\telse\n\t\techo \"file is not executable...\"\n\tfi\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n03.write a shell script to find smallest of three number that are read from keyword.\necho \"Enter number A\"\nread a\necho \"Enter number B\"\nread b\necho \"Enter number C\"\nread c\nif test $a -lt $b \u0026\u0026 test $a -lt $c\nthen\necho \"A is smallest number.\"\n\nelif test $b -lt $c \u0026\u0026 test  $b -lt $a\nthen\n\necho \"B is smallest number\"\n\nelse\necho \" C is smallest number\"\nfi\n===========================================================================================\n\t\t\t\t\t2014(October/November)\n===========================================================================================\n01.Reverse  a number.\n==\u003e\n\techo \"Enter Number: \"\n\t\tread no\n\t\td=0;\n\t\tcop=$no;\n\t\tsu=0;\n\t\twhile [ $no -gt 0 ]\t\t\t\n\t\tdo\n\t\t\td=`expr $n0 % 10`;\n\t\t\tsu=`expr $su \\* 10 + $d`;\n\t\t\tno=`expr $no / 10`;\n\t\tdone\n\n\t\tif [ $su -eq $cop ]\n\t\tthen\n\t\t\techo \"$no is palindrom...\";\n\t\telse\n\t\t\techo \"$no is not palindrom...\";\n\t\tif\t\n-----------------------------------------------------------------------------------------------------------------------------------------------------\t\n02.write a script to find smallest that are read from keyboard.\n==\u003e\n\techo \"Enter the value of a:\"\n\tread a\n\techo \"Enter the value of b:\"\n\tread b\n\techo \"Enter the value of c:\"\n\tread c\n\tif test $a -lt $b \u0026\u0026 test $a -lt $c\n\tthen\n\t\techo \"$a is smallest...\"\n\telif test $b -lt $a \u0026\u0026 test $b -lt $c\n\t\techo \"$b is smallest...\"\n\telse\n\t\techo \"$c is smallest..\"\n\tfi\n===========================================================================================\n\t\t\t\t\t2015(March/April)\n===========================================================================================\n01.Write a script to count a file,directory,symbolic link file  from current directory.\n==\u003e\n\tfor file in `ls`\n\tdo\n\t\tif test -f $file \n\t\tthen\n\t\t\tf=`expr $f + 1`\n\t\telif test -d $file \n\t\tthen\n\t\t\td=`expr $d + 1`\n\t\telif test -l $file \n\t\tthen\n\t\t\tl=`expr $l + 1`\n\t\tfi\n\tdone\n\techo \"files : $f\"\n\techo \"dirctory : $d\"\n\techo \"link : $l\"\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n02.Write a script that accept a string followed by one or more file names from command line and display\n\tnumber of word and number of links tht consists of given string in each file .\n==\u003e\n\tfor i in $#\n\tdo\n\t\tl=`cat $1i | wc -l`\n\t\tw=`cat $i | wc -w`\n\t\techo \"total link are in file $i is : $l\"\n\t\techo \"total words are in file $i is : $w\"\n\tdone\n\n===========================================================================================\n\t\t\t\t\t2015(October/November)\n===========================================================================================\n01.Reverse  a number is palindrom or not.\n==\u003e\necho \"Enter Number: \"\nread no\nd=0;\ncop=$no;\nsu=0;\nwhile [ $no -gt 0 ]\t\t\t\ndo\nd=`expr $n0 % 10`;\nsu=`expr $su \\* 10 + $d`;\nno=`expr $no / 10`;\ndone\nif [ $su -eq $cop ]\nthen\necho \"$no is palindrom...\";\nelse\necho \"$no is not palindrom...\";\n if\t\n-----------------------------------------------------------------------------------------------------------------------------------------------------\n03.write a shell script to test that the file is a readable file or not.\n==\u003e\necho \"Enter file name to check is empty or not read\"\nread file1\nif test -r $file1\nthen\necho \"$file1 is readable\"\nelse\necho \"$file1 is not readable\"\nfi\n\n\n=================================================================================================================================================\n=================================================================================================================================================\n\n\nsub PHP \n\nAtest/index.php\n\u003chtml\u003e\n  \u003chead\u003e\n  \u003ctitle\u003eUser login page\u003c/title\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n  \u003ccenter\u003e\n    \u003ch1\u003eLog In \u003c/h1\u003e\n      \u003cform method=\"post\" action=\"\"\u003e\n        \u003cfieldset\u003e\n          \u003clegend\u003eEnter your login details here\u003c/legend\u003e\n          \u003cinput type=\"text\" name=\"username\" placeholder=\"Username\" /\u003e\u003cbr\u003e\u003cbr\u003e\n          \u003cinput type=\"password\" name=\"password\" placeholder=\"Password\" /\u003e\u003cbr\u003e\u003cbr\u003e\n          \u003cbutton type=\"submit\" name=\"submit\"\u003eLoged In\u003c/button\u003e\n        \u003c/fieldset\u003e\n      \u003c/form\u003e\n    \u003c/center\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n\u003c?php\nsession_start();\n\nif (isset($_POST['submit'])) {\n  $username = $_POST['username'];\n  $password = $_POST['password'];\n\n  $conn = mysqli_connect(\"localhost\", \"root\", \"\", \"test\") or die(\"Connection failed: \" . mysqli_connect_error());\n\n  $sql = \"SELECT * FROM users WHERE username = '$username' AND password = '$password'\";\n  $result = mysqli_query($conn, $sql);\n\n  if (mysqli_num_rows($result) == 1) {\n    $row = mysqli_fetch_assoc($result);\n    $_SESSION['username'] = $row['username'];\n    $_SESSION['email'] = $row['email'];\n\n    if ($row['type'] == 'user') {\n      header(\"Location: http://localhost/PHPPROG/Atest/admin/form.php\");\n    } elseif ($row['type'] == 'admin') {\n      header(\"Location: http://localhost/PHPPROG/Atest/Client/display.php\");\n    }\n    exit();\n  } else {\n    echo \"Invalid username or password\";\n  }\n\n  mysqli_close($conn);\n}\n?\u003e\n\nform.txt\n\u003c!-- HTML form --\u003e\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\t\u003ctitle\u003eUser Details Form\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cdiv class=\"main\"\u003e\n\t\t\u003cform method=\"post\" action=\"insert.php\" style=\"border: blueviolet;background-color: darkseagreen;text-align: center;\"\u003e\n\t\t\t\u003ccenter\u003e\u003ch2\u003eUser Details Form\u003c/h2\u003e\u003c/center\u003e\n\t\t\t\u003clabel for=\"rollno\"\u003eRoll No:\u003c/label\u003e\n\t\t\t\u003cinput type=\"text\" id=\"rollno\" name=\"rollno\" placeholder=\"Enter Roll No\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"name\"\u003eName:\u003c/label\u003e\n\t\t\t\u003cinput type=\"text\" id=\"name\" name=\"name\" placeholder=\"Enter Name\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"email\"\u003eEmail:\u003c/label\u003e\n\t\t\t\u003cinput type=\"email\" id=\"email\" name=\"email\" placeholder=\"Enter Email\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"phno\"\u003ePhone No:\u003c/label\u003e\n\t\t\t\u003cinput type=\"text\" id=\"phno\" name=\"phno\" placeholder=\"Enter Phone No\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"add\"\u003eAddress:\u003c/label\u003e\n\t\t\t\u003ctextarea id=\"add\" name=\"add\" placeholder=\"Enter Address\" required\u003e\u003c/textarea\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"gender\"\u003eGender:\u003c/label\u003e\n\t\t\t\u003cinput type=\"radio\" id=\"male\" name=\"gender\" value=\"male\" required\u003e\n\t\t\t\u003clabel for=\"male\"\u003eMale\u003c/label\u003e\n\t\t\t\u003cinput type=\"radio\" id=\"female\" name=\"gender\" value=\"female\" required\u003e\n\t\t\t\u003clabel for=\"female\"\u003eFemale\u003c/label\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"age\"\u003eAge:\u003c/label\u003e\n\t\t\t\u003cinput type=\"number\" id=\"age\" name=\"age\" placeholder=\"Enter Age\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"hobbies\"\u003eHobbies:\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby1\" name=\"hobbies[]\" value=\"Reading\"\u003e\n\t\t\t\u003clabel for=\"hobby1\"\u003eReading\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby2\" name=\"hobbies[]\" value=\"Writing\"\u003e\n\t\t\t\u003clabel for=\"hobby2\"\u003eWriting\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby3\" name=\"hobbies[]\" value=\"Drawing\"\u003e\n\t\t\t\u003clabel for=\"hobby3\"\u003eDrawing\u003c/label\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"collageyear\"\u003eCollage Year:\u003c/label\u003e\n\t\t\t\u003cselect id=\"collageyear\" name=\"collageyear\" required\u003e\n\t\t\t\t\u003coption value=\"\"\u003eSelect Year\u003c/option\u003e\n\t\t\t\t\u003c?PHP\n\t\t\t\t\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t\t\t\t\t$sql = \"SELECT year FROM clg_year\";\n\t\t\t\t\t$result = mysqli_query($conn, $sql);\n\t\t\t\t\twhile($row = mysqli_fetch_assoc($result)) {\n\t\t\t\t\t\techo \"\u003coption value='\".$row['year'].\"'\u003e\".$row['year'].\"\u003c/option\u003e\";\n\t\t\t\t\t}\n\t\t\t\t?\u003e\n\t\t\t\u003c/select\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003cinput type=\"submit\" value=\"Submit\"\u003e\n\t\t\t\u003cinput type=\"reset\" value=\"Reset\"\u003e\n\t\t\u003c/form\u003e\n\t\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\ninsert.txt\n\u003c!-- PHP code to insert data into tblstu table --\u003e\n\u003c?php\n\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t$rollno = $_POST['rollno'];\n\t$name1 = $_POST['name'];\n\t$email = $_POST['email'];\n\t$phno = $_POST['phno'];\n\t$adr = $_POST['add'];\n\t$gender = $_POST['gender'];\n\t$age = $_POST['age'];\n\t$hobbies = implode(\",\", $_POST['hobbies']);\n\t$collageyear = $_POST['collageyear'];\n\t$sql = \"INSERT INTO tblstu VALUES ('$rollno', '$name1', '$email', '$phno', '$adr', '$gender', '$age', '$hobbies', '$collageyear')\";\n\tif(mysqli_query($conn, $sql)) {\n\t\theader(\"Location: display.php\");\n\t} else {\n\t\techo \"Error: \" . $sql . \"\u003cbr\u003e\" . mysqli_error($conn);\n\t}\n\tmysqli_close($conn);\n?\u003e\n\nupdate.txt\n\n\u003c!-- PHP code to update a record in tblstu table --\u003e\n\u003c?php\n\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t$rollno = $_POST['rollno'];\n\t$name = $_POST['name'];\n\t$email = $_POST['email'];\n\t$phno = $_POST['phno'];\n\t$add = $_POST['add'];\n\t$gender = $_POST['gender'];\n\t$age = $_POST['age'];\n\t$hobbies = implode(\",\", $_POST['hobbies']);\n\t$collageyear = $_POST['collageyear'];\n\t$sql = \"UPDATE tblstu SET name='$name', email='$email', phno='$phno', adr='$add', gender='$gender', age='$age', hobbies='$hobbies', collageyear='$collageyear' WHERE rollno='$rollno'\";\n\tif(mysqli_query($conn, $sql)) {\n\t\theader(\"Location: display.php\");\n\t} else {\n\t\techo \"Error updating record: \" . mysqli_error($conn);\n\t}\n\tmysqli_close($conn);\n?\u003e\n\ndelete.txt\n\n\u003c!-- PHP code to delete a record from tblstu table --\u003e\n\u003c?php\n\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t$rollno = $_GET['rollno'];\n\t$sql = \"DELETE FROM tblstu WHERE rollno='$rollno'\";\n\tif(mysqli_query($conn, $sql)) {\n\t\techo \"Record deleted successfully\";\n\t} else {\n\t\techo \"Error deleting record: \" . mysqli_error($conn);\n\t}\n\tmysqli_close($conn);\n?\u003e\n\nedit.txt\n\u003c!-- PHP code to edit a record in tblstu table --\u003e\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\t\u003ctitle\u003eEdit User Details\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cdiv class=\"main\"\u003e\n\t\t\u003c?php\n\t\t\t// PHP code to retrieve data from tblstu table\n\t\t\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t\t\t$rollno = $_GET['rollno'];\n\t\t\t$sql = \"SELECT * FROM tblstu WHERE rollno='$rollno'\";\n\t\t\t$result = mysqli_query($conn, $sql);\n\t\t\t$row = mysqli_fetch_assoc($result);\n\t\t?\u003e\n\t\t\u003cform method=\"post\" action=\"update.php\"\u003e\n\t\t\t\u003ccenter\u003e\u003ch2\u003eEdit User Details\u003c/h2\u003e\u003c/center\u003e\n\t\t\t\u003cinput type=\"hidden\" name=\"rollno\" value=\"\u003c?php echo $row['rollno']; ?\u003e\"\u003e\n\t\t\t\u003clabel for=\"name\"\u003eName:\u003c/label\u003e\n\t\t\t\u003cinput type=\"text\" id=\"name\" name=\"name\" value=\"\u003c?php echo $row['name']; ?\u003e\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"email\"\u003eEmail:\u003c/label\u003e\n\t\t\t\u003cinput type=\"email\" id=\"email\" name=\"email\" value=\"\u003c?php echo $row['email']; ?\u003e\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"phno\"\u003ePhone No:\u003c/label\u003e\n\t\t\t\u003cinput type=\"text\" id=\"phno\" name=\"phno\" value=\"\u003c?php echo $row['phno']; ?\u003e\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"add\"\u003eAddress:\u003c/label\u003e\n\t\t\t\u003ctextarea id=\"add\" name=\"add\" required\u003e\u003c?php echo $row['adr']; ?\u003e\u003c/textarea\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"gender\"\u003eGender:\u003c/label\u003e\n\t\t\t\u003cinput type=\"radio\" id=\"male\" name=\"gender\" value=\"male\" \u003c?php if($row['gender']=='male') echo \"checked\"; ?\u003e required\u003e\n\t\t\t\u003clabel for=\"male\"\u003eMale\u003c/label\u003e\n\t\t\t\u003cinput type=\"radio\" id=\"female\" name=\"gender\" value=\"female\" \u003c?php if($row['gender']=='female') echo \"checked\"; ?\u003e required\u003e\n\t\t\t\u003clabel for=\"female\"\u003eFemale\u003c/label\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"age\"\u003eAge:\u003c/label\u003e\n\t\t\t\u003cinput type=\"number\" id=\"age\" name=\"age\" value=\"\u003c?php echo $row['age']; ?\u003e\" required\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"hobbies\"\u003eHobbies:\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby1\" name=\"hobbies[]\" value=\"Reading\" \u003c?php if(strpos($row['hobbies'], 'Reading') !== false) echo \"checked\"; ?\u003e\u003e\n\t\t\t\u003clabel for=\"hobby1\"\u003eReading\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby2\" name=\"hobbies[]\" value=\"Writing\" \u003c?php if(strpos($row['hobbies'], 'Writing') !== false) echo \"checked\"; ?\u003e\u003e\n\t\t\t\u003clabel for=\"hobby2\"\u003eWriting\u003c/label\u003e\n\t\t\t\u003cinput type=\"checkbox\" id=\"hobby3\" name=\"hobbies[]\" value=\"Drawing\" \u003c?php if(strpos($row['hobbies'], 'Drawing') !== false) echo \"checked\"; ?\u003e\u003e\n\t\t\t\u003clabel for=\"hobby3\"\u003eDrawing\u003c/label\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003clabel for=\"collageyear\"\u003eCollage Year:\u003c/label\u003e\n\t\t\t\u003cselect id=\"collageyear\" name=\"collageyear\" required\u003e\n\t\t\t\t\u003coption value=\"\"\u003eSelect Year\u003c/option\u003e\n\t\t\t\t\u003c?php\n\t\t\t\t\t// PHP code to fetch data from clg_year table\n\t\t\t\t\t$sql = \"SELECT year FROM clg_year\";\n\t\t\t\t\t$result = mysqli_query($conn, $sql);\n\t\t\t\t\twhile($row1 = mysqli_fetch_assoc($result)) {\n\t\t\t\t\t\tif($row1['year'] == $row['collageyear']) {\n\t\t\t\t\t\t\techo \"\u003coption value='\".$row1['year'].\"' selected\u003e\".$row1['year'].\"\u003c/option\u003e\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\techo \"\u003coption value='\".$row1['year'].\"'\u003e\".$row1['year'].\"\u003c/option\u003e\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t?\u003e\n\t\t\t\u003c/select\u003e\u003cbr\u003e\u003cbr\u003e\n\t\t\t\u003cinput type=\"submit\" value=\"Update\"\u003e\n\t\t\t\u003cinput type=\"reset\" value=\"Reset\"\u003e\n\t\t\u003c/form\u003e\n\t\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\ndisplay.txt\n\u003c!-- PHP code to display data from tblstu table --\u003e\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\t\u003ctitle\u003eUser Details\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cdiv class=\"main\"\u003e\n\t\t\u003ctable\u003e\n\t\t\t\u003ctr\u003e\n\t\t\t\t\u003cth\u003eRoll No\u003c/th\u003e\n\t\t\t\t\u003cth\u003eName\u003c/th\u003e\n\t\t\t\t\u003cth\u003eEmail\u003c/th\u003e\n\t\t\t\t\u003cth\u003ePhone No\u003c/th\u003e\n\t\t\t\t\u003cth\u003eAddress\u003c/th\u003e\n\t\t\t\t\u003cth\u003eGender\u003c/th\u003e\n\t\t\t\t\u003cth\u003eAge\u003c/th\u003e\n\t\t\t\t\u003cth\u003eHobbies\u003c/th\u003e\n\t\t\t\t\u003cth\u003eCollage Year\u003c/th\u003e\n\t\t\t\t\u003cth\u003eAction\u003c/th\u003e\n\t\t\t\u003c/tr\u003e\n\t\t\t\u003c?php\n\t\t\t\t// PHP code to fetch data from tblstu table\n\t\t\t\t$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"tybca\");\n\t\t\t\t$sql = \"SELECT * FROM tblstu\";\n\t\t\t\t$result = mysqli_query($conn, $sql);\n\t\t\t\twhile($row = mysqli_fetch_assoc($result)) {\n\t\t\t\t\techo \"\u003ctr\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['rollno'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['name'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['email'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['phno'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['adr'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['gender'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['age'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['hobbies'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\".$row['collageyear'].\"\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003ctd\u003e\u003ca href='edit.php?rollno=\".$row['rollno'].\"'\u003eEdit\u003c/a\u003e | \u003ca href='delete.php?rollno=\".$row['rollno'].\"'\u003eDelete\u003c/a\u003e\u003c/td\u003e\";\n\t\t\t\t\techo \"\u003c/tr\u003e\";\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t?\u003e\n\t\t\u003c/table\u003e\n\t\t\u003ca href='form.html'\u003eAdd Record\u003c/a\u003e\n\t\u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\n\n\n=================================================================================================================================================\n=================================================================================================================================================\n\nsub VB.net\n\ncode\nfrmcstmst.aspx\n\n\u003c%@ Page Language=\"VB\" AutoEventWireup=\"false\" CodeFile=\"frmcstmst.aspx.vb\" Inherits=\"frmcstmst\" %\u003e\n\n\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"\u003e\n\n\u003chtml xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\n\u003chead runat=\"server\"\u003e\n    \u003ctitle\u003e\u003c/title\u003e\n    \u003cstyle type=\"text/css\"\u003e\n        .style1\n        {\n            width: 100%;\n            background-color: #808080;\n            height: 734px;\n        }\n        .style2\n        {\n            height: 26px;\n        }\n        .style3\n        {\n            width: 222px;\n        }\n        .style4\n        {\n            height: 26px;\n            width: 222px;\n        }\n        #form1\n        {\n            height: 741px;\n            width: 1398px;\n        }\n    \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cform id=\"form1\" runat=\"server\"\u003e\n    \u003cdiv\u003e\n    \n        \u003ctable class=\"style1\"\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style3\"\u003e\n                    Enter customer details\u003c/td\u003e\n                \u003ctd\u003e\n                    \u0026nbsp;\u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style3\"\u003e\n                    name\u003c/td\u003e\n                \u003ctd\u003e\n                    \u003casp:TextBox ID=\"txtname\" runat=\"server\" AutoPostBack=\"True\" Font-Bold=\"True\"\u003e\u003c/asp:TextBox\u003e\n                    \u003casp:Label ID=\"lblmsg\" runat=\"server\" ForeColor=\"Red\" Text=\" \"\u003e\u003c/asp:Label\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style4\"\u003e\n                    address\u003c/td\u003e\n                \u003ctd class=\"style2\"\u003e\n                    \u003casp:TextBox ID=\"txtadd\" runat=\"server\" AutoPostBack=\"True\" Font-Bold=\"True\" \n                        Height=\"43px\" TextMode=\"MultiLine\" Width=\"235px\"\u003e\u003c/asp:TextBox\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style4\"\u003e\n                    Contect number\u003c/td\u003e\n                \u003ctd class=\"style2\"\u003e\n                    \u003casp:TextBox ID=\"txtphno\" runat=\"server\" AutoPostBack=\"True\" Font-Bold=\"True\" \n                        Height=\"43px\" Width=\"235px\"\u003e\u003c/asp:TextBox\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style4\"\u003e\n                    Enter image\u003c/td\u003e\n                \u003ctd class=\"style2\"\u003e\n                    \u003casp:FileUpload ID=\"fu\" runat=\"server\" /\u003e\n                    \u003casp:Label ID=\"lblimg\" runat=\"server\" Text=\"Label\"\u003e\u003c/asp:Label\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style4\"\u003e\n                    \u003casp:Button ID=\"btnsave\" runat=\"server\" BorderStyle=\"Groove\" Height=\"47px\" \n                        Text=\"Save\" Width=\"226px\" /\u003e\n                \u003c/td\u003e\n                \u003ctd class=\"style2\"\u003e\n                    \u003casp:Button ID=\"btnclear\" runat=\"server\" BorderStyle=\"Groove\" \n                        CausesValidation=\"False\" Height=\"47px\" Text=\"Reset\" Width=\"226px\" /\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style4\"\u003e\n                    \u0026nbsp;\u003c/td\u003e\n                \u003ctd class=\"style2\"\u003e\n                    \u0026nbsp;\u003c/td\u003e\n            \u003c/tr\u003e\n            \u003ctr\u003e\n                \u003ctd class=\"style3\"\u003e\n                    \u0026nbsp;\u003c/td\u003e\n                \u003ctd\u003e\n                    \u003casp:GridView ID=\"gv\" runat=\"server\" AllowPaging=\"True\" \n                        AutoGenerateColumns=\"False\" AutoGenerateDeleteButton=\"True\" \n                        AutoGenerateEditButton=\"True\" DataKeyNames=\"id\" \n                        Height=\"368px\" Width=\"1007px\"\u003e\n                        \u003cColumns\u003e\n                            \u003casp:BoundField DataField=\"cname\" HeaderText=\"cname\" SortExpression=\"cname\" /\u003e\n                            \u003casp:BoundField DataField=\"add\" HeaderText=\"add\" SortExpression=\"add\" /\u003e\n                            \u003casp:BoundField DataField=\"phno\" HeaderText=\"phno\" SortExpression=\"phno\" /\u003e\n                            \u003casp:ImageField DataImageUrlField=\"fp\" HeaderText=\"Image\"\u003e\n                            \u003c/asp:ImageField\u003e\n                        \u003c/Columns\u003e\n                    \u003c/asp:GridView\u003e\n                    \u003casp:SqlDataSource ID=\"SqlDataSource1\" runat=\"server\" \n                        ConnectionString=\"\u003c%$ ConnectionStrings:constr %\u003e\" \n                        SelectCommand=\"SELECT * FROM [tblcst]\"\u003e\u003c/asp:SqlDataSource\u003e\n                \u003c/td\u003e\n            \u003c/tr\u003e\n        \u003c/table\u003e\n    \n    \u003c/div\u003e\n    \u003c/form\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\nfrmcstmst.aspx.vb\n\nImports System.Data\nImports System.Data.SqlClient\nPartial Class frmcstmst\n    Inherits System.Web.UI.Page\n\n    Dim con As New SqlConnection\n    Dim cmd As New SqlCommand\n    Dim intid As Integer\n\n    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load\n        Try\n            con.ConnectionString = ConfigurationManager.ConnectionStrings(\"constr\").ToString\n            cmd.Connection = con\n            fillgrid()\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\n\n    Protected Sub gv_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles gv.PageIndexChanging\n        gv.PageIndex = e.NewPageIndex\n        fillgrid()\n    End Sub\n\n    Protected Sub gv_RowCancelingEdit(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCancelEditEventArgs) Handles gv.RowCancelingEdit\n        gv.EditIndex = -1\n        fillgrid()\n    End Sub\n\n\n    Protected Sub gv_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles gv.RowDeleting\n        intid = gv.DataKeys(e.RowIndex).Value\n        Try\n            cmd.CommandText = \"delete from tblcst where id = \" \u0026 intid \u0026 \"\"\n            con.Open()\n            cmd.ExecuteNonQuery()\n            con.Close()\n            lblmsg.Text = \"Record is deleted\"\n            fillgrid()\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\n\n    Protected Sub btnsave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsave.Click\n        Dim FPL As String\n        Dim sqlCheckCommand As New SqlCommand(\"SELECT COUNT(*) FROM tblcst WHERE cname = '\" \u0026 txtname.Text \u0026 \"'\", con)\n        Try\n            con.Open()\n            Dim nameCount As Integer = CInt(sqlCheckCommand.ExecuteScalar())\n            cmd.ExecuteNonQuery()\n            con.Close()\n            If nameCount \u003e 0 Then\n                ' Name already exists, show message box\n                lblmsg.Text = \"Name already exists in the table!\"\n\n            Else\n                If fu.HasFile Then\n                    fu.SaveAs(Server.MapPath(\"~img\") + fu.FileName)\n                    lblimg.Text = \"~img\" + fu.FileName\n                End If\n                FPL = \"~img\" + fu.FileName\n                cmd.CommandText = \"insert into tblcst values('\" \u0026 txtname.Text \u0026 \"' ,'\" \u0026 txtadd.Text \u0026 \"','\" \u0026 txtphno.Text \u0026 \"','\" \u0026 FPL \u0026 \"')\"\n                con.Open()\n                cmd.ExecuteNonQuery()\n                con.Close()\n                fillgrid()\n            End If\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\n\n    Sub fillgrid()\n        Try\n            cmd.CommandText = \"select * from tblcst\"\n            Dim dt As New DataTable\n            Dim da As New SqlDataAdapter(cmd)\n            da.Fill(dt)\n            gv.DataSource = dt\n            gv.DataBind()\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\n\n    Sub clear_controls()\n        txtname.Text = \" \"\n        txtadd.Text = \" \"\n        txtphno.Text = \" \"\n    End Sub\n\n    Protected Sub btnclear_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnclear.Click\n        Try\n            clear_controls()\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\n\n\n    Protected Sub gv_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles gv.RowEditing\n        gv.EditIndex = e.NewEditIndex\n    End Sub\n\n    Protected Sub gv_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles gv.RowUpdating\n        Dim tn, ta, tc As New TextBox\n        Dim intid As Integer = gv.DataKeys(e.RowIndex).Value\n        tn = gv.Rows(e.RowIndex).Cells(2).Controls(0)\n        ta = gv.Rows(e.RowIndex).Cells(3).Controls(0)\n        tc = gv.Rows(e.RowIndex).Cells(4).Controls(0)\n        Try\n            cmd.CommandText = \"update tblcst set canme ='\" \u0026 tn.Text \u0026 \"' ,  add = '\" \u0026 txtadd.Text \u0026 \"' , phno=\" \u0026 txtphno.Text \u0026 \" where id = \" \u0026 intid \u0026 \"\"\n            con.Open()\n            cmd.ExecuteNonQuery()\n            con.Close()\n            fillgrid()\n        Catch ex As Exception\n            lblmsg.Text = ex.Message()\n        End Try\n    End Sub\nEnd Class\n\n\n=================================================================================================================================================\n=================================================================================================================================================\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth063%2Fmydoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirth063%2Fmydoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth063%2Fmydoc/lists"}