https://github.com/darkarp/linuxutils
https://github.com/darkarp/linuxutils
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darkarp/linuxutils
- Owner: darkarp
- License: apache-2.0
- Created: 2024-03-03T00:10:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T15:07:42.000Z (over 1 year ago)
- Last Synced: 2025-03-16T18:21:23.041Z (over 1 year ago)
- Language: C
- Size: 9.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom Linux Utils
## `ls` - List Directory Contents
- `./ls -a`: List all contents, including hidden files
- `./ls -H`: List contents with sizes in a human-readable format
## `snip` - Snippet Manager
- `./snip add "Example Title" "Example Content"`: Add a new snippet with a title and content.
- `./snip list`: List all stored snippets:
- `./snip search "keyword"`: Search for snippets containing a keyword
`
## `fsearch` - File Search
- `./fsearch /path/to/search "pattern"`: Search for files by pattern within a specified path
## `cat` - Concatenate and Display Files
`./cat /path/to/file`: Display the content of a specified file
## `ln` - Create Links
- `./ln /path/to/target /path/to/linkname`: Create a hard link to a target file
- `./ln -s /path/to/target /path/to/symlink`: Create a symbolic link to a target file
## `grep` - Pattern Search in Text
- `./grep "pattern" /path/to/file`: Search for a pattern within a specified file
mathematica
## `wc` - Word, Line, Character, and Byte Count
`./wc /path/to/file`: Count lines, words, characters, and bytes in a file
## Bonus:
- `./cat example.txt | ./grep 'some-pattern'`: This command concatenates and displays the content of `example.txt`, piping it through `grep` to filter and display lines that match 'some-pattern'.