Page 1 of 1 [ 10 posts ] 

enz
Veteran
Veteran

Joined: 26 Sep 2015
Gender: Male
Posts: 1,067

21 Oct 2020, 3:44 am

I want to learn bash and how to customise Linux but I’m at level 0. How should I start?



DeepHour
Veteran
Veteran

User avatar

Joined: 1 Jun 2014
Gender: Male
Posts: 78,192
Location: United Kingdom

25 Oct 2020, 3:17 pm

Not sure. I've been using Linux on and off for about five years, but I've never got very far with the terminal. I can do a handful of basic procedures, like apt-get, the 'tar' commands, a bit of 'dd', inxi stuff, and so on, but not much more. I even struggle with some of that if I haven't used it for a while.

Thing is, I almost exclusively use the more accessible Debian-based distros like MX, Antix, LXLE, Q4OS and Mint, where you can get by easily enough without the terminal. I suppose if you used distros like Arch and Gentoo, you wouldn't be able to do that. Maybe the answer is to use those types of OS and be forced to 'sink or swim'?


_________________
On a mountain range
I'm Doctor Strange


starkid
Veteran
Veteran

User avatar

Joined: 9 Feb 2012
Gender: Female
Posts: 5,812
Location: California Bay Area

29 Oct 2020, 6:49 pm

enz wrote:
I want to learn bash and how to customise Linux but I’m at level 0. How should I start?

Search online for a bash tutorial.



starkid
Veteran
Veteran

User avatar

Joined: 9 Feb 2012
Gender: Female
Posts: 5,812
Location: California Bay Area

29 Oct 2020, 6:56 pm

DeepHour wrote:
I suppose if you used distros like Arch and Gentoo, you wouldn't be able to do that. Maybe the answer is to use those types of OS and be forced to 'sink or swim'?

This is not a good idea. A person who is unfamiliar with the terminal would not be able to even install Arch, let alone work with it.

I'm fairly certain that basic Arch comes with no GUI (nor network connection software), so there would be nothing but a bash terminal interface for anyone who managed to get it installed. Such a new user would have to figure out how to install and configure everything from scratch, without even having a browser for looking things up nor network access to connect the browser. I have an Arch-based OS and I've done this multiple times; it's a long, tedious, frustrating process, even with experience.



zacb
Veteran
Veteran

User avatar

Joined: 7 May 2012
Age: 29
Gender: Male
Posts: 1,158

30 Oct 2020, 10:05 pm

Do realize to customize linux you don't need bash per se. You could try Python or C, although C is overkill in most cases.



starkid
Veteran
Veteran

User avatar

Joined: 9 Feb 2012
Gender: Female
Posts: 5,812
Location: California Bay Area

31 Oct 2020, 12:19 am

I thought OP was talking about the bash shell, which is also called a terminal. Poster above me is talking about the bash scripting language.

OP needs to clarify the question.



zacb
Veteran
Veteran

User avatar

Joined: 7 May 2012
Age: 29
Gender: Male
Posts: 1,158

01 Nov 2020, 3:14 am

starkid wrote:
I thought OP was talking about the bash shell, which is also called a terminal. Poster above me is talking about the bash scripting language.

OP needs to clarify the question.


Did not think about that thank you! To harp on that, you don't need the console per se (I use Ubuntu and use apt-get or Google the rest that I need).



TatjanaErika
Tufted Titmouse
Tufted Titmouse

Joined: 16 Jun 2020
Age: 23
Gender: Female
Posts: 27
Location: Serbia

06 Nov 2020, 10:42 am

This tutorial has been very helpful to me :)
https://www.youtube.com/playlist?list=P ... QusbZgO_As



EnglishInvader
Veteran
Veteran

User avatar

Joined: 14 Sep 2009
Age: 42
Gender: Male
Posts: 1,012
Location: Hertfordshire, UK

09 Nov 2020, 6:41 pm

I've been using Linux as my main desktop for 6 years (mainly Mint) and I've always approached it on a problem-solution basis; I have something I want to do and I figure out how to do it. I haven't consciously tried to learn terminal commands or become a "power user". I just learn what I need to know as and when it comes up.



Mikah
Veteran
Veteran

User avatar

Joined: 23 Oct 2015
Age: 36
Posts: 3,201
Location: England

10 Nov 2020, 9:18 pm

Give this a try
https://www.codecademy.com/learn/learn-the-command-line

and its followup

https://www.codecademy.com/learn/bash-scripting

I haven't done them myself but they look like a nice intro.

If you're really, really interested in bash scripting, there is always this monster waiting for you https://tldp.org/LDP/abs/html/index.html


_________________
Behold! we are not bound for ever to the circles of the world, and beyond them is more than memory, Farewell!