Skip to content

Commit

Permalink
feat: content added
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush-linux committed Sep 27, 2024
1 parent 3da18c1 commit 6500aed
Show file tree
Hide file tree
Showing 14 changed files with 176 additions and 63 deletions.
61 changes: 60 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Pinux

this project is meant to create interest in linux plyaing games and CTF for linux
You can also share this in you Social media & saying you have learned something
You can also share this in you Social media & saying you have learned something.

## Techstack
vitepress + markdown

> This is my ninja way !
## Roadmap

- [ ] Next Button
- [ ] docs: bash-scripting syllabus
- [ ] feat: enter key feature
- [ ] feat: input trip form both the end !
Expand All @@ -30,6 +35,60 @@ yarn docs:dev
- Levels(3): Each get harder as we move forward
- bossFight : villan vs ninja game play of quizz

### Rock
1. Initiation
- linux Introduction: kernel, history
- Distribution (CLI + GUI)

2. Daily Drive Usage
- virtualization
- Installation (boot medium)
- package manager / Software Store
- Daily Driver Application to use

3. CLI Commando
- CLI , console , terminal, shell
- source, alias : bash , fish , zsh
- echo / username / $
- Linux cmd Navigation




### Fire

1. File System
- Linux FS
- File Permission
- User Management
2. Text Ninja
- Text Processsing
- Redirect & Pipe
3. Admin
- process
- Disk
- system
- hardware
4. Network
- ssh
- ping, addr, ip,


### Water ( Bash Scripting )
Bash Scripting



### Air
Cloud
- docker
- nginx
- DigitalOcean
- AWS

### Bonus
Ricing




Expand Down
18 changes: 9 additions & 9 deletions docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
{
"hash": "32b885c3",
"configHash": "bf85da87",
"hash": "fd30256b",
"configHash": "d4b63f36",
"lockfileHash": "894ddf13",
"browserHash": "50c77a28",
"browserHash": "62d4c4b2",
"optimized": {
"vue": {
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "12da10e6",
"fileHash": "a795bf28",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../../node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "137cb065",
"fileHash": "65615f41",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../../node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "e827605b",
"fileHash": "bd3554e9",
"needsInterop": false
},
"vitepress > @vueuse/integrations/useFocusTrap": {
"src": "../../../../node_modules/@vueuse/integrations/useFocusTrap.mjs",
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
"fileHash": "e88ee2d8",
"fileHash": "c7801668",
"needsInterop": false
},
"vitepress > mark.js/src/vanilla.js": {
"src": "../../../../node_modules/mark.js/src/vanilla.js",
"file": "vitepress___mark__js_src_vanilla__js.js",
"fileHash": "3a9d7593",
"fileHash": "07c0532c",
"needsInterop": false
},
"vitepress > minisearch": {
"src": "../../../../node_modules/minisearch/dist/es/index.js",
"file": "vitepress___minisearch.js",
"fileHash": "87bfa5a6",
"fileHash": "a1db7cd4",
"needsInterop": false
}
},
Expand Down
Binary file added docs/public/distro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/gnome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/kde.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/unity.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/rock/cli/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# CLI

- The Linux command-line interface (CLI) is a text-based method for interacting with a Linux operating system.
- Users can enter commands to perform various tasks, such as managing files, running programs, configuring system settings, and more.
- The CLI is often accessed through a terminal emulator, which provides a text-based interface for entering commands and viewing their output.
- The Linux CLI is known for its power and flexibility, allowing users to perform complex tasks quickly and efficiently.


```yml
- cli vs terminal vs console
- help
Expand Down
42 changes: 42 additions & 0 deletions docs/rock/cli/pro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Commando Pro

```
process
hardware
```


## Proccess

```sh
$ ps
$ ps aux
$ top
$ ps aux | grep cat
$ ps l

kill <pid>
$ kill -9 12445

$ ls /proc
$ cat /proc/12345/status
```

## Hardware

```sh
lscpu
lscpu | grep -i mhz
free
free -h
cat /proc/cpuinfo #
cat /proc/meminfo
grep MemTotal /proc/meminfo
cat /proc/partitions
lsblk
lsusb
lspci
df

```

1 change: 0 additions & 1 deletion docs/rock/gui/ricing.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/rock/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ features:
dark: /rock/rotation.png
title: Initiation
details: Unveiling the Linux Essence
link: /rock/initiation
link: /rock/initiation/index
- icon:
dark: /rock/folder.png
title: Pathfinder
Expand Down
101 changes: 50 additions & 51 deletions docs/rock/initiation/distro.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,80 @@
<script setup>
import { data } from '../data/example.data.js'
import Play from '../components/Play.vue';

console.log(data.data[0].ans)
</script>

What Is Distro : CLI + GUI
beginner distro: Manjaro KDE Plasma, Zorin OS,
arch(rolling) vs debian(stable)
---
prev:
text: 'Introduction'
link: /rock/initiation/index
next:
text: 'CLI'
link: /rock/cli/index
---

```
What Is Distro : CLI + GUI
beginner distro: Manjaro KDE Plasma, Zorin OS,
arch(rolling) vs debian(stable)
```

# Introduction to Linux Distros

<br/>
<img width="100%" src="https://fossbytes.com/wp-content/uploads/2021/12/what-is-a-linux-distribution.png" />
<br/>

A Linux distro is like a special recipe for cooking up the Linux operating system. It's not just the basic ingredients (like the Linux kernel) but also the spices and flavors (software, apps, and tools) that make it unique. Each distro is designed for different tastes, whether you're using it on a desktop, a server, or even a smart fridge! Popular distros include Ubuntu, Fedora, Debian, and CentOS.
A Linux distro is like a special recipe for cooking up the Linux operating system. It's not just the basic ingredients (like the Linux kernel) but also the spices and flavors (software, apps, and tools) that make it unique.

A Linux distribution (often abbreviated as "distro") is a complete operating system that is based on the Linux kernel along with a collection of software applications and tools. Different Linux distributions can vary widely in terms of their design, functionality, and intended use. Some distributions are designed for general-purpose use, while others are specialized for specific tasks or user groups. Examples of popular Linux distributions include Ubuntu, Fedora, Debian, and CentOS. Each distribution typically includes its own package management system for installing, updating, and removing software.
Each distro is designed for different tastes, whether you're using it on a desktop, a server, or even a smart fridge!

A Linux distribution (often abbreviated as "distro") is a complete operating system that is based on the Linux kernel along with a collection of software applications and tools.

- __Choose You Distro__
Different Linux distributions can vary widely in terms of their design, functionality, and intended use. Some distributions are designed for general-purpose use, while others are specialized for specific tasks or user groups. Examples of popular Linux distributions include Ubuntu, Fedora, Debian, and Arch. Each distribution typically includes its own package management system for installing, updating, and removing software.

| Begginer | Intermediate | Expert |
| -- | -- | -- |
| Zorin OS | Archcraft | Gentoo |
| Kde Neon | Fedora | Open BSD |
| Ubuntu Unity | Opensuse | Arch Linux |
| Linux mint | Cent OS | Slackware |
<img src="/distro.png" />

- __Distro according to their feature__

| Distro | Specification |
| -- | -- |
| Kali Linux | Used for hacking |
| Pop! OS | Gaming Distro |
| Tail OS | Become Anonymous on internet |
| Manjaro KDE | For Daily Usage |
| Linux Lite | Minimal & Fast |
## Linux (Desktop Environment)

<br/><br/>

<center>GNOME</center>

- **CLI**
![](/gnome.png)

The Linux command-line interface (CLI) is a text-based method for interacting with a Linux operating system.
Users can enter commands to perform various tasks, such as managing files, running programs, configuring system settings, and more.
The CLI is often accessed through a terminal emulator, which provides a text-based interface for entering commands and viewing their output.
The Linux CLI is known for its power and flexibility, allowing users to perform complex tasks quickly and efficiently.

<br/><br/>

<center>KDE</center>

<!-- <div class="cli" style="display: flex;align-items: center;">
<input class="cli-inp" placeholder="$ whoami" v-model="inp" />
<button class="cli-btn" @click="search">submit</button>
</div> -->
![](/kde.png)

::: tip N O T E

**Arch Linux** is a rolling-release Linux distribution known for its simplicity and customization. As a rolling release, it provides continuous updates and does not follow traditional version numbers. Users receive the latest software versions as they become available, ensuring that their system is always up-to-date.
<br/><br/>

:::
<center>UNITY</center>

::: warning red
![](/unity.jpg)

important

:::

::: danger red
In the upcoming chapter, you'll learn about different types of Linux shells. Shells act as the interface between the user and the system, allowing you to execute commands. Here are the main types you'll explore: `bash, zsh, fish`

important

:::
## __Choose You Distro__

# Level 2
| Begginer | Intermediate | Expert |
| -- | -- | -- |
| Zorin OS | Archcraft | Gentoo |
| Kde Neon | Fedora | Open BSD |
| Ubuntu Unity | Opensuse | Arch Linux |
| Linux mint | Cent OS | Slackware |

- WM : i3, bspwm, wayfire
## __Distro according to their feature__

# Level 3
| Distro | Specification |
| -- | -- |
| Kali Linux | Used for hacking |
| Pop! OS | Gaming Distro |
| Tail OS | Become Anonymous on internet |
| Manjaro KDE | For Daily Usage |
| Linux Lite | Minimal & Fast |

- gentoo,
> https://distrochooser.de/
<Play :ans="data.data[0].ans" />
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
next:
text: 'Daily Drive Usage'
link: /rock/initiation/distro
---

# Introduction

Linux is an open-source operating system kernel originally created by Linus Torvalds in 1991. It is the foundation of many different Linux distributions, which are complete operating systems that include the Linux kernel along with a collection of software applications and tools. Linux is known for its stability, security, and flexibility, and it is widely used in servers, supercomputers, and embedded systems. It is also popular among developers and enthusiasts for its customization options and community-driven development model.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6500aed

Please sign in to comment.