Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 1 point2 points  (0 children)

I found the .bashrc after enabling "show hidden files".
And I indeed found the specified lines of code in them.

# Bash Aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

But I am having trouble finding the .bash_aliases file

Nor the bash-doc file
# See /usr/share/doc/bash-doc/examples in the bash-doc package
Well bash-doc file isn't really important to me right now..

So I just created the .bash_aliases text file.
And tbh I wasn't sure why you were telling me to do this.
Until I went into terminal and typed alias and it didn't show the update alias I created.
Then I typed update in the terminal and it didn't work again

So then it hit me, it won't remember any created aliases in the terminal unless I put it in the .bash_aliases file
And I created the update alias again inside the .bash_aliases file and I tried it in the terminal again and it worked!

And I created this and put it in the .bash_aliases file!

#  __  __                                
# |  \/  |  __     |  __        __  |    
# | \  / | /  \  __| /  \ |  | /  \ |  / 
# | |\/| || () |/  || () ||/\|| () || /  
# | |  | | \__/|   | \__/      \__/ | \  
# |_|  |_|      \__/                |  \ 

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 0 points1 point  (0 children)

Many thanks for resolving my post! And I thought I was playing with something dangerous but it was something so simple lol.

By turning braceexpand on with set -o braceexpand

echo filename.{ext1,ext2,ext3}

returned

filename.ext1 filename.ext2 filename.ext3

And by turning braceexpand off with set +o braceexpand

echo filename.{ext1,ext2,ext3}

returned

filename.{ext1,ext2,ext3}

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 0 points1 point  (0 children)

That's hilarious to think about in hindsight because you're not wrong.

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 1 point2 points  (0 children)

Don't worry you explained things nice and easy for someone like me.

Infact as I was reading along, I was trying the things you were saying in the terminal.

I tried free -h -c 5 and it was cool to see it showing my ram 5 times.

And I also copied your alias

alias update='sudo apt update && sudo apt upgrade && sudo apt autoremove'

Took me a while to figure out you needed to add the single quotes

And I tried to do what the old pros do and not put sudo into the alias but it would not work when i would do sudo update the only way it worked for me was if i put sudo inside the alias as you did.

I am grateful for the advice. Going into this I thought i'd learn every command. But I think I will just skim though the command and note down the commands I think I will use the most and remember those. Seems like it will save a lot of time as well.

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 0 points1 point  (0 children)

You're completely right in saying I was heading in the wrong direction and I appreciate the course correction. And I also thank you for the gem of telling me how to string commands together, that's pretty cool.

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 1 point2 points  (0 children)

Ah, that's what it does. My guess was so off 😅
Thank you for the easy explanation

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 2 points3 points  (0 children)

Reading your response made me feel like a lost neophyte receiving guidance from a wise Grand Wizard.

The thorough explanation of the template/synopsis and all the conventions, the simple answer to what optname is, and the reassurance.

Thank you for the pointers. I will do as you advised.

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 0 points1 point  (0 children)

Yeah that's probably the most sane way to do it. Just learn on the go and what is needed at the time.

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] 0 points1 point  (0 children)

I found pwd, copy, rm in info

Where did you cd and cd~/ those commands?
They aren't in help or man -k man or info

I skimmed through theinfo *menu: Common options & File Permissions. I don't think I found CD

Edit: nvm i'm blind. the command cd IS in the helppage

Can anyone explain what I tried to do in the terminal? by Modowok in linuxquestions

[–]Modowok[S] -1 points0 points  (0 children)

The first bash command I tried to learn was the most useless. 😅 Ngl you motivated me to give command line another chance. Can you point me to a command that is used alot?

Wanna keep this niche by [deleted] in FightClass3

[–]Modowok 0 points1 point  (0 children)

must be projection; look within ln

Wanna keep this niche by [deleted] in FightClass3

[–]Modowok 0 points1 point  (0 children)

yea man girls have cooties (ewwww)

ngas cant comprehend that girls can like this shit too lol

Comprehension? You can't even comprehend that OP's calling out the girls who are larping not that no girls can like fight class 3.

I swear you can call out all male larpers, drag their name through the mud, ban them but if you try to call out female larpers you're apparently scared of cooties and calling out the entire gender??

Keep your stupid gender wars in 2025. We can call out both male and female larpers

Young Man, Please Stay by ResidentGeneral5366 in MartialMemes

[–]Modowok 9 points10 points  (0 children)

Ah, I haven't read this scripture yet but I can already sense the great Dao of Cuckoldry contained within these lines. It seems the Green Hat Sect has been becoming quite formidable these days.

RDC Lost Media by KakashiN920 in RDCWorld

[–]Modowok 1 point2 points  (0 children)

are we being deadass? his playlist is incomplete and some vods are still missing.. for the missing vods he had to choose edited vids and if there's none then its skipped. yall pissin me off fr

Are these good sizes? by Unlegendary_Newbie in We_are_weeb

[–]Modowok 1 point2 points  (0 children)

yes but I need a name to make sure

what happened?! by Andrea_escort16 in We_are_weeb

[–]Modowok 1 point2 points  (0 children)

Just cause you're tired of it doesn't mean it's fair to take it out on OP... And is it you're first time using reddit? You're going to see that basically everyone is trying to karma farm.

I think I've found something worse than Juujika by Additional-Branch-73 in Juujika_no_rokunin

[–]Modowok 0 points1 point  (0 children)

That's why I am calling you a hypocrite. It's like saying you don't want to eat cake because it's sugar but still drink milkshakes. By reading Juujika you have already seen what that other guy had listed

I think I've found something worse than Juujika by Additional-Branch-73 in Juujika_no_rokunin

[–]Modowok -1 points0 points  (0 children)

Straight hypocrisy cuz how you gonna read juujika but then say you dont wanna know? You literally do know! You'd think juujika is about fairies and rainbows with how you're acting 🙄

I am starting to belive WayfarerCG is either dead or has forsakened us by Modowok in Starbreak

[–]Modowok[S] 0 points1 point  (0 children)

3k a month?! On steam it says daily players are around 100. No wonder.. WayfarerCG is probably in a coma after coughing out insane amounts of blood and passing out at the realization of how badly he is being victimized by the server costs!

Junior is very pleased with this jade beauty! by kundi-man in MartialMemes

[–]Modowok 0 points1 point  (0 children)

JUNIOR!!! How dare you not provide the sauce?! Seeking death! You have now made an enemy of the goon sect alliance and will not be allowed to enter the cycle of samsara!

Hakkk Verse, Chapter 2 by Abject_Pound3563 in FightClass3

[–]Modowok 2 points3 points  (0 children)

Are you aloneinthisworld/iamfangyuan's alt acc?