LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Gentoo Upgrade Script

Posted 07-27-2017 at 09:00 PM by lazydog
Updated 08-23-2017 at 04: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 888 Comments 0 lazydog is offline
Old

Interactive script to update gentoo install

Posted 06-28-2017 at 10: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 358 Comments 0 lazydog is offline
Old
Rating: 2 votes, 4.50 average.

My Aliases used on a daily basis

Posted 06-30-2016 at 02: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 990 Comments 1 lazydog is offline

  



All times are GMT -5. The time now is 03:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration