LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-10-2020, 08:48 AM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Rep: Reputation: Disabled
I found some Bash script/programming on the web and wanted to know if it was OK to use


They say you should never blindly use code found on the web, so I thought I'd run it by you first.

https://www.techinfected.net/2015/08...inux-mint.html

It turns out (finally) that I wound up buying a 240GB nVME "stick" for lack of a better word...Hence, the question...

Thanks for all your help.
 
Old 06-10-2020, 08:57 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
That's just changing the default O/S, it's OK, (you'll need sudo or to be root).

Tip: When altering any system file, create a back up copy, before altering it.

Last edited by fatmac; 06-10-2020 at 09:00 AM.
 
1 members found this post helpful.
Old 06-10-2020, 11:49 AM   #3
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,863
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Exactly what is the "script or programming" you found?
 
Old 06-10-2020, 01:15 PM   #4
WideOpenSkies
Member
 
Registered: May 2019
Location: /home/
Distribution: Arch Linux
Posts: 166

Rep: Reputation: 61
Quote:
Originally Posted by NevemTeve View Post
Exactly what is the "script or programming" you found?
He means some bash code. It's in the link.

Last edited by WideOpenSkies; 06-10-2020 at 04:16 PM.
 
Old 06-10-2020, 01:19 PM   #5
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
That's just changing the default O/S, it's OK, (you'll need sudo or to be root).

Tip: When altering any system file, create a back up copy, before altering it.
Thanks for helping a novice out. I appreciate it....I'll look into backing up my linux drive. Thanks for the tip.

Pen guin
 
Old 06-10-2020, 01:23 PM   #6
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,863
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Couldn't find any script or program, but here is a simple 'trick': you don't have to enter 'sudo' multiple time, only once:
old:
Code:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
new:
Code:
sudo bash
add-apt-repository ppa:danielrichter2007/grub-customizer
apt-get update
apt-get install grub-customizer
exit
(The final 'exit' can be replaced with 'Ctrl+D'

Last edited by NevemTeve; 06-10-2020 at 01:24 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
How to get some bash scripts into a simple bash script with some echo and if statement. y0_gesh Programming 3 03-01-2012 09:46 AM
LXer: Everything You Always Wanted to Know About FRAND (But didnâ??t know who to ask) LXer Syndicated Linux News 0 02-21-2012 11:50 AM
Java and Web pages ; Why do some use it and some don't? theKbStockpiler General 21 07-18-2011 05:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:42 AM.

Main Menu
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