Is this the computer nerd version of what's in my purse?
@LukeSmithxyz5 жыл бұрын
You're thinking of EDC.
@p_serdiuk5 жыл бұрын
@@LukeSmithxyz Every Day Computing.
@alexisalaric69413 жыл бұрын
@August Nicholas I watch on Flixzone. You can find it on google :)
@alexisalaric69413 жыл бұрын
@August Nicholas glad I could help =)
@sbarrett005 жыл бұрын
Hey Luke, I really appreciate how you target these videos to everyone from beginners to advanced users. Your videos are very approachable and I always learn something new.
@showyouathingortwo5 жыл бұрын
Happy birthday luke
@peterjansen48265 жыл бұрын
I didn't know about that. I hope you have got a good day, Luke.
@marcussVRLinux5 жыл бұрын
For those who are wondering: /etc = Et cetera (latin for "and the rest") - so "etsy" would be a correct pronounciation /usr = UNIX System Resources (and not "user"... that's what your home directory is for)
@vison3605 жыл бұрын
isn't /etc => edit to configure?
@marcussVRLinux5 жыл бұрын
@@vison360 Dennis Ritchie, the inventor of Unix itself, confirmed it to be et cetera (etc)
@DizzyCsango5 жыл бұрын
You’re assuming the Romans spoke Latin the way G̶e̶o̶r̶g̶e̶ ̶W̶ ̶B̶u̶s̶h̶ an American speaks Spanish. In that case ‘et cetera’ would be pronounced et seetuhray. Thing is, nobody really knows how the Romans pronounced their Latin (liturgical Latin b.t.w. Is not the same), although it’s generally assumed the c would have been hard (like in cat); e.g kaisar (caesar). But hey, since nobody really knows I guess anything goes eh...
@user-tu5sk5km3l5 жыл бұрын
you blew my mind with /usr
@qillerdaemon93315 жыл бұрын
No, /usr really meant user home directories and user resources in original old UNIX Sys3 and SysV file systems, it is short for "user" as it was the directory of users. Only later did /home or /users become the default directory for user home directories. I dealt in SysV on a 3B2/600 and early Xenix systems before Linus ever did his thing, they all defaulted to /usr for user home directories.
@silasandrews76555 жыл бұрын
17:53 Run this and see what happens Famous last words
@tttakkkumi2 ай бұрын
What does ir do
@dimav235 жыл бұрын
Luke, recommend to try bat. And a tip for your alias: try to figur out how to antialias a command after hit space like in zsh. Its better for your history 🤓
@integralyogin5 жыл бұрын
was surprised to see such a small .bashrc, I really thought it was going to be +1000 lines. I have a terrible memory so I prefer having all my favorite aliases in there and then just running a search bash alias [sb] if I forget.
@dhiegov5 жыл бұрын
He has a separate .shortcuts for cd'ing, mv'ing and cp'ing to dirs, maybe that's why the main one is so short
@lawrencedoliveiro91045 жыл бұрын
0:56 Just a note that bashrc is only automatically invoked by non-login shells, so it’s either-or: either the new shell will run the profile, or the rc, not both. I find this annoying, so the best thing perhaps is to have the profile do little or nothing apart from automatically sourcing the rc, so you get the same definitions available either way.
@valentjedi5 жыл бұрын
Carpenter Brut confirmed
@AdmiralMaur4 жыл бұрын
Loving the nonchalant way you explained the starwars alias :)
@Yaxqb5 жыл бұрын
Pretty much all of the aesthetic hacks in his bashrc is built into fish shell. U get some really sexy command completion there as well by default. I don't think I've tweaked my fish config one line other than the login script and color scheme, which really speaks for the sensible defaults that fish has
@superspectator1235 жыл бұрын
I took two nice aliases from this video. Thank you.
@hegjon5 жыл бұрын
Thanks, btw for highlighting this works with files like .bashrc: alias pcat='pygmentize -f terminal -O style=native -g'
@lawrencedoliveiro91045 жыл бұрын
2:48 Why is your personal scripts folder hidden (having a name beginning with a dot)?
@ChillerDragon4 жыл бұрын
7:50 haha nice! I got confused so many times when running sudo commands because it used /root
@pierresmith3 жыл бұрын
Hi. Just checking your video now (From France !!) and I'm interested in your .profile file. Do you ahev a git with it ? Can you source things that are common to all the shells ? (like aliases, exports, prompts ?)
@desktorp5 жыл бұрын
referring to /etc as etsy really triggers me
@ltxr99735 жыл бұрын
And I can't stop saying it like that since i've heard it the first time
@LukeSmithxyz5 жыл бұрын
Yeah I have no clue why people pronounce it like that, but I eventually gave in.
@8-bit5135 жыл бұрын
#metoo
@ionlyplaynude5 жыл бұрын
is it short for "et cetera" or does it mean something else?
@desktorp5 жыл бұрын
@burbon /usr does actually mean 'user' though
@charliebrownau5 жыл бұрын
Will you be moving to GitLab from Hithub ?
@finnianquail88813 жыл бұрын
both suck lmao >gitlab is amazon trash >github is M$
@lawrencedoliveiro91045 жыл бұрын
6:08 zsh is the default shell in SystemRescueCD, and I discovered that it has one irritating habit: stripping off the trailing ”/” from a directory name *after you have typed it.* This causes problems when trying to do an rsync, since the behaviour is slightly different depending on whether the source directory ends with a “/” or not.
@Mankepanke5 жыл бұрын
Then you probably turned that option on without realizing when you copied someone's ZSH config. (Been there, done that) I use ZSH and I don't have this issue. The closest would be that when autocompleteting it will render a trailing slash that isn't there and is removed of you press space or something rather than typing it out yourself first. But you said that you wrote it and it's still stripped off.
@lawrencedoliveiro91045 жыл бұрын
This was running straight off the SystemRescueCD image, so I couldn’t have set any options if I wanted to.
@Mankepanke5 жыл бұрын
Wow, that is weird. I wonder if the distro changed options in /etc.
@hanspetervollhorst15 жыл бұрын
Does it not bring trouble using /home/luke as home directory for root? If you create files, they are owned by root:root which you cannot conveniently move/ delete without another step. Or do you have a smart workaround for that?
@StrangeIndeed4 жыл бұрын
15:26 TIL that you can use youtube-dl to download all of the channel's video's in a single command
@jerodburnett64225 жыл бұрын
"some kshrc recommendations and what I use" video coming soon
@katzda4 жыл бұрын
Oh wow, i'm learning so much.. But i'll have to rewatch one day but its very useful :-)
@thedanmethenyshow.60043 жыл бұрын
I'm glad I decided to watch this video. I've talked about it a couple of videos back but this gives me some great ideas for things.
@MuhammadbinYusrat4 жыл бұрын
Hi, I am a Linux noob, I don't understand which type of terminal are you using? How do you quickly open new windows nicely docked in their place? Also these terminals seem to be borderless? How can I get these? Please tell me.
@TdTSimonBE5 жыл бұрын
Of course fish has real abbreviations instead of aliases, so you can edit the command on the fly. Another bash problem solved.
@vison3605 жыл бұрын
Biggest advantage of fish is it's directory structure. You can create truly modular configs and symlink them with GNU Stow
@leotaku52165 жыл бұрын
Daniel Lewan: How is that not possible with bash/zsh?
@vison3605 жыл бұрын
@@leotaku5216 of course you can, but you have it by default in Fish. Simply better design.
@djtaro61734 жыл бұрын
@@vison360 What is the value of that?
@oddbob62305 жыл бұрын
What does the "rc" stand for? Run crippled?
@alcesmir5 жыл бұрын
I think it's runcom, for some obscure historical reasons. You might have some luck consulting the jargon file for this.
@oddbob62305 жыл бұрын
Really cool. Thanks.
@gz66165 жыл бұрын
rc -> really cool
@lemurza52365 жыл бұрын
Do you have a list of all your recommended daily programs you use in the terminal?
@dmknght89465 жыл бұрын
alias back="cd $OLDPWD". i think it is useful :D
@CoreyTL3 жыл бұрын
ik this is two years ago, but "cd .." exists
@brickcausingunexpired3 жыл бұрын
@@CoreyTL hi! "cd .." goes to the parent directory, that's not always the previous one. "cd -" does it.
@Stevos-Corner5 жыл бұрын
Hi Luke was wondering if your still running Void Linux on one of your laptops. I watched your video on it and was thinking of giving it a try. I'm a long time Gentoo user who switched to Arch about a year ago and wanted to try something else without systemd.
@albu2b13 жыл бұрын
I cannot thank you enough although still tied to awesome instead of dwm but tthanks a million really appreciate what you doing
@Marcosvinicius-im2jt5 жыл бұрын
About the root home i think that when you need to recovery your system using runlevel 1 your home is gone.
@rhwinner2 жыл бұрын
Very helpful. Keep 'em coming! :0
@code88604 жыл бұрын
What is the notifications program are you using? Thanks!
@jlaviews5 жыл бұрын
what keyboard do you use? is it mech?
@connie_d5 жыл бұрын
Love this vid. Why is your scripts directory hidden?
@earjack46105 жыл бұрын
why do you have the awk toupper thing in your bashrc? you could probably just use ${variable^^} to get an uppercase version of whatevr is in the var
@tubejim1012 жыл бұрын
If I make a change to my .bashrc. Can I just ~$./bashrc to reload it? Or do I have to logout and log back in?
@niclasa31355 жыл бұрын
Great video, and thanks for sharing it with us. Do your dotfiles work for Ubuntu or only Arch Linux?
@dhiegov5 жыл бұрын
Yes, as long as 1. the two distros use the same commands to be aliased: for example, in Ubuntu the install command is `sudo apt-get install`, in Arch is something like `sudo pacman -S[something else I don't know because I don't use Arch] 2. and also the same config configuration in things different distros can have different, like use /sbin to separate super user binaries or just /bin for every binary (probably they won't change THIS, but some other maybe confusing scheme in these not-children-of-home folders). But this should be counter-compatible as long as you're not messing (or even care) about this sort of folders
@tc403905 жыл бұрын
Luke I'm using your neomutt wizard and whenever gnupg timesout I have to re enter my password manually each time to get a notification regarding new mails. Is there anyway to fix this behaviour?
@prakash.vishwakarma4 жыл бұрын
What shortcut do you use to increase font size on the go? I meant to ask this in reference to LARBS.
@baikerolomero5444 жыл бұрын
Try Control and + on the numeric keypad
@MeanMisterMustard4 жыл бұрын
I alias 'pacget' to 'sudo pacman -S' and 'pacupgrade' to 'sudo pacman -Syyu'. And 'pacs' to 'pacman -Ss'. Does that make me a noob? I also know the actual commands. And how to navigate the man page quickly when necessary..
@TzLTriiCkzZ5 жыл бұрын
Not watched this video fully yet but one of the main reasons I use oh-my-zsh is so I can use the arrow blocky things that are in some of the themes. And I changed it so that if I'm root then it changes the background color of a couple of different blocks. One thing I'm not a huge fan of about The omz is because I have a lot of the additional blocks. There's is a delay when it builds the PS1. Also I have battery life information on there because it builds the PS1 after each command if I haven't run a command in a while it will show the wrong batter information.
@serotonin40115 жыл бұрын
What os do you use, i dont think i ask.
@pushqrdx2 жыл бұрын
and i thought you have the ctrl-s thing to fix incremental search :D
@alexortiz10a5 жыл бұрын
Hi Luke, Do you prefer bash or zsh? and can you explain the reason of you selection. Thank you!
@rexevan67145 жыл бұрын
I think back then he chose bash over zsh because bash comes as default.
@chunchunmaru27604 жыл бұрын
mfw the only thing I ever put in mine is cat for a text file with an ascii image.
@gehx5 жыл бұрын
The .bashrc on LukeSmithxyz/voidrice github is only 8 lines? What am I missing?
@yellowflashgaming92374 жыл бұрын
really .. icant get that too .. i think he changed
@igneous_flock5 жыл бұрын
Regarding your syntax highlighting, you should checkout sharkdp's bat. It's a clone of cat that implements syntax highlighting as well as git diffs. It's written in rust.
@scotthamilton2285 жыл бұрын
Isn't the link to same profile hack a bad idea? It must be run several times at boot no?
@DiersakZelesnik5 жыл бұрын
Is KZfaq-viewer just mps-youtube with a different name or is it a entirely different package?
@cesarbrun42165 жыл бұрын
it's different, check your package manager
@DonEdward4 жыл бұрын
I cant read the operand character in the ttymaps file. (And lukesmith.xyz doesnt seem to show bashrc anymore) Is it '=' or '-' ?
@serotonin40115 жыл бұрын
What os do you use
@p_serdiuk5 жыл бұрын
You should be able to use su with your /home dotfiles. Here's the option: -m, -p, --preserve-environment Preserve the entire environment, i.e. it does not set HOME, SHELL, USER nor LOGNAME. This option is ignored if the option --login is specified.
@naumanafsar30535 жыл бұрын
Does anyone know how he switches between the terminal? and how the terminal resize itself when he close one?
@petewest31225 жыл бұрын
Check out his i3 videos
@jeandelinux2595 жыл бұрын
All the channel is about that
@naumanafsar30535 жыл бұрын
Thanks man, it's really cool!
@naumanafsar30535 жыл бұрын
I came here from a facebook post, and i am loving it! it's awesome!
@finndriver10635 жыл бұрын
My favourite evil thing to put in someone's profile or bashrc is `yes >> .bashrc' It's not usually destructive, just quite funny, and it looks quite unassuming
@Fabiuja3 жыл бұрын
From 7:55 why u say is not safe? That trick blow my mind i want to use it.
@G183954 жыл бұрын
Before this video I was creating a new shell script every time in /usr/bin instead of using alias. I'm a noob lol.
@orochinagi43582 жыл бұрын
How do you tile windows like that?
@peterjansen48265 жыл бұрын
I thought that Luke runs Parabola (Arch-based) but he uses apt-get (Debian, Ubuntu)? Did he hop or did he install apt-get on his Parabola?
@crwmike05 жыл бұрын
He just entered those lines for reference, and then deleted those lines. He ran pacman earlier in the video.
@PabloBianchiOK4 жыл бұрын
I'm pretty sure it was in this channel I learn about a useful command to watch a file/folder and do something else upon any change. I can't remember that command. I think it was three letters... Couldn't found on duckduckgo/apropos so far.
@patrickprucha552210 ай бұрын
agree with you 1000% on the aliases!
@TheJustinist5 жыл бұрын
yay, new content video :)
@felaflame4 жыл бұрын
Hm, fictional phone-call, as during unsuccessful date :)
@le0narbeit934 жыл бұрын
where i can get the ascii art ?
@rexevan67145 жыл бұрын
Luke senpai with the simplest line of code.
@killistan3 жыл бұрын
my first concern about sharing the homedir as root, is perhaps ~/.scripts should not be in the PATH for root...
@nicolasvillafan5 жыл бұрын
How do you get the name of the file displayed on top of your files?
@dhiegov5 жыл бұрын
Could you please rephrase you question, please? I can't understand it well
@nicolasvillafan5 жыл бұрын
@@dhiegov oh I am so sorry dhiego, I was talking about the letters on top of the basrc file that said bashrc with special characters.. and actually I figured it out. Thanks for responding anyways.
@dhiegov5 жыл бұрын
@@nicolasvillafan ah! You original question makes sense now, hehe. You're welcome. How did you figured that out, thought?
@msodev5 жыл бұрын
Hi luke. I've been investigating for a couple of days now on how to make a usb from which i can simply plug it on to my Macbook and use arch linux as the OS but tutorials and the archwiki never really specify whether what they are showing is exactly what i want and I'm afraid of erasing my MacOS system. Im not a total begginner on linux but im just scared. To sum up, i Want a usb that contains a totally configured and working desktop enviroment to build my own custom rice :). Hope to hear from you soon, thanks
@dhiegov5 жыл бұрын
What you are seeking is a `live distro` or `live medium`: one that you can boot and run normally from a USB drive. As far as I know, you can do that only by booting from your pendrive at start up, which you configure by pressing some function keys (f1-12) (varies depending on your computer manufacturer) on you computer start-up.
@timelesstrance37205 жыл бұрын
Oh, the implicit nature of gods and their BIG hard drives 6:56
@viggolek4 жыл бұрын
can u turn off autocd in zsh?
@simonrose25 жыл бұрын
I'd recommend using 'sudo -E' for keeping the environment, instead of this /etc/passwd hack. (Or 'sudoedit file' instead of ' sudo vim file')
@hshiferaw5 жыл бұрын
wal theme name plz Luke :)
@RudyHill5 жыл бұрын
where tf is the meme thumbnail?
@dontyouhigh5 жыл бұрын
Instead of setting root's homedir to your user's homedir and instead of aliasing "sudo edit", use the command `sudoedit`, it runs your editor as your user and thus uses your .vimrc and then save it as root,
@jaygreentree43944 жыл бұрын
Great video but the keyboard clicking makes it difficult to hear.
@zs14555 жыл бұрын
Imagine not ignoring case for auto completion
@felipeporto27585 жыл бұрын
GUHNOO SLASH LINUHX
@tennisfreak3125 жыл бұрын
what terminal program is that
@PraveenRai3 жыл бұрын
@Luke Smith Could you please share your bashrc config. i can see your deleted your old dotfile from your repro. if not mind could you lease share.
@ari_archer3 жыл бұрын
god, why such huge gaps
@izzettin15864 жыл бұрын
hi, my terminal is gone. all I can see is : "Last login: Tue May 5 08:29:01 on ttys007 [İşlem tamamlandı]". (it means "job completed") I was making sth about bash profile and trying to save sth, I think i did sth wrong and terminal is not responding now, whatever I push. how can I fix it. even apple doesnt know, I called them. how can I fix it. On the top, its written that " Terminal -- java_home --bash 80X24".. thank you..
@errrzarrr4 жыл бұрын
That call was scripted Luke, and that email too. We know you already
@windowsrefund4 жыл бұрын
Luke, please for the love of UNIX, stop referring to "folders". They are "directories". Also, I love your stuff. Keep up the great work.
@alkeryn17005 жыл бұрын
You should try zsh :P
@Discordianism5 жыл бұрын
I just switched to fish yesterday. It's pretty cool.
@alkeryn17005 жыл бұрын
I tried fish but in the end i couldn't do few things i was doing on zsh, plus you can use plugins on zsh to have it like fish so i went back to zsh ^
@Discordianism5 жыл бұрын
@@alkeryn1700 True. I tried fish when it came out a couple years back but I remember it being kinda funny. Seems much more stable now. I still haven't run into anything weird yet. Will chsh to default once I feel it's decent. Zsh is still default for now.
@alkeryn17005 жыл бұрын
@@Pichelinou Not my case, zsh have some great autocompletion and suggestions, help menus so you don't need to use -h on commands or read manuals most of the time Also you can have way more customed prompt and generally your zsh can behave exactly like you want it to
@engineerwolf36925 жыл бұрын
[Bash-it](github.com/Bash-it/bash-it) bridges the gap between zsh and bash quite nicely. I mean its not complete drop in replacement, but its quite close. I like bash because its everywhere. I can ssh into any of my servers and be sure bash will be there. not so much for zsh. And I don't like the idea of using one thing on local and another on remote.
@rishushrivastav45914 жыл бұрын
does anybody know what the text style is called in which the bashrc is written?
@KingZero695 жыл бұрын
the virgin bash user, and the chad zsh user...
@Deibi0782 жыл бұрын
Omg
@shady4tv5 жыл бұрын
On the topic of security giving your root user the same dot files as your main user is generally pretty insecure because if i can exploit your main user I can easily privesc using some code in the dot files. If root calls a shell for some reason (for example running a script in a cron job) it will execute whatever is in that dot file - which can be some nasty shit. you're probs OK since this is a home PC and not a server but just FYI.
@polar38493 жыл бұрын
11:33 line 27 a dog whistle? 🤔🤔🤔🤔🤔
@kainbre5 жыл бұрын
btw time stamp for bash history, just add this: HISTTIMEFORMAT='%F %T ' in .bashrc file. More here! sanctum.geek.nz/arabesque/better-bash-history/
@BrunusRicieri5 жыл бұрын
you use systemd?? Very disappointed... XD And don’t make the root’s homedir a regular user’s homedir; this regular user effectively has root access.
@arnad19975 жыл бұрын
Damn i can't find his bashrc on his github
@superspectator1235 жыл бұрын
ls -a
@nalfmalf5 жыл бұрын
>recommends against making aliases for subcommands >has an alias for git
@AkamiChannel4 жыл бұрын
That's for a command. A subcommand would be having an alias for "git status" etc. Which I totally have lots of anyway personally
@_SkyEye3 жыл бұрын
alias c=“clear” alias e=“exit”
@SArthur2213 жыл бұрын
^L is shorthand for clear (only works in command mode, if using bash in vim mode), ^D is EOF, and terminates your session.
@_SkyEye3 жыл бұрын
Atihcin - don’t ‘bash’ me but I’m not using vim, I’ve got too many things to learn so I’ve got to prioritize... using nano and pleased with it.
@SArthur2213 жыл бұрын
@@_SkyEye 😂😂 I was talking about using bash in vim mode. As opposed to the standard emacs mode. If you do end up learning vim, look it up, it helps you use the same muscle memory on your bash prompt. Ctrl-L and Ctrl-D still work with default bash. Try them out!
@tobeypeters4 жыл бұрын
Don't see a link to your .bashrc file here or on your github
@aws963145 жыл бұрын
Since you mentioned highlight, have you ever tried bat. It is a replacement for cat written in Rust, but it is so much better. you can find it here: github.com/sharkdp/bat
@hjoshua17012 жыл бұрын
0:19 anyone else hear the fart?
@JesseNeckred3 жыл бұрын
Strange in these bash videos, no one ever talks about .inputrc
@ytmorgen5 жыл бұрын
Don't let these fucking NEETs pressure you to keep making Linux content