LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Gentoo Upgrade Script

Posted 07-27-2017 at 08:00 PM by lazydog
Updated 08-23-2017 at 03:41 PM by lazydog

This is a script I put together to update my system. I know a lot of people like to run a script and it do everything but I like to get user input to ensure the next step you really want to complete.

I'm sure there are easier way of doing some of the things and I have built in precautions to hopefully keep you from making a mistake.


I've made some minor adjustments to the script by adding color and looking for input to be one or the other.
Here is the...
Senior Member
Posted in Uncategorized
Views 2523 Comments 0 lazydog is offline
Old

Interactive script to update gentoo install

Posted 06-28-2017 at 09:43 AM by lazydog

#/bin/bash

read -p 'Update the Portage Tree? ' tree

if [ "$tree" == "y" ]
then
echo '*******************************'
echo '*******************************'
echo '**'
echo '** UPDATING PORTAGE TREE'
echo '**'
echo '*******************************'
echo '*******************************'
echo
echo
eix-sync && \
echo
echo
fi
...
Senior Member
Posted in Uncategorized
Views 1979 Comments 0 lazydog is offline
Old
Rating: 2 votes, 4.50 average.

My Aliases used on a daily basis

Posted 06-30-2016 at 01:57 PM by lazydog

Here is a list of Aliases I use on a daily basis, some more then others. For machines I do not have a home directory I carry a small usb stick that I then source them from.

For systems I have a home directory on I source them from bashrc as follows:

Code:
# Common Aliases
if [ -e ~/.alias ]; then
         source ~/.alias
fi
Alias List:
Code:
#######################################################
...
Senior Member
Posted in Uncategorized
Views 2888 Comments 1 lazydog is offline

  



All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration