Тёмный

Linux Commands for Beginners 07 - The Bash Configuration File 

Learn Linux TV
Подписаться 747 тыс.
Просмотров 51 тыс.
50% 1

Опубликовано:

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@atheron121
@atheron121 5 лет назад
the alias did not work until I sourced my .bashrc file after the changes, i.e. typed ". ~/.bashrc" and hit Enter. After that, the "c" cleared the screen. Before I sourced the .bashrc I was getting an error that c command was not found. Just sharing my experience, in case anyone else runs into the same issue.
@linchiyeh9554
@linchiyeh9554 5 лет назад
I encounter the same problem, all you need to do is to restart command prompt after making changes
@faisalak7
@faisalak7 4 года назад
or create and alias as Jay had - alias reload="source ~/.bashrc"
@mohamedabdallah-pe7uk
@mohamedabdallah-pe7uk 4 года назад
lol used the old method shutdown or restart your operating systm
@Antr342
@Antr342 4 года назад
I think you need to have permissions. I just did a "sudo bash" comand. and it worked
@elma.177
@elma.177 3 года назад
OOOUUUHHH THANKS I JUST DID IT AND GOT THE ERROR, WHAT WORKED FOR ME WAS JUST EXIT THE TERMINAL AND RE OPENING IT
@abeljoshua4228
@abeljoshua4228 2 года назад
I have seen some deveopers especially make configurations in "bash" file but didn't understand what they were doing until I watched this video. Thank you Linux TV
@draulmdl14
@draulmdl14 2 года назад
If the alias doesn't work, just restart the terminal. It worked for me and some others here.
@dextertabunon5610
@dextertabunon5610 Год назад
thought mine was broken lol
@hunterbrooks826
@hunterbrooks826 3 года назад
I think a tutorial on the unicorn prompt is called for.
@maurolimaok
@maurolimaok Год назад
I did have to restart the terminal to make the alias "C" work.
@natem7440
@natem7440 3 года назад
lots rave about zsh or fish - but interesting you use and teach bash. somehow i find that comforting. Maybe because there is enough to learn without worrying about missing out in another shell.
@brianhupp4124
@brianhupp4124 2 года назад
Great series Jay. I'm sure someone already pointed this out, but the alias created for 'clear' at the end of this video won't work until the shell is restarted, and re-reads the .bash.rc file. This might confuse folks. I'm sure there's a better way to restart bash, but I did it by closing my terminal window and opening another one. Speaking of which, perhaps you might consider mentioning how to open terminal in one of the earlier videos in the series.
@burgek1
@burgek1 11 месяцев назад
yes I ran . ~/.bashrc
@mikehaldane4061
@mikehaldane4061 3 года назад
Brilliant, went away after watching this excellent vlog and did a bit of work using a PS1 Generator and mucked around with it and I too have my own prompt.
@migiel111
@migiel111 8 месяцев назад
For those on Manjaro and wondering why it isn't working after you start a new terminal. Manjaro uses zsh and not bash in the terminal. You need to edit the .zshrc file, also located in you home folder. After editing you use "source .zshrc" or close and open a new terminal. Took me a while before realizing my terminal uses zsh by default and not bash. I does say so at the top of the terminal (e.g. zsh ---- Konsole).
@IsaacCallison
@IsaacCallison 5 лет назад
"I name all of my laptops after FFVI espers..." How can something be simultaneously so nerdy and yet so very cool?
@LearnLinuxTV
@LearnLinuxTV 5 лет назад
FFVI makes everything cool.
@WhoaItsSam
@WhoaItsSam 5 лет назад
I nerded out when he said that. Lol. My machines are also named after things from FF. Shiva, Carbuncle, Tonberry, and Ragnarok are all names I've used, and I have other ones planned for future machines :-)
@ayporos
@ayporos 2 года назад
@@WhoaItsSam I'm not familiar with carbuncle or tonberry, but Shiva and Ragnarok are definitely not 'original' names that square enix came up with. ;) (coincidentally my server node is called Magrathea :) )
@thaidoan868
@thaidoan868 5 месяцев назад
"This is the result of finding different things." Configuration files are more important than linux users' life
@luigir2459
@luigir2459 3 года назад
I restarted my command terminal and it worked after that FYI for people have an issue
@shivambhatnagar9473
@shivambhatnagar9473 3 года назад
thanks mate, worked on mine
@Erock1985x
@Erock1985x Год назад
hahah FF6 is definitely the best FF other than FFT, but great videos much appreciated had to tighten up on some of my linux basics
@davidweaver70
@davidweaver70 4 года назад
It pays to read all comments first lol using " 'alial=c' " then restarting terminal after saving worked. Just a real newb here trying to learn.
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 2 года назад
Nice video, thanks. Have you done a video explaining the difference between login/ non login shells?
@therealboomhower9209
@therealboomhower9209 2 месяца назад
for the alias i needed to reboot im using ubuntu 20.xx lts server
@amitavadg
@amitavadg 22 дня назад
You could simply have run either of these two commands:"source. bashrc" or "exec bash". Both would have reloaded the . bashrc file.
@therealboomhower9209
@therealboomhower9209 21 день назад
@@amitavadg oh ill have to try that
@Ax4400
@Ax4400 Год назад
how do I setup that matrix screen saver behind you?
@Gandalfbaws
@Gandalfbaws 3 года назад
where can io get the backgeound u have (the green stuff falling down on ur tv )
@cyberx0
@cyberx0 3 года назад
install matrix {sudo apt install matrix } then run matrix {matrix} . maybe it will help
@davidweaver70
@davidweaver70 4 года назад
Doesn't seem to work in Linux Mint 2 just released even using the "sourced" command all I get is command not found and .~/.bashrc or bash: !/.bashrc: event not found.
@stevegrey8975
@stevegrey8975 10 месяцев назад
yeah did notwork for me also don't know how to move full lines like you did to give space for alias c=clear maybe that's why it did not work for me?
@aurelinosegundo4056
@aurelinosegundo4056 4 года назад
Type alias c=''clear' in 9:07....Thanks me later
@Daniel-ux2kl
@Daniel-ux2kl 5 лет назад
the same thing happened to me, but I'm not sure how to fix it
@TewodrosBaye1
@TewodrosBaye1 Год назад
What if "nano" command doesn't work on my shell? What should I do?
@Xenotypic
@Xenotypic Год назад
install it with your package manager (provided you haven't already figured this out.)
@haroonstutorials
@haroonstutorials 4 года назад
Hi I am using Linux mint 19.3 My terminal and menubar is disappeared Do u have any solution
@josegeraldlumbao7620
@josegeraldlumbao7620 4 года назад
Ctrl + alt + T to open a terminal and to restore your taskbar panel use this command: gsettings reset-recursively org.cinnamon
@haroonstutorials
@haroonstutorials 4 года назад
@@josegeraldlumbao7620 thanks
@thebills34
@thebills34 Месяц назад
alias c='clear' then enter press, this much
@Alpha_Sadigh
@Alpha_Sadigh Год назад
☯🙏
@faisalak7
@faisalak7 4 года назад
this site is not working ubuntuserverbook.com
Далее
Linux Commands for Beginners 08 - Command Aliases
11:47
Let's Share Our Favorite Bash Aliases
16:28
Просмотров 31 тыс.
AWAKENED THE UNKNOWN
00:17
Просмотров 1,8 млн
Linux Commands for Beginners 05 - Basic File Editing
15:53
60 Linux Commands you NEED to know (in 10 minutes)
10:50
BASH scripting will change your life
14:18
Просмотров 1 млн
Beginner's Guide to the Bash Terminal
1:14:37
Просмотров 2,3 млн
Make Your Bash Termianl Strong and Sexy with .bashrc
10:45