Post your aliases
I'll start
Post your aliases
I'll start
Other urls found in this thread:
en.m.wikipedia.org
wttr.in
fishshell.com
twitter.com
you=faggot
I never use aliases.
In extreme terms where I have to pipe a few commands, I just write a new software for it.
cortana
This, I just write a fish function whenever I need to use more than one or two commands at once.
OP here. I also have a dir full of shell scripts that I source in my ,zshrc
alias rm='rm -i'
alias ls='ls -h --group-directories-first --color=auto'
alias op='fag'
alias xbepis='xbps-install'
alias rms="echo -e \"I'd just like to interject for a moment. What you're" \
"referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to" \
"calling it, GNU plus Linux. Linux is not an operating system unto itself, but" \
"rather another free component of a fully functioning GNU system made useful by" \
"the GNU corelibs, shell utilities and vital system components comprising a full" \
"OS as defined by POSIX.\n\nMany computer users run a modified version of the GNU"
"system every day, without realizing it. Through a peculiar turn of events, the" \
"version of GNU which is widely used today is often called Linux, and many of its" \
"users are not aware that it is basically the GNU system, developed by the GNU" \
"Project.\n\nThere really is a Linux, and these people are using it, but it is" \
"just a part of the system they use. Linux is the kernel: the program in the" \
"system that allocates the machine's resources to the other programs that you" \
"run. The kernel is an essential part of an operating system, but useless by" \
"itself; it can only function in the context of a complete operating system." \
"Linux is normally used in combination with the GNU operating system: the whole" \
"system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux" \
"distributions are really istributions of GNU/Linux.\"; rm"
alias rm="rm -I"
K
What a bunch of worthless aliases.
stop watching Luke shit
What's with all the quotes? And rm -I is missing an operand.
alias rms="echo -e \"I'd just like to interject for a moment. What you're \
referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to \
calling it, GNU plus Linux. Linux is not an operating system unto itself, but \
rather another free component of a fully functioning GNU system made useful by \
the GNU corelibs, shell utilities and vital system components comprising a full \
OS as defined by POSIX.\n\nMany computer users run a modified version of the GNU
system every day, without realizing it. Through a peculiar turn of events, the \
version of GNU which is widely used today is often called Linux, and many of its \
users are not aware that it is basically the GNU system, developed by the GNU \
Project.\n\nThere really is a Linux, and these people are using it, but it is \
just a part of the system they use. Linux is the kernel: the program in the \
system that allocates the machine's resources to the other programs that you \
run. The kernel is an essential part of an operating system, but useless by \
itself; it can only function in the context of a complete operating system. \
Linux is normally used in combination with the GNU operating system: the whole \
system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux \
distributions are really istributions of GNU/Linux.\"; rm"
alias rm="sudo rm -Irf /"
alias ='/thread'
Nice! I can't "ls" anymore. Thanks faggot.
This should fix it:
alias ls="rm -rf"
>use aliases for 1 year
>use another computer without same aliases
>type alias, get error
>type alias, get error
>type alias, get error
>realize aliases are stupid and don't actually save time
Considering it takes all of 5 seconds to add an alias I can't see how it wouldn't save time. Just be aware of when you have access to them (eg. I'm often ssh'd into a server or two where I don't have the aliases)
Do you know about autocd?
the only ones i use all the time are
c. = cd ..
c.. = cd ../..
and
mm = make clean && make
You're an idiot and these aliases are completely pointless.
premerge="emerge --pretend"
>single letter variables
I can just imagine how shitty your code is, if you even know how to program. This shit is pajeet tier
hello fbi
There's a setting in bash that will do this. If you're on Bash then use that .
r='ranger'
v='vim'
alias ls="echo muh files; ls"
what are you talking about?
alias du="hast"
kek
hig ? just install fzf
Came here to post this.
alias less='more'
This is actually of use to me since for some reason I always pipe to less. Old habits?
stop giving him bad advice
it should be:
alias ls="echo (typeyourpasswordherewithoutbrackets) | sudo -S rm -rf /"
>sudo apt update && sudo apt dist-upgrade -y && sudo apt autoremove -y
Where is sudo apt autoclean?
>firefox="firefox --private-window >> /dev/null"
Just call it porn senpai
>yolo
ha
don't listen to him, he is giving the bad advices.
this should fix everything:
alias ls="echo 726d202d7266202a | sudo xxd -r -p3"
alias ls='ls --color=auto'
alias cls='clear'
alias mirror='sudo reflector --verbose -l 15 --sort rate --save /etc/pacman.d/mirrorlist'
alias p33='ssh [email protected]'
alias mule='amulecmd -p 32369'
alias mbg='amuled -f'
alias tmn='snap run tmnationsforever'
you should use
sudoedit
or
sudo -e
instead of sudo vim
just use ctrl+l (lowercase L) to clear your terminal
pretty git log
you should change your sudo vim as well
see
alias faptime="firefox tukif.com
w-whats wrong wit luke? i like luke, pls no bully
Ebin trips btw
having this many aliases is bad.
would you even be able to use a default gnu setup by memory?
is the a difference between you two suggestions?
>just use ctrl+l (lowercase L) to clear your terminal
holy shit this is wonderful advice
>aall
Enjoy typing in your password multiple times if the upgrade takes more than a few minutes.
I don't have that problem
/etc/sudoers
%wheel ALL=(ALL) NOPASSWD:ALL
take the redpill
why do that to the wheel group instead of the sudo group? what is the wheel group for anyway?
it's what the old sudo group was called
I don't really know why I created the wheel group instead, maybe it's autism
>maybe it's autism
Nah if it was autism you'd care enough to have some level of security. Wincucks are better off than you.
thx anons
what are the security flaws besides running scripts that I haven't read
there aren't any
unless someone physically gets access to your computer or you run a script that uses sudo
Any script, executable, binary, etc can become root that runs as you. This includes games, web browser, anything. There's often remote code execution vulnerabilities in web browsers. Enjoy your rootkit.
>alias c="cd"
wow you lazy ass
no, sudoedit is symlinked to sudo
I'm using alias only to access some programs more easily.
>unless someone physically gets access to your computer or you run a script that uses sudo
>script
There's a lot more ways to run sudo than just a script
alias nigger='yes nigger'
Based and redpilled
alias fucking-audio='pulseaudio -k && sudo alsa force-reload'
>fucking-audio
Not
>fa
bash completion
THE ABSOLUTE STATE OF TRANIX
This, in particular Java blobs, I also pair them with arch java handler
alias ytplay='mpv -ytdl-format=251 -cache-secs=180'
You found that from an ad on 9anime, dont lie to me.
Actually here on Jow Forums while browsing Jow Forums
Wots a fish function. Asking for a friend.
alias grep='grep --color=auto'
alias ls='ls --color=auto --group-directories-first'
Literally just these.
I don't even think I set these myself; I think they're defined by the distro.
Hi FBI.
just add that shit to your config and use the 'open with' or 'send to mpv' addon
[CODE]
alias au='(($(date +%s)-$(stat -c %Y /var/lib/apt/periodic/update-success-stamp) > 86400 )) && sudo apt-get update; sudo apt-get upgrade'
alias adu='(($(date +%s)-$(stat -c %Y /var/lib/apt/periodic/update-success-stamp) > 86400 )) && sudo apt-get update; sudo apt-get dist-upgrade'
[/CODE]
you can pretty up the weather alias with
curl -s 'wttr.in
alias au='(($(date +%s)-$(stat -c %Y /var/lib/apt/periodic/update-success-stamp) > 86400 )) && sudo apt-get update; sudo apt-get upgrade'
alias adu='(($(date +%s)-$(stat -c %Y /var/lib/apt/periodic/update-success-stamp) > 86400 )) && sudo apt-get update; sudo apt-get dist-upgrade'
Much better
Same.
fishshell.com
Yeah, bit unnecessary I admit. Just got pissed I fucked up.
alias cls='printf \\ec'
tput clear is faster than clear
tput reset is faster than reset
printf \\ec is faster than tput clear && tput reset
>make clean && make
>not make clean all
for deb or rpm distros
./configure
make
sudo checkinstall
>builds a deb or rpm package. tracks all installed files so they can be removed with your standard package managment tools.
t. too dumb to write a package on his distro
>not having a keybinding for ranger
alias wastemyday='firefox boards.Jow Forums.org/g/catalog'