https://github.com/botsarefuture/clear-content
A tool to clear contents of file on terminal.
https://github.com/botsarefuture/clear-content
bash debian-packages ubuntu
Last synced: 3 months ago
JSON representation
A tool to clear contents of file on terminal.
- Host: GitHub
- URL: https://github.com/botsarefuture/clear-content
- Owner: botsarefuture
- Created: 2024-04-15T14:17:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T18:53:36.000Z (almost 2 years ago)
- Last Synced: 2024-09-07T17:07:51.663Z (almost 2 years ago)
- Topics: bash, debian-packages, ubuntu
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Clear Content Script
A simple script to clear the content of a file.
## Installation
You can install this package using the command below on Debian-based systems:
```bash
wget -O - "https://raw.githubusercontent.com/botsarefuture/clear-content/main/install.sh" | bash
```
## Usage
To clear the content of a file, simply execute the `clear-content` command followed by the filename as an argument:
```bash
clear-content
```
For example:
```bash
clear-content example.txt
```
## Uninstallation
To uninstall the script, you can use `apt`:
```bash
sudo apt remove clear-content
```
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
## License
This script is licensed under the [MIT License](LICENSE).