kernelUpdateScript
README.md

kernelUpdateScript.sh

Jarod Morris

Fall 2020

Description

Installs current linux stable kernel source code onto Redhat EC2 instance

Specifications

-g
    git clone kernel for download
-v
    display current stable kernel version
-h
    display list of options
-D Subdir
    downloads kernel source into give subdirectory

Examples

./kernelUpdateScript.sh -v : Displays version

./kernelUpdateScript.sh -g -D /src/2020/install : install kernel using git to spec dir

./kernelUpdateScript.sh -v -h : Displays help

./kernelUpdateScript.sh -D /src/test : installs kernel using wget into directory

./kernelUpdateScript.sh -g : installs kernel to default dir using git

nohup bash ./kernelUpdateScript.sh 2>nohup.err & : use nohup to avoid timeouts