Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 3.8 KB

README.md

File metadata and controls

81 lines (61 loc) · 3.8 KB

unixgadged

Author : Atmatsidis Giwrgos https://github.com/GiwrgosAtmatsidis
Contributors : Salih Emin https://github.com/cerebrux

Released On : Friday 04 September 2015

Version : 1.0.1 current version doesn't have a graphic environment. The navigation is from terminal

           Τhis script helps you do following with a menu of choices:

      1. Updating - Upgrading
      2. I want to clean the system and also clean the old cores
      3. I have a problem then i run those commands on Terminal 'apt-get update' && 'apt-get upgrade'
      4. I want to see the details of my system
      5. I want to see what is the model of the video card and which driver (driver) uses
      6. I want to see information about the network card and driver (driver) that is used
      7. I want to see how much GB has written the disc (Useful for hard disks (eg SSD)"
      8. I want to see the number of packets as well as libraries - dependencies of system installed
      9. I want to see the processor CPU information"     
      10. I want to see the information of RAM and view the size of memory in gigabyte and viewing Swap in use
      11. I want to see the partitions on my disk for Ubuntu 'swap, home, boot etc; and the space used  
      12. I want to see the information of pci / usb / audio / system drivers devices 
      13. View of TCP / UDP ports
      14. Show services (services) Computer
      15. I want to find a file/s and the folder where is are
      16. I want to see what programs are running at the moment and their dependencies 

Description

This program was created to try, with a friendly menu, to automate all important commands for all Ubuntu users.

All logfille's from command's will be saved separately. BEWARE that the logfilles of script are overwritten every time you run and appear ONLY if you select the correct selection. So if you want to compare the logfiles before you run the same command, please backup the old one.

Also for better navigation maximize your terminal!! You can use the F11 hotkey.

How to use it

Download the script from:

Then unzip the folder. Open a terminal and cd into the unziped folder. Then you must make executable the script unixgadged.bash and run it from Terminal e.g.:

chmod +x unixgadged.bash

Then you can run it by invoking:

./unixgadged.bash

Dependencies

This script was created and tested on Ubuntu operating system. I can't any promise that it will operate safely on other operating systems such as Debian.

Using crontab

Open terminal and type

crontab -l

Select your editor. Copy&paste the following to make your updater run every week.

@weekly and the fullpath from your UpdateCleanLinux.bash file

Save and close the editor.

TIP: Crontab wont ask you the sudo password. Since the script Require SUDO Permissions we need to overide. Copy and paste the following line in the /etc/sudoers file (sudo nano /etc/sudoers)

*Your_User_Name* ALL=(root) NOPASSWD: Paste the fullpath of your UpdateCleanLinux.bash file

*you can get your username via terminal usign echo $USER command

Copyright

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.