Bash and the Terminal - beginner friendly intro for new Linux users
ฝัง
- เผยแพร่เมื่อ 21 พ.ย. 2024
- Part 2: • Using Bash and the Ter...
Then this video is for you - an introduction to navigating the terminal and the Bash shell, friendly to completely new users to any unix-like system, whether you are on mac, freeBSD, or your new Arch Linux install.
We'll be navigating directories, creating files, learning what a pipe does, grepping, editing our ~/.bashrc, and more!
Part 2 video with more commands coming soon. As always if anything is unclear or incorrect, call me out in the comments :^)
This was very practical, well paced, calling attention to failure prevention. All in all you are a very good advovate for the cause and mentoring newcomers.Even your non-sopran voice help keeping myself on the track.
Thank you! I appreciate the comment :-)
Thank you so much really helpful. Amazing how you structured all the info!!
No problem! :-)
Here's my bash prompt if you wish to use it, since having a cool green prompt will give you far more l33t skillz than just learning commands :))
export PS1="\[\e[38;5;34m\]\u\[\e[38;5;40m\] ›\[\e[38;5;46m\] \[\e[38;5;154m\]\w \[\033[0m\]$ "
lol
Really random question but did you type the ~ key without using the shift modifier at 1:30? If so whats the secret? It would make working on a linux machine so much nicer xD
Great videos been watching since your arch linux install vids!!
I don't have that bound atm but I would try remapping that key (or any other) with xbindkeys to execute " xdotool type '~' "
Depending on what you're using there might be a couple other ways to do it as well, if you wanted to you could even set up a custom kb layout.
Thanks so much, I really appreciate it! :^)
thanks this was pretty helpful. ive been using ubuntu and popos and i want to move to arch but i dont know commands very well yet.
No prob! Awesome, I did also make a new-user guide to installing Arch so that might help you out.
Thank you for this.
You're welcome - thank you for watching!
Hello, awesome channel.
Can I ask You a couple of questions?
I want to install ArchCraft. I want to swap from Windows.
- Is Arch secure operating system if I need Privacy and Security?
- Is there any commands I should go through after installation other than: "sudo pacman -Syyu"?
- Could You do video about Firewall Settings and Ports. Some kind of guide how to gain maximum security, and how to set it up to close all the ports that are not needed :)
Thanks! :) All the best :)
Hello, thank you!
For a privacy and security focused Arch installation I would recommend using LUKS and dm-crypt to encrypt your system. You would do this as part of the installation process. Arch is very secure if managed properly, as you've said updating regularly will help keep it secure. The Arch wiki has a great article about best practices for maintaining a secure system - wiki.archlinux.org/title/Security
For firewalls, you can use either iptables or nftables; there are many frontend options but some common choices would be firewalld or ufw. You can use the ss utility (similar to netstat) to view ports, so ss -tl for checking open ports. You can then disable unneeded ports, for example with ufw, sudo ufw deny port#.
Hope that helps you out, and likewise all the best :)
@@BreadOnPenguins Yes, thank You!
informative thanks
No prob - thanks for watching!
@@BreadOnPenguinsNo prob - thanks for uploading
Can you rice Linux a virtual box ?
I'll make a video about ricing/customization soon! Ricing Linux in a virtualbox works the same as it does in a non-VM environment. Thanks so much for watching.
Why use "ls ... | grep bird" instead of "ls -d *bird*"?
It is not useful to start a new(!) bash instance in order to "activate" changes to the start-up files. The correct way is to source the files (again): "source ~/.bashrc" or shorter ". ~/.bashrc"
If you want to type several commands into the same command line without considering the success or failure of the previous command then you do not use a single "&" as separator as this puts the command before it in the background. The simple concatenation of commands is done with the separator ";".
Thanks for commenting with corrections, I appreciate it. As for grep, I figured it more worthwhile to demonstrate an additional tool.
@@BreadOnPenguins That may be the best educational approach but I guess it would be helpful to mention that. Or even to show both as it just takes a few seconds.