Skip to content

andreak3779/awk_linux_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awk_linux_scripts

My handy linux scripts

I wrote them to make it easier for me to update my linux (zorin OS) machine from the terminal.

Scripts:

  • showhardware.sh: Displays detailed hardware information, including:
    • System information
    • Hardware details (bus info)
    • BIOS and system enclosure information
    • CPU information
    • Memory usage
  • checkforupdates.sh: Updates the system by:
    • Running apt update and apt upgrade to update and upgrade packages
    • Cleaning up unused packages with apt autoclean and apt autoremove
    • Refreshing Snap packages (if Snap is installed)
    • Upgrading Flatpak packages (if Flatpak is installed)

Setup:

  1. Extract files from the zip file.
  2. Open a terminal.
  3. Create a directory for the scripts:
    mkdir -p ~/scripts
  4. Move the extracted files into ~/scripts:
    mv /path/to/extracted/files/* ~/scripts
  5. Make the scripts executable:
    chmod og+x ~/scripts/*.sh
  6. Add the scripts directory to your PATH:
    echo 'export PATH=~/scripts:$PATH' >> ~/.bash_profile
  7. Reload your shell configuration:
    source ~/.bash_profile

About

My handy linux scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages