Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 35 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,44 @@ Welcome to **NNOS**, your friendly companion for navigating the world of Linux (

Ready to join the conversation? Here's how to install **NNOS**:

1. Open your terminal (or PowerShell on Windows).
2. Download NNOS an make sure you are in the same directory as the file
3. Type the following command:
chmod +x nnos;./nnos
4. Once installed, say hello to **NNOS**:
# On Linux:

1. [Download NNOS for linux](https://github.com/Natuworkguy/NNOS/blob/2.4.4/linux/)
2. Download nnos
3. Open terminal
and make sure you are in the same directory as the nnos file
4. Type the following command:
```bash
nnos --help
./nnos --install
```
You will only need to do this once
5. Now, say hello to **NNOS**:

```bash
nnos --hello
```
6. Also, NNOS can do simple tasks, such as reboot your machine

```bash
nnos --restart
```
7. NNOS can power off your machine as well
```bash
nnos --shutdown
```
# On Windows
1. [Download NNOS for Windows] (https://github.com/Natuworkguy/NNOS/tree/2.4.4/win)
2. Download run.bat
3. Move run.bat to a directory of your choice (e.g.: *Documents*). The directory will not effect the operation of the file
4. Open Terminal
5. Go to the directory you chose using the cd command e.g.:
```PowerShell
cd Documents
```
6. Finally, execute the file
```PowerShell
run.bat
```
## Contributing

Got ideas? Found a bug? Want to share a Linux meme? Head over to our [GitHub repository](https://github.com/natuworkguy/NNOS) and join the party. We're all ears (and voices)!
Got ideas? Found a bug? Want to share a Linux meme? Head over to our [GitHub repository](https://github.com/Natuworkguy/NNOS/tree/2.4.4) and join the party. We're all ears (and voices)!
6 changes: 6 additions & 0 deletions linux/nnos
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ if [ "$(cat /var/nnos/binarystorage/installed)" == "1" ]; then
case "$OPTION" in
--restart)
reboot
exit 1
;;
--shutdown)
poweroff
exit 1
;;
--help)
help
exit 0
;;
*)
echo "Usage: nnos: <Command>"
Expand All @@ -39,11 +42,14 @@ else
--install)
echo "1" > /var/nnos/binarystorage/installed
mv "$0" /usr/bin/
chmod +x $0
echo "To use NNOS, call the $(basename $0) command anytime."
exit 0
;;
*)
echo "Usage: nnos: <Command>"
exit 1
;;
esac
fi
exit 0