{"id":16430215,"url":"https://github.com/rohya8/unixfundamentalcommands","last_synced_at":"2025-09-14T23:42:44.805Z","repository":{"id":101908023,"uuid":"292634975","full_name":"rohya8/UnixFundamentalCommands","owner":"rohya8","description":"Fundamental UNIX commands necessary for development","archived":false,"fork":false,"pushed_at":"2020-09-30T23:37:53.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T08:18:46.889Z","etag":null,"topics":["cheatsheet","commandline","development","linux","linux-shell","perl","tutorial","unix","unix-command"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rohya8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-09-03T17:22:28.000Z","updated_at":"2020-09-09T14:38:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ad7ca82-6cc6-4c88-8cdb-79b7fc093659","html_url":"https://github.com/rohya8/UnixFundamentalCommands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rohya8/UnixFundamentalCommands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohya8%2FUnixFundamentalCommands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohya8%2FUnixFundamentalCommands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohya8%2FUnixFundamentalCommands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohya8%2FUnixFundamentalCommands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohya8","download_url":"https://codeload.github.com/rohya8/UnixFundamentalCommands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohya8%2FUnixFundamentalCommands/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268261566,"owners_count":24222020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["cheatsheet","commandline","development","linux","linux-shell","perl","tutorial","unix","unix-command"],"created_at":"2024-10-11T08:26:05.982Z","updated_at":"2025-08-01T16:35:33.363Z","avatar_url":"https://github.com/rohya8.png","language":null,"readme":"The fundamental UNIX commands necessary for development\n- The command line is a tool for interacting with a computer using only text (also known as a text interface) rather than other methods like clicking and scrolling.\n- If you press the Tab key while entering a file name or folder name, the rest of the name gets auto-completed. \n- The directory that you're currently in, is called the current directory. \n- In the file structure of a computer, there is a root directory at the very top. The root directory is represented by /.\n\n#### Commands\n\n##### File and Directory Structures\n+ touch file_name.extension =\u003e Create new file\n    ```sh\n    $ touch begin.txt\n    ```\n+ cat file_name =\u003e Displays the content of a file \n    ```sh\n    $ cat begin.txt\n    ```    \n    ` [` If you specify a file that does not exist using the cat command, you will get an error, as the command is invalid `]`\n+ mkdir directory_name =\u003e Creates a new directory\n    ```sh\n    $ mkdir code\n    ```   \n+ cd directory_name =\u003e Moves to specified directory\n    ```sh\n    $ cd html\n    ```\n     ` [` You'll get an error if you specify a directory that does not exist `] `    \n     \n+ pwd (print working directory) =\u003e To know the directory you are currently working in \n    ```sh\n    $ pwd\n    ```\n    \n+ ls (Listing files) =\u003e Displays the directories and files that are direct children of the current directory\n    ```sh\n    $ ls\n    ```\n+ `..` =\u003e Moves to the parent directory\n    ```sh\n    $ cd ..\n    ```\n    ` [ ` If you execute cd without specifying a directory, you can move to what is called a home directory (represented by ~) `] `\n    \n##### Working with Files and Directories\n+ mv directories/file_to_move/ destination_directory =\u003e Moves to directories/file\n    ```sh\n    $ mv begin.txt html\n    ```    \n+ mv old_file_name new_file_name =\u003e Renames a file\n    ```sh\n    $ mv begin.txt end.txt\n    ```\n+ cp file_to_copy new_file_name. =\u003e To copy files\n    ```sh\n    $ cp begin.txt copy.txt\n    ```    \n+ cp -r  directory_to_copy new_directory_name =\u003e Copy a directory ( r - Recursive copy) \n    ```sh\n    $ cp -r code html \n    ```\n    ` [ ` If you try to copy a directory without adding the -r option, you will get an error `]`\n+ rm file_to_remove =\u003e Removes a file\n    ```sh\n    $ rm begin.txt\n    ```   \n+ rm -r directory_to_remove =\u003e Removes a directory\n    ```sh\n    $ rm -r code\n    ```  \n#### Other Important Commands\n+ man =\u003e Opens reference manual of a Linux operating system (help document)\n    ```sh\n    $ man\n    ```  \n+ history  =\u003e  Shows all the commands that you have used in the past for the current terminal session\n    ```sh\n    $ history\n    ``` \n+ clear =\u003e  Clears the terminal\n    ```sh\n    $ man\n    ```      \n + lp Filename =\u003e  Prints a file\n    ```sh\n    $ lp begin.txt\n    ```      \n#### Reference Links\n\n* [Progate]\n* [Guru99]\n\n\n[Progate]: https://progate.com/languages/commandline\n[Guru99]: https://www.guru99.com/must-know-linux-commands.html\n\n**if you want to contribute to the project,create a pull request**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohya8%2Funixfundamentalcommands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohya8%2Funixfundamentalcommands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohya8%2Funixfundamentalcommands/lists"}