{"id":19933445,"url":"https://github.com/kinshuk-code-1729/linux-training-sessions","last_synced_at":"2026-04-17T05:02:07.593Z","repository":{"id":200479743,"uuid":"705596834","full_name":"kinshuk-code-1729/Linux-Training-Sessions","owner":"kinshuk-code-1729","description":"Linux Training 2023 : This repository contains all the linux commands with outputs day wise in the script files as well as details of each command in the description.","archived":false,"fork":false,"pushed_at":"2024-01-26T18:18:29.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T11:45:17.721Z","etag":null,"topics":["bash","linux","linux-os","shell-scripts","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"SuperCollider","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/kinshuk-code-1729.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}},"created_at":"2023-10-16T10:21:55.000Z","updated_at":"2023-11-16T11:03:55.000Z","dependencies_parsed_at":"2023-10-17T03:00:57.580Z","dependency_job_id":"47b426c8-2b09-4e98-b4e2-022d7deba1b4","html_url":"https://github.com/kinshuk-code-1729/Linux-Training-Sessions","commit_stats":null,"previous_names":["kinshuk-code-1729/linux-training-sessions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kinshuk-code-1729/Linux-Training-Sessions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinshuk-code-1729%2FLinux-Training-Sessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinshuk-code-1729%2FLinux-Training-Sessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinshuk-code-1729%2FLinux-Training-Sessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinshuk-code-1729%2FLinux-Training-Sessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinshuk-code-1729","download_url":"https://codeload.github.com/kinshuk-code-1729/Linux-Training-Sessions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinshuk-code-1729%2FLinux-Training-Sessions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bash","linux","linux-os","shell-scripts","ubuntu"],"created_at":"2024-11-12T23:13:42.975Z","updated_at":"2026-04-17T05:02:07.547Z","avatar_url":"https://github.com/kinshuk-code-1729.png","language":"SuperCollider","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✨ Linux-Training-Sessions ✨\n\n![Linux](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRcQi5xDarbYb4_p0yGpJ_29w6aHlBopNGD7g\u0026usqp=CAU)\n\n## ⚛️ Day 1 Commands :\n- ***cal* :** Prints an ASCII calendar of the given month or year.\n- **_date_ :** Displays the current date and time.\n- ***echo* :** Displays lines of text or string which are passed as arguments on the command line.\n- **_clear_ :** Brings the command line on top of the computer terminal.\n- ***script* :** Makes typescript or records all the terminal activities.\n- **_ls_ :** Lists directory contents of files and directories.\n- ***who* :** Prints information about users who are currently logged in.\n- **_whoami_ :** Allows Linux users to see the currently logged-in user.\n- ***tty* :**  Any terminal on Linux/Unix systems.\n- **_uname \u0026 uname -r_ :** displays the information about the system. Option -r displays the Linux kernel release info.\n- ***cd* (change directory) :** Used to move efficiently from the current working directory to different directories in our System.\n- **_mkdir_ :** Creates multiple directories in the current location.\n- ***rmdir* :** Removes the directory, specified by the Directory parameter, from the system.\n- **_rm -r_ :** It will recursively delete a directory and all its contents.\n\n## ⚛️ Day 2 Commands :\n- **_man_ :** Used to display the user manual of any command that we can run on the terminal.\n- ***ls* options :**\n  - **_ls -l_ :** Displays the contents of the current directory in a long listing format, one per line (show permissions).\n  - **_ls -a_ :** Lists all files including hidden files _(files with names beginning with a dot)._\n  - **_ls -author_ :** Lists the contents in the specified directory along with its owner.\n  - **_ls -C_ :** Lists entries by columns.\n  - **_ls -d_ :** Lists directories - with ' */'.\n  - **_ls -r_ :** It is used to print the list in reverse order.\n- **file creation through *cat* command :**\n  - **_cat \u003e_** (to overwrite)\n  - **_cat \u003e\u003e_** (to append)\n  - **_cat_** (to view)\n- Empty file creation using ***touch*** command.\n- ***cp*** : **cp** stands for a copy. This command is used to copy files or groups of files or directories.\n- ***mv*** : Moves files and directories from one directory to another or renames a file or directory.\n- ***file*** : Used to determine the type of a file.\n- ***wc* command :** (stands for word count)\n  - **_wc -l_ :** Prints the number of lines in a file.\n  - **_wc -w_ :** Prints the number of words in a file.\n  - **_wc -c_ :** Displays the count of bytes in a file.\n  - **_wc -m_ :** Prints the count of characters from a file.\n  - **_wc -L_ :** Prints only the length of the longest line in a file.\n- **_cmp :_** Used to compare two files _byte by byte_ and helps to find out whether the two files are identical or not.\n- **_comm :_** Compares two sorted files line by line and writes to standard output; the lines that are common and the lines that are unique.\n- **_sort :_** Prints the lines of its input or concatenation of all files listed in its argument list in sorted order.\n- **redirection operator _\u003e_**\n- ***rm -i*** for interactive deletion of any file.\n- **character class :**\n  - ????? placeholders\n  - asterisks(**) to denote all\n\n## ⚛️ Day 3 Commands :\n- ***chmod* (change mode) :**\n  - **relative permission :** ('+' symbol is used _add_ and '-' symbol is used to _remove_ a specific permission from _user_ , _group_ or _others_.)\n    - using ***±r*** or ***±w*** or ***±x*** with ***ugo*** or ***a***. ( **_'a'_** stands for **all** , i.e., **_'u'_(user)**, **_'g'_(group)** \u0026 **_'o'_(others)**. )\n    - using ***ugo/a*** = ***±r*** or ***±w*** or ***±x***.\n  - **absolute permission using numbers :**\n    - **4 : read (*r--*)**\n    - **2 : write (*-w-*)**\n    - **1 : execute (*--x*)**\n      - **3 (2+1) : write \u0026 execute (*-wx*)**\n      - **5 (4+1) : read \u0026 execute (*r-x*)**\n      - **6 (4+2) : read \u0026 write (*rw-*)**\n      - **7 (4+2+1) : read, write \u0026 execute (*rwx*)**\n- ***chmod -R* :** To assign same permissions of **root directory** to **sub-directories.**\n- ***umask* :** The umask command sets the file-creation mask using this format:\n  - where mask is an **octal number** or **symbolic value** that correspond to the permissions to be disabled.\n  - This umask command adds **write permission to the group**:\n    - With **no arguments,** umask displays the **current** value.\n- ***ls -ls***\n- **redirection of output using *\u003e* and *\u003e\u003e***\n- **Character class :**\n  - **[0-9]** for digits (same as **[!a-z]**).\n  - **[a-z]** for chars (same as **[!0-9]**).\n\n## ⚛️ Day 4 Commands :\n- **Linux- Vi Editor** _(it has three modes of operation)_ :\n  - **_Command mode_ :** Operations such as cut, copy, paste, delete, undo, redo etc.\n  - **_Insert mode_ :** Type in new text.\n  - **_Esc mode_ :** Extended commands for saving, exiting,  search-and-replace can executed here.\n- _vi \u003cfilename\u003e_ to open a file.\n- **Input Mode Commands :**\n  - **_i :_** Insert text to left of the cursor(Existing text shifted right).\n  - **_a :_** Append text to right of cursor(Existing text shifted right).\n  - **_I :_** Insert text at the beginning of line.\n  - **_A_** : Append text at the end of the line.\n  - **_o_** : Open line below.\n  - **_O_** : Open line above\n  - **_rch_** : Replaces single character under cursor with ch.\n  - **_R_** : Replaces text from cursor to right.\n  - **_s_** : Replaces single character under cursor with any number of characters.\n  - **_S_** : Replaces entire line.\n \n## ⚛️ Day 5 Commands :\n- **_grep_** command in pattern matching :\n  - ***grep -v* :** Selects the non-matching lines of the provided input pattern.\n  - ***grep -e* :** Union two grep patterns.\n  - ***grep -n* :** Prefix each line of the matching output with the line number in the input file.\n  - ***grep -c* :** Count number of lines matching to given pattern.\n  - ***grep -i* :** Ignores case distinctions in patterns and input data.\n  - ***grep \"^pattern\"*** (find specified pattern at the beginning).\n  - ***grep \"pattern$\"*** (find specified pattern at the end).\n  - ***grep \"pattern1\"*** \u003cfilename\u003e|grep \"pattern2\" \u003cfilename\u003e  (pipe operator redirection used).\n\n## ⚛️ Day 6 Commands :\n- **/dev/null** (special file of linux that has size of 0 bytes it's works like insularator)\n- **/dev/tty** (represent the own terminal)\n- | (pipe command)\n- (\n   ls | wc -l\n   who |wc -l\n  )\n- **tee**\n- ls |tee file\n\n- **Command Substitution {`}**\n- echo \"Number of files are **{`ls |wc -l }** in present directorty\"\n\n- **Shell Variables**\n- $x \n- expr $x + $y\n- expr $x - $y\n- expr $x \\* $y\n- expr $x / $y\n\n- exit status of last command\n echo $?\n(\n0 -- for successful\n1 -- for i=unsuccessful\n)\n\n- x=20;y=30;z=40;m=20\n- test $x -eq $y;echo $?   \t(equals)\n- test $x -ne $y;echo $?\t\t(not equals)\n- test $x -gt $y;echo $?\t\t(greater than)\n- test $x -lt $y;echo $?\t\t(less than)\n- test $x -ge $y;echo $?\t\t(greater than or equals to)\n- test $x -le $y;echo $?\t\t(less than or equals to)\n\n\n- who|tee /dev/tty|wc -l\n- ls |tee /dev/tty|grep -l \"poem\" *|wc -l \u003ecount\n- cat file\u003efile  (earse all the content of file)\n\n## ⚛️ Day 7 Commands :\n\n\n## ⚛️ Day 8 Commands :\n- process command **ps**\n- ps - l\n- ps -f (full screen )\n- ps -e (all process )\n- kill process_id\n- kill -9 process_id  (super kill)\n- \u0026 (at the end of command to make it background process)\n- process scheduling\n- at (for one time scheduling)\n- batch\n- crontab\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinshuk-code-1729%2Flinux-training-sessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinshuk-code-1729%2Flinux-training-sessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinshuk-code-1729%2Flinux-training-sessions/lists"}