LinuxQuestions.org
Help answer threads with 0 replies.
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: 125

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
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,644

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,056

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

Rep: Reputation: 60
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 Contrapak; 06-10-2020 at 04:16 PM.
 
Old 06-10-2020, 01:19 PM   #5
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

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,056

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12 04-25-2019 07:33 AM
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 06:15 PM.

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