From 56867c9b4ced86f7231a5ee1bbea62b0cb784574 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Wed, 28 Aug 2024 07:46:57 +0100 Subject: Changes to lang --- .../articals/linux/ArchLinux/00CleaningArchLinux | 31 +++---- .../articals/linux/ArchLinux/01SpeedingUpArchLinux | 25 +++--- public/articals/linux/info/00LinuxFileHierarchy | 27 +++--- public/articals/linux/info/01Terminal | 33 ++++---- public/articals/linux/media/00cd | 97 +++++++++++----------- public/articals/linux/media/01BurningIsos | 29 +++---- public/articals/linux/media/02FormattingUSB | 83 +++++++++--------- public/articals/linux/tools/00Ventoy | 31 +++---- 8 files changed, 181 insertions(+), 175 deletions(-) (limited to 'public/articals/linux') diff --git a/public/articals/linux/ArchLinux/00CleaningArchLinux b/public/articals/linux/ArchLinux/00CleaningArchLinux index fec0132..6f5e112 100644 --- a/public/articals/linux/ArchLinux/00CleaningArchLinux +++ b/public/articals/linux/ArchLinux/00CleaningArchLinux @@ -1,22 +1,23 @@ - - + + + Cleaning Arch Linux - - + +
- +

How to Clean Arch Linux ๐Ÿงน

@@ -30,7 +31,7 @@

sudo pacman -Scc # Remove packages from cache both installed and not installed

Some people like to automate this task of cleaning the cache with paccache, but personally I would not because it is something that takes around five minutes max to do. However, it is your choice if you want to do so to avoid the trouble of doing it manually. Regardless of whether you choose to do this manually or automatically, I suggest cleaning the cache monthly. -

+


Removing Orphan Packages

Orphan packages are those installed as dependencies for other software but are no longer needed. For example, when you install LibreWolf, it downloads a package called librewolf-debug as a dependency. Once the installation is complete, librewolf-debug becomes an orphan package because it is no longer used by LibreWolf.

@@ -48,8 +49,8 @@
-

That is all for now, I hope this artical has helped you clean your system.

-
  Back
+        

That is all for now, I hope this artical has helped you clean your system.

+
  Back
     
diff --git a/public/articals/linux/ArchLinux/01SpeedingUpArchLinux b/public/articals/linux/ArchLinux/01SpeedingUpArchLinux index f4c638a..524db1b 100644 --- a/public/articals/linux/ArchLinux/01SpeedingUpArchLinux +++ b/public/articals/linux/ArchLinux/01SpeedingUpArchLinux @@ -1,22 +1,23 @@ - - + + + Speeding up Pacman ๐Ÿš— - - + +
- +

How to speed up Pacman ๐Ÿš—

diff --git a/public/articals/linux/info/00LinuxFileHierarchy b/public/articals/linux/info/00LinuxFileHierarchy index a45e9dc..437f6b1 100644 --- a/public/articals/linux/info/00LinuxFileHierarchy +++ b/public/articals/linux/info/00LinuxFileHierarchy @@ -1,22 +1,23 @@ - - + + + Linuxx file hierarchy - - + +
- +

The Linux File Hierarchy

@@ -81,7 +82,7 @@

This has took me a while to write because I have had to double check everything and put it in my own words so I understand it! If there are any issues please with this artical please report it.

As normal thank you for reading!


-
  Back
+        
  Back
 
     
diff --git a/public/articals/linux/info/01Terminal b/public/articals/linux/info/01Terminal index e29ffc2..e33f504 100644 --- a/public/articals/linux/info/01Terminal +++ b/public/articals/linux/info/01Terminal @@ -1,29 +1,28 @@ - - + + + Terminal > GUI - - + +
- +

Why the terminal will always beat the GUI ๐Ÿ‘จโ€๐Ÿ’ป

-

Date: 27-08-2024

-
-

I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!

-
+

Date: 27-08-2024


+

I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!


1) The Terminal Simplifies Tasks With Fewer Steps:

Using the terminal can be way faster and more straightforward than navigating a GUI. For example, updating your Linux system requires one simple command in the terminal. In contrast, using a GUI software centre involves way more steps: opening the software center, navigating to the update section, and then updating all the programs. The terminal streamlines all of this which makes it way more efficient.


@@ -35,7 +34,7 @@

By learning all of these command-line tools over time, you will start learning how a Linux system works and operates, and this will help you fix any issues that pop up in the future. For example, if you wanted to format a USB stick, while yes, you could use Gnome-disk, it is faster just to use fdisk and mkfs for formatting a USB stick.


For now that is all I have on why terminal is better!


-
  Back
+        
  Back
     
diff --git a/public/articals/linux/media/00cd b/public/articals/linux/media/00cd index fcb1fc4..9bda2e2 100644 --- a/public/articals/linux/media/00cd +++ b/public/articals/linux/media/00cd @@ -1,22 +1,23 @@ - - + + + Burning optical media in Linux - - + +
- +

How To Format A USB with Linux ๐Ÿ’ฟ

@@ -26,49 +27,49 @@

Warning โš ๏ธ

Once you burn an optical disk you cannot reburn it. -

Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media. -


-

What you will need ๐Ÿ“‹

-
    -
  • Optical drive capable of writing to a CD
  • -
  • A computer with Linux ๐Ÿง๐Ÿ–ฅ๏ธ
  • -
  • The ability to read instructions and to follow them ๐Ÿง 
  • -
-
- -

Steps to burn ๐Ÿ”ฅ

-

You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!ย  -


+

Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media. +


+

What you will need ๐Ÿ“‹

+
    +
  • Optical drive capable of writing to a CD
  • +
  • A computer with Linux ๐Ÿง๐Ÿ–ฅ๏ธ
  • +
  • The ability to read instructions and to follow them ๐Ÿง 
  • +
+
+ +

Steps to burn ๐Ÿ”ฅ

+

You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!ย  +


-
  • 1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
  • -
    -
    -

    sudo pacman -S cdrkit

    -
    -
    +
  • 1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
  • +
    +
    +

    sudo pacman -S cdrkit

    +
    +
    -
    +
    -
  • 2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.

  • -
    -

    mkisofs -o movies.iso movies

    -
    -

    movies.iso being the output ISO and movies being the directory with the movies in there.

    +
  • 2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.

  • +
    +

    mkisofs -o movies.iso movies

    +
    +

    movies.iso being the output ISO and movies being the directory with the movies in there.

    -
    +
    -
  • 3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.

  • -
    -

    wodim -v dev=/dev/sr0 movies.iso

    -
    -

    movies.iso being the output ISO from the last command.

    +
  • 3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.

  • +
    +

    wodim -v dev=/dev/sr0 movies.iso

    +
    +

    movies.iso being the output ISO from the last command.

    -
    +
    -
  • 4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.

  • -
    -

    That is all the required steps to burn optical media on Linux, I hope this has helped you!

    -
      Back
    +  
  • 4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.

  • +
    +

    That is all the required steps to burn optical media on Linux, I hope this has helped you!

    +
      Back
         
    diff --git a/public/articals/linux/media/01BurningIsos b/public/articals/linux/media/01BurningIsos index 2ec7657..04b7a3f 100644 --- a/public/articals/linux/media/01BurningIsos +++ b/public/articals/linux/media/01BurningIsos @@ -1,22 +1,23 @@ - - + + + Burning an ISO ๐Ÿ”ฅ๐Ÿ’พ - - + +
    - +

    How to burn an ISO to a USB stick ๐Ÿ’พ

    @@ -25,7 +26,7 @@

    Burning an ISO onto a USB stick on Linux is very easy, and you only need to use a few commands!


    What you will need ๐Ÿ“‹

    -
      +
      • A USB drive
      • A computer with Linux ๐Ÿง๐Ÿ–ฅ
      • The ability to read instructions and to follow them ๐Ÿง 
      • @@ -61,7 +62,7 @@

        After following all of these steps, your USB should have the ISO image burned into it. I hope this has helped you burn a Linux or BSD distro to a USB!


        -
          Back
        +        
          Back
             
    diff --git a/public/articals/linux/media/02FormattingUSB b/public/articals/linux/media/02FormattingUSB index 3424aaa..f9fed53 100644 --- a/public/articals/linux/media/02FormattingUSB +++ b/public/articals/linux/media/02FormattingUSB @@ -1,22 +1,23 @@ - - + + + Formatting USBs with Linux ๐Ÿ”Œ๐Ÿ”ฅ - - + +
    - +

    Formatting USBs With Linux ๐Ÿ”Œ๐Ÿ”ฅ

    @@ -24,42 +25,42 @@

    Formatting a USB in Linux is easier then burning an ISO and only needs a few quick commands!


    What you will need ๐Ÿ“‹

    -
      -
    • A USB drive
    • -
    • A computer with Linux ๐Ÿง๐Ÿ–ฅ
    • -
    • The ability to read instructions and to follow them ๐Ÿง 
    • -

    +
      +
    • A USB drive
    • +
    • A computer with Linux ๐Ÿง๐Ÿ–ฅ
    • +
    • The ability to read instructions and to follow them ๐Ÿง 
    • +

    -

    Formatting the USB

    -

    1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

    -
    -

    lsblk

    -
    -

    Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


    +

    Formatting the USB

    +

    1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

    +
    +

    lsblk

    +
    +

    Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


    -

    2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

    -
    -

    sudo fdisk /dev/sdX

    -
    -

    You will need to press the following keys to make a new partition table for the USB.

    -
      -
    • o - Creates a new DOS partition table
    • -
    • n - New partition, press enter to all that follows
    • -
    • w - Writes the partition table
    • -
    -

    Give fdisk a minute to write the new partition to the USB.


    +

    2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

    +
    +

    sudo fdisk /dev/sdX

    +
    +

    You will need to press the following keys to make a new partition table for the USB.

    +
      +
    • o - Creates a new DOS partition table
    • +
    • n - New partition, press enter to all that follows
    • +
    • w - Writes the partition table
    • +
    +

    Give fdisk a minute to write the new partition to the USB.


    3) Now is the time to give that partition a file system. You should look into this beforehand to see what file system you want, but I will use ext4 because it was made for Linux use.

    -
    -

    sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx

    -
    -

    The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


    +
    +

    sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx

    +
    +

    The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


    -

    Finished โœ…

    -

    All done! Now you have an empty USB stick you can use for all your files!


    +

    Finished โœ…

    +

    All done! Now you have an empty USB stick you can use for all your files!


    -
      Back
    +        
      Back
         
    diff --git a/public/articals/linux/tools/00Ventoy b/public/articals/linux/tools/00Ventoy index b677ef0..b45fdcd 100644 --- a/public/articals/linux/tools/00Ventoy +++ b/public/articals/linux/tools/00Ventoy @@ -1,22 +1,23 @@ - - + + + Installing Ventoy - - + +
    - +

    How to Install Ventoy with Linux ๐Ÿง๐Ÿ”Œ

    @@ -49,7 +50,7 @@

    cd ventoy-<version>/ && lsblk

    Normally the USB with the lowest amount of storage will be your USB; to make sure, check the size of your USB compared to the devices listed under lsblk.


    - +

    5) This command will install Ventoy to the USB. Make sure your USB name is correct; it will be something like sdb. A good way to identify the USB is by running lsblk when the USB is out and then running lsblk while the USB is plugged in.

    sudo sh Ventoy2Disk.sh -i /dev/sdX

    @@ -65,8 +66,8 @@

    After following all of these steps Ventoy should be installed on your USB stick, now the only thing to do is plug the USB in and put the ISO and IMG files into the USB, I hope this has helped you!

    -
    -
      Back
    +        
    +
      Back
         
    -- cgit v1.2.3