{"id":31699256,"url":"https://github.com/suryanshvermaa/gosystemprogrammingselflearning","last_synced_at":"2025-10-08T19:28:29.919Z","repository":{"id":313792883,"uuid":"1052707524","full_name":"suryanshvermaa/GoSystemProgrammingSelfLearning","owner":"suryanshvermaa","description":"This repo is for learning system programming using golang","archived":false,"fork":false,"pushed_at":"2025-09-18T08:32:35.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T10:30:47.039Z","etag":null,"topics":["golang","unix"],"latest_commit_sha":null,"homepage":"","language":"Go","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/suryanshvermaa.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T12:44:22.000Z","updated_at":"2025-09-18T08:32:39.000Z","dependencies_parsed_at":"2025-09-08T14:45:27.371Z","dependency_job_id":"ae89995b-a387-4b6c-aafb-57912fd88d5c","html_url":"https://github.com/suryanshvermaa/GoSystemProgrammingSelfLearning","commit_stats":null,"previous_names":["suryanshvermaa/gosystemprogrammingselflearning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suryanshvermaa/GoSystemProgrammingSelfLearning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2FGoSystemProgrammingSelfLearning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2FGoSystemProgrammingSelfLearning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2FGoSystemProgrammingSelfLearning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2FGoSystemProgrammingSelfLearning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suryanshvermaa","download_url":"https://codeload.github.com/suryanshvermaa/GoSystemProgrammingSelfLearning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suryanshvermaa%2FGoSystemProgrammingSelfLearning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000711,"owners_count":26082805,"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-10-08T02:00:06.501Z","response_time":56,"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":["golang","unix"],"created_at":"2025-10-08T19:28:28.875Z","updated_at":"2025-10-08T19:28:29.911Z","avatar_url":"https://github.com/suryanshvermaa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoSystemProgrammingSelfLearning\n\n## Description\n\n\u003e This repository is for learning system programming using Golang. It contains various examples and utilities to explore file operations, directory traversal, symbolic links, and more.\n\n---\n\n### Prerequisites\n\n- `Go` \u003e= 1.18\n\n---\n\n## Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/suryanshvermaa/GoSystemProgrammingSelfLearning.git\n\ncd GoSystemProgrammingSelfLearning\n```\n\n---\n\n## Project Structure\n\n```\nGoSystemProgrammingSelfLearning/\n├── README.md\n├── FilesAndDirectories/\n│   ├── 1_flagPackege.go                # Example of using the flag package\n│   ├── 2_simbLink.go                   # Check if a file is a symbolic link\n│   ├── 3_pwd.go                        # Implementation of the `pwd` command\n│   ├── 4_which.go                      # Implementation of the `which` command\n│   ├── 5_PermissionBitsOfFile.go       # Display permission bits of a file\n│   ├── 6_traversing_diretoryTree.go    # Traverse a directory tree\n│   ├── 7_visitingOnlyDirectories.go    # Visit only directories in a tree\n│   ├── 8_findv1.go                     # Implementation of a basic `find` command\n│   └── FileOperation/\n│       ├── deleteFile.go               # Delete a file\n│       ├── dummy.json                  # Sample JSON file\n│       ├── renameFile.go               # Rename a file\n```\n\n---\n\n## File Descriptions\n\n### Top-Level Files\n- **README.md**: This file, providing an overview of the project.\n\n### FilesAndDirectories\n- **1_flagPackege.go**: Demonstrates the use of the `flag` package for parsing command-line arguments.\n- **2_simbLink.go**: Checks if a file is a symbolic link and resolves its real path.\n- **3_pwd.go**: Implements the `pwd` command to print the current working directory.\n- **4_which.go**: Implements the `which` command to locate a command in the system's PATH.\n- **5_PermissionBitsOfFile.go**: Displays the permission bits of a specified file.\n- **6_traversing_diretoryTree.go**: Traverses a directory tree and prints all paths.\n- **7_visitingOnlyDirectories.go**: Visits and prints only directories in a directory tree.\n- **8_findv1.go**: A basic implementation of the `find` command to locate files and directories.\n\n### FilesAndDirectories/FileOperation\n- **deleteFile.go**: Deletes a specified file.\n- **dummy.json**: A sample JSON file for testing purposes.\n- **renameFile.go**: Renames a file, with support for overwriting.\n\n---\n\n## Usage\n\nEach Go file in the project is a standalone program. You can run them using the `go run` command. For example:\n\n```bash\ngo run FilesAndDirectories/3_pwd.go\n```\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryanshvermaa%2Fgosystemprogrammingselflearning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuryanshvermaa%2Fgosystemprogrammingselflearning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryanshvermaa%2Fgosystemprogrammingselflearning/lists"}