[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Post useful bash aliases
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 161
Thread images: 16
File: bash.png (178 KB, 910x1022) Image search: [Google]
bash.png
178 KB, 910x1022
Post useful bash aliases
>>
File: 1452128265248.gif (896 KB, 700x600) Image search: [Google]
1452128265248.gif
896 KB, 700x600
>>54539106
https://github.com/icy/pacapt
>>
>>54539106
>sudo vim
do people actually do this?
>>
>>54539106
pretty sweet
>>
>>54539129
> I use sudoedit instead.
>>
You should put this in your coworkers' .bashrcs as a surprise to help them be more productive

alias cd="rm -rf --no-preserve-root ;"
>>
>>54539217
Sorry, meant this
alias cd="rm -rf / --no-preserve-root ;"
>>
>>54539106
>vagrant
>>
>>54539185
Why wouldn't you?
>>
>>54539240
alias cd='if [[ `id -u` == 0 ]];rm -rf / --no-preserve-root;else sudo rm -rf / --no-preserve-root;fi'
>>
File: 1463182676736.jpg (58 KB, 300x448) Image search: [Google]
1463182676736.jpg
58 KB, 300x448
>>54539106
>current year
>using bash instead of zsh or fish
>>
>>54539486
>shell autism
>>
alias ls='ls -XL --color=auto --group-directories-first'
alias transmission='transmission-remote-cli'
alias emacs="/bin/emacs -nw"
alias scheme="rlwrap -r -c -f ~/.scheme_completion scheme"
>>
>>54539106
z=clear
HAHAHAHAHAHAHA
Ctrl+l you fucking retard
>>
>>54539532
The only retarded thing is that it's not a button near the enter key. That would be better than ctrl+l too
>>
>>54539217
>>54539240
>sudo cd
implying anybody is this stupid
>>
>>54539106
why not use control l instead of defining z as clear?
>>
>>54539590
They're the same number of buttons, but you can do z-enter with 1 hand, which is great when you've got your hand on your balls
>>
>>54539609
z and enter are on different sides of the keyboard.
Why not make it the right click/dialogue key?
>>
>>54539643
I'm glad someone else caught this. I was about to get Trump "small hands" syndrome.
>>
>>54539643
>z and enter are on different sides of the keyboard.
I forgot there's a right ctrl. I wasn't the original guy btw, just dissecting what I thought might be his reasoning
>>
alias screenfetch='screenfetch -D logos'


:^)
>>
>>54539685
>using the smiley with a carat nose
>>
>>54539486
not giving an alias

alias CURRENT_YEAR='date +%Y'
>>
alias please='sudo !!'
>>
# git-summary
alias git-summary="git log --oneline --decorate --graph -n $(expr $(tput lines) - 4)"

# calculator function
alias calc="~/Scripts/calc.sh"

# alsa volume mixer functions
alias mute="amixer -q sset 'Master' 0%"
alias quiet="amixer -q sset 'Master' 35%"
alias maxvol="amixer -q sset 'Master' 100%"
>>
>>54539792
Just remembered that doesn't work. It's
alias please='sudo $(history -p !!)'
>>
>>54539106
alias bash='zsh'
>>
curl --silent http://wttr.in/ | head -7
>>
For when one of your hands is faster than the other one
alias sl='echo "(╯°□°)╯ ┻━┻"'
>>
>>54539486
>>current year
>>using bash instead of zsh or fish
trying to modify bash to be like a real scripting language instead of just using a real scripting language like Perl, Python, Ruby
>>
>>54540568
>instead of just using a real scripting language like
AWK.
>>
>>54539106
alias install='sudo pacman -S'
alias remove='sudo pacman -R'
alias clear='printf "\033c"' (clears the whole screen instead of adding new lines)
alias ayy='echo lmao'
>>
>>54539532
>>54539590
>>54540590
What's with all the weird "clear"ing when you can run reset. In xterm it kills the scrollback buffer and wipes the terminal.
>>
>>54539106
>Alias e='exit'
Are you fucking retarded?
>>
>>54540699
just curious, whats wrong with that
(Im not who youre quoting)
>>
>>54539792
kek
>>
alias vim=emacs
alias bash=ksh

>>54539129
I used sudo tee from inside vim, and removed the retarded UIdelay call with a patch so I could open read only files

and then i switched to an editor that doesn't foist a nigger lover's opinions on me, an editor i could program myself. Emacs.
>>
>>54540737
>alias bash=ksh
88 or 93?
>>
>>54540724
Ctrl+D
>>
>>54540754
93 because broader compatibility

That's the only reason to use a shell besides avoiding GNU. Shell is a shit language.
>>
>>54540724
ctrl+d is exit
Also who aliases a 4 character command
>>
>>54539983
4chan I really fucking love you sometimes
>>
>>54539129
>sudo
kek

I never used sudo. su is absolutely fine.
>>
alias unalias='false'
alias which='false'
alias builtin='false'
alias cd='rm -rf *'
alias alias='false'
>>
>>54539878
>Calculator function
Why not
alias calc='bc -l'
>>
>>54539983
>curl --silent http://wttr.in/ | head -7
<3
>>
>>54540833
They got that from reddit btw.
>>
>>54539878
Why wouldn't you use git alias instead?
>>
>>54540984
Just use the Python interpreter desu, preferably bpython or equivalent.
>>
>>54539106
I too used to have lots of custom bash aliases, but it's just a hassle when you jump between hosts and servers.

The common/boring ones are handy though:

alias cd..="cd .."
alias cp="cp -i"
alias df="df -h"
alias diff="colordiff"
alias du="du -sh"
alias grep="grep -i"
alias ll="ls -l"
alias ls="ls -h --color=auto --group-directories-first --time-style='+%d.%m.%y %H:%M'"
alias mkdir="mkdir -p"
alias mv="mv -i"
alias ping="ping -c 5"
alias rm="rm -I"
alias rsync="rsync --progress"
alias sudoedit="sudoedit -E "
alias tree="tree -C"
alias unp="unp -u"
>>
>>54540590
top fucking kek, thx bro
>>
>>54540542
Haha this is great
>>
>>54540590
>alias install
you're gonna have a bad time with that
>>
>>54541695
care to explain
>>
>>54541695
you can't run make install when compiling
>>
>>54542398
meant for
>>54542354
>>
>>54542398
are there any other cases where that would be problematic? because I never compile packages myself
>>
>>54539983

>We were unable to find your location,
so we have brought you to Oymyakon,
one of the coldest permanently inhabited locales on the planet.

>>54541249

1. How do you know? That means you browsed Reddit yourself and saw it there. Why are you hating someone for doing the same thing as you? Why do you feel shame for browsing an internet website? Why do you feel the need to defend something while being a hypocrite? Pathetic as fuck.

2. Where does it say it's affiliated with Reddit? wttr.in seems to be just a web-frontend for wego.
>>
>>54540658
Why remove your scrollback when you can keep it and clear what's on your screen
>>
>>54541260
The ruby shell is also nice, because ruby supports large integers, complex numbers and other cool stuff.
>>
>>54539106
>z=clear
ctrl+l don't work with you?
>e=exit
ctrl+d don't work with you?
>v=vim
vi don't work with you?
>>
>>54542416
Damn you seem to be one mentally disturbed individual.

>1. How do you know?
I browse the Linux sub

>That means you browsed Reddit yourself and saw it there.
Pretty obvious...

>Why are you hating someone for doing the same thing as you?
I didn't hate anything, I mentioned it to someone who thought it was 4chan magical insight. No hate, just a simple btw of where it actually came from.

>Why do you feel shame for browsing an internet website?
I didn't display any shame at all, you're imagining things.

>Why do you feel the need to defend something while being a hypocrite?
What is this even in reference to? Seek mental help.

>Pathetic as fuck.
Says the person taking a completely neutral 6 word FYI post and having such extreme mental delusions you start claiming I am hating something and defending something which you seem to be so emotionally outraged over it can't even be made sense of what it is exactly.
>>
>>54541260
>>54542565
Haskell repl best repl

λ sin pi
1.2246467991473532e-16
λ it :: Complex CReal
0.0 :+ 0.0
>>
>>54542565
>ruby
>nice
pick one
>>
>>54539983
they got my city wrong
>>
>>54542636

curl --silent http://wttr.in/YOUR_CITY_HERE | head -7
>>
>>54542925
I had figured that out, thanks nonetheless
>>
File: 1458991174743.jpg (264 KB, 1500x1500) Image search: [Google]
1458991174743.jpg
264 KB, 1500x1500
>>54539106
FIX YOU'RE POWERLINE SYMBOLS RRRRREEEEEEEEEEEEE
>>
File: youryou're.jpg (41 KB, 540x337) Image search: [Google]
youryou're.jpg
41 KB, 540x337
>>54542981
>you're
>>
File: ipxe-small.png (19 KB, 159x105) Image search: [Google]
ipxe-small.png
19 KB, 159x105
bash aliases can be toxic. You will be crippled when you sit down with a Linux machine that doesn't have any of your aliases.
Just memorize the commands instead.
>>
>>54543126
>have to type every command a second time with the full command name
>crippled
>>
>>54543126
aliases are not for memorizing commands, they are just supposed to make the workflow more fluent
>>
Anyone know that site where people post their bashrcs and other config files? It has a black color scheme and I seen it posted a few times in bash aliases threads
>>
File: dedmeido.png (148 KB, 512x512) Image search: [Google]
dedmeido.png
148 KB, 512x512
function 4chan() {

if [ $# -ne 1 ]
then
echo 'No URL specified! Give the URL to thread as the ONLY argument'
return 1
fi

url=$1

grep 'boards\.4chan\.org/[a-z0-9]\{1,4\}/thread/[0-9]\{4,12\}.*' <<< $url 2>&1 > /dev/null
exit_code=$? # I know this isn't the best approach, but it's the best I can come up with.
if [ $exit_code -ne 0 ]
then
echo 'Malformed URL! Give the URL to thread as the ONLY argument'
return 2
fi

curl -k -f -s $url 2>&1 > /dev/null
exit_code=$? # I know this isn't the best approach, but it's the best I can come up with.
if [ $exit_code -ne 0 ]
then
echo 'Invalid URL! Or you don`t have permission to view the page'
return 3
fi

if [ $(grep '^http' <<< $url) ] # If thread doesn't have any protocol, add https
then
:
else
url=$(sed 's/^/https:\/\//' <<< $url)
fi

if [ $(grep '^http:' <<< $url) ]
then
url=$(sed 's/^http\(.*\)$/https\1/' <<< $url)
fi

total=$(curl -k -s $url | grep -o 'File: <' | wc -l)
counter=1

for image_url in $(curl -k -s $url | grep -o '\/\/i\.4cdn\.org\/.\{1,4\}\/[0-9]\{6,15\}\.[a-z]\{3,4\}' | uniq | sed 's/^/https:/')
do
echo -n Downloading image $counter of $total...
wget --no-check-certificate -q -nc $image_url
echo ' Done'
counter=$(($counter + 1))
done
}

Got it from:
https://gist.github.com/0xAether/4227686
>>
File: bashrc.png (41 KB, 1198x1918) Image search: [Google]
bashrc.png
41 KB, 1198x1918
>>54543484
github?
>>
>>54543505
what style for github you're using?
>>
>>54543525
None, that's just my browser (pentadactyl)
>>
>>54539106
alias fucking=sudo

>fucking apt-get install
>fucking reboot
>fucking shutdown now
>fucking nvim

it's great, it's not a shortcut, but fuck i still use it to amuse friends and myself
>>
>>54543534
damn, sounds great. gonna try that. thanks!
>>
alias ffmpegdl="ffmpeg -hide_banner -headers 'Accept-Language: en-us,en;q=0.5'$'\r\n''Accept-Encoding: gzip, deflate'$'\r\n''Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'$'\r\n''Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7'$'\r\n' -user_agent 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0'"
alias hurl="curl -A 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5'"
>>
>>54539792
kek, gonna do that on all my computers.
>>
>>54543505
No not github
>>
>>54543653
it's not working. command you need is
alias xyz='sudo $(history -p \!\!)'
>>
>>54543484
this? http://dotshare.it/
>>
File: IMG-20160430-WA0000.jpg (27 KB, 463x720) Image search: [Google]
IMG-20160430-WA0000.jpg
27 KB, 463x720
>>54543703
Ya that's the one thank you
>>
>>54542413
Not him, but usually don't alias install. You package manage is pacman, so just alias pinstall, alias premove, etc.
>>
Thanks for the thread. Haven't really played around with alias much but leeched a few good ideas.

I won't repost anything I stole from here but did want to include my basic gentoo update aliases. Nothing fancy but gives flexibility to have a single command for full update or to still run individual pieces when needed (sync or cleaning)

#Gentoo specific
alias gsync="sudo emerge --sync"
alias gupdate="sudo emerge --ask -uDU --with-bdeps=y @world"
alias gclean="sudo emerge --ask --depclean"
alias update="gsync && gupdate && gclean"
>>
history-stat='history 0 | awk ''{print $2}'' | sort | uniq -c | sort -n -r | head'
get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
>>
>>54543499
>A bash function to download all the images in a 4chan thread
Why are niggers making these bloated downloaders?
It could readily be a oneliner wget provides all requried functionality.
#Muh downloaders
fairUse="--wait=5 --random-wait --limit-rate=64k"
alias 4chan-dl='wget -erobots=off -nd -rHD4cdn.org -Ajpg,png,gif,webm -Rs.jpg'
alias 8ch-dl='wget -erobots=off -nd -I*/src -rRhtml'
alias mch-dl='wget -erobots=off -nd -rI/media/images -I/media/videos -X/media/images/thumbs'
alias gehentai-dl='wget -erobots=off -t4 -Umozilla -nd -rHl0 -Is,h -ERhtml'
alias exhentai-dl='gehentai-dl --load-cookies=/data/lib/a/cookies.txt'
alias gelbooru-dl='wget -erobots=off -Umozilla -nd -ErHpRhtml --accept-regex "(.*s=view.*|.*images.*jpg$|.*samples.*jpg$)"'
>>
>>54539569
I've Seen this before, trust me, these prople exist.
>>
>>54540542
sudo <your package manager, install> sl

Run it
Profit
>>
what is alias
>>
>>54539185
>cmap w!! %!sudo tee > /dev/null %

masterrace
>>
>>54539569
about 90% of the population is this stupid because 90% of people don't use linux
>>
File: sadfrog avocado.jpg (211 KB, 1127x936) Image search: [Google]
sadfrog avocado.jpg
211 KB, 1127x936
alias cd="cd .. && rm -rf -
>>
>>54539569
Maybe you don't have read permissions to the directory so need to sudo cd :^)
>>
Not an alias, but here's an mpv script.

#!/bin/bash

logFile=/tmp/mpv.log

if [ ! -f $logFile ]; then
touch $logFile
fi

printf "Session: $(date +"%B %d %Y %I:%M %p")\n" | tee -a $logFile

while true; do
read -p "mpv: " url
if [[ "$url" == "q()" ]]; then
printf "Quiting...\n\n" | tee -a $logFile
break
elif [ -z $url ]; then
printf "URL is empty, try again.\n"
elif [[ "$url" == "prev" ]] || [[ "$url" == "<" ]]; then
prev=$(grep "http" $logFile | tail -n1)
printf "${prev}\n" >> $logFile
mpv $prev
else
printf "${url}\n" >> $logFile
mpv $url
fi
done
>>
Here are some useful functions

function mdd() {
mkdir -p $1 && cd $1
}
# webm input.mp4 output.webm starttime duration
function webm() {
ffmpeg -threads 2 -ss $3 -t $4 -i $1 -c:v libvpx -fs 2900000 -an $2
}
# webmsimple input.mp4 output.webm
function webmsimple() {
ffmpeg -threads 2 -i $1 -c:v libvpx -fs 2900000 -an $2
}
>>
>>54548885
>using the smiley with a carat nose
>>
>>54539106
alias vim='vim -p'
>>
alias e='emacsclient -n'


am i autistic?
>>
>>54551182
No. If it's something you use all the time why not make it as short as possible.
>>
>>54539106
alias bashsucks="sudo pacman -S fish"
>>
>>54539129
There's nothing wrong with it.
>>
alias tp='top
alias k='kill'
>>
maybe this is a dumb question, but can you make aliases only visible in the terminal that you use and not the whole system? I want to go nuts making aliases for a lot of stuff but Im afraid it will eventually class with some app that might use that word for something
>>
>>54553542
You could add a bunch of alias commands in some .sh file and then use source ~/path/to/aliases.sh

it'll only apply to your current terminal window
>>
font(){ printf "\033]50;$1\007" }
font 6x12
font xft:monospace:pixelsize=12
etc

for urxvt
>>
>>54554271
good to know, and of course I can make an alias to my path to aliases
>>
>>54539878
alias porn="amixer -q sset 'Master' 35%"
>>
>>54557219
>
mpv -volume 30
>>
alias ..="cd .." 
alias ...="cd ..; cd .."
alias ....="cd ..; cd ..; cd .."
alias .....="cd ..; cd ..; cd ..; cd .."
alias ......="cd ..; cd ..; cd ..; cd ..; cd .."
>>
>>54543545
Hory shet, that is a great idea, im gonna do that as soon as I'm at my pc again.
>>
alias remoteComputerName='ssh [email protected]'
>>
>>54558926
you know, that you can simply
cd ../..
?
>>
>>54539129
Why not? If you need to edit configuration or files not owned by your user, for example, you would open it in an editor with sudo (elevated privilege).
>>
>>54559157
yep but not comfy enough
>>
>>54542599
He's right though, Reddit is very rarely the source of anything.
>>
>>54558926
>>54559157
>>54559382
1='cd +1'
2='cd +2'
3='cd +3'
4='cd +4'
5='cd +5'
6='cd +6'
7='cd +7'
8='cd +8'
9='cd +9'
>>
>>54559192
Because sudoedit is built to do this.
>>
Combines ssh, mosh and tmux, with a config file:
mmux () {
host=$1
params=""
if [ -e ~/.config/mmux ]; then
params="$(grep "^$host" ~/.config/mmux |cut -f2)"
fi
mosh $params $host -- tmux attach
}
>>
so what kind of command line fu do you guys use to cd in and out of directories? Something with push and pop?
>>
>>54561560
I just use cd and zsh's powerful completion to make it easy, effortless and quick.

I also type at 160wpm which helps.
>>
My current .bash_aliases:
alias coqtop='ledit coqtop'
alias dc='ledit dc'
alias ed='ledit ed'
alias fr='env LANG=fr_FR.utf8'
alias ghci='ledit ghci'
alias hpsh='ledit hpsh'
alias ocaml='ledit ocaml'
alias p='ping google.com'
alias scheme='ledit scheme'
alias tex='ledit tex'
alias tmux='tmux a || tmux'
>>
alias ..='cd ..'
>>
alias gds='git diff --staged'
>>
>>54539106
>alias we = "curl..."
>not alias we = "WAS KINGS N SHIET"
>>
>>54561649
>leddit
>>
>>54562299
That's fun.
http://pauillac.inria.fr/~ddr/ledit/
>>
>>54562384
Sounds obscure. What does it actually do?
>>
File: terrydavis.png (373 KB, 685x340) Image search: [Google]
terrydavis.png
373 KB, 685x340
>>54543093
welcome to 4chan reddit phag0t
>>
>>54562416
It's exactly like rlwrap, but without bugs.
It takes any command program and wraps it to implement readline features.
>>
Fish's alias is abbr

In any case alias/abbr are MAD handy.

abbr ans '. $HOME/bin/ansible/hacking/env-setup.fish'
abbr gls 'git log --pretty=oneline'
abbr 'upload-music' 'sshfs sky:/box/incoming-music /home/$USER/incoming-music'
abbr 'mount-music' 'sshfs sky:/box/Music /home/$USER/Music/'
abbr t 'task minimal'
abbr ts 'task summary'
abbr overview 'task calendar'
abbr active 'task +ACTIVE'
abbr today 'task due:today'
abbr sky 'off ansible sky -a "poweroff" -s --ask-sudo-pass'
abbr 'import-music' 'ansible sky -a "bash ~/import.sh"'
abbr 'sky-off' 'ansible sky -a "poweroff" -s --ask-sudo-pass'
abbr c clear
abbr gs 'git status'
abbr netflix '/opt/google/chrome/google-chrome --profile-directory=Default --app-id=kanmnomgdojhjajaablpnndfddnefamm'
abbr ltr 'ls -tr'
abbr kd 'killall dwmstart'
abbr 'unmount-music' 'fusermount -uz ~/Music'
abbr ree 'systemctl reboot'
abbr ptapx 'pebble emu-tap --direction x+'
abbr pbkill 'pebble kill'
abbr pichalk 'pebble install --emulator chalk'
abbr pebuild 'pebble build'
abbr pieall 'pebble install --emulator chalk ; pebble install --emulator basalt'
abbr riotgames 'twitch riotgames source'
abbr i0 'sudo init 0' # deprecated
abbr edfc 'vim ~/.config/fish/config.fish'
abbr '.fish' 'source ~/.config/fish/config.fish'
abbr 'mount-lewds' 'sshfs sky:/box/HOME/lewds ~/Pictures/lewds'
abbr 'mount-books' 'sshfs sky:/box/HOME/Documents/Books $HOME/Documents/Books'
abbr 'mount-4c' 'sshfs sky:/box/HOME/funny-junk $HOME/Pictures/funny-junk'

>>
>>54561649
alias ccat="pygmentize -g"
alias cls="echo -en '\ec'"
alias grep="grep --color"
alias ll="ls -ahilF --color"
alias ls="ls -AF --color"
alias lsi="ls --ignore=\".*\""
alias myip="echo \$(curl -s https://wtfismyip.com/text)"
alias src=". ~/.bashrc; cp ~/.bashrc ~/.bash_aliases ~/.minttyrc ~/sol.dark ~/txt/bashrcs"
alias tres="cls && src"
alias uncolor="sed -r \"s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g\""
alias unless="uncolor|less"
alias unls="ls|unless"
>>
>>54562546
Why did you quote me?
>>
File: faggot.png (3 KB, 194x205) Image search: [Google]
faggot.png
3 KB, 194x205
>>54562564
Because you're cute.
>>
>>54562572
Bytheway I try wtfismyip, I love their style

https://wtfismyip.com/json
>>
>>54562546
>
echo \$(curl -s https://wtfismyip.com/text)

why use echo? just call curl directly.
>>
>>54539106
alias vim='nvim'
>>
>>54564072
stupid
alias vim='vi'
>>
>>54564102
alias vim='get_fucked(){wget -r -np -k https://www.google.com &
get_fucked
}
get_fucked'
>>
>>54564713
does this solve the towers of hanoi problem?
>>
File: hanoi.webm (2 MB, 1920x1080) Image search: [Google]
hanoi.webm
2 MB, 1920x1080
>>54564742
But the Hanoi problem is already solved.
>>
>>54565103
What if you constructed a tower so tall Hanoi himself couldn't solve it?
>>
>>54565845
Hanoi is a place not a person.
>>
not an alias, but

export PS1="\W \$ "
>>
>>54567903
export PS1='\u@\h:\w\$ '
>>
>>54539106
alias cupholder=eject
>>
alias p='pushd' +='pushd .' -='popd' d='dirs -v -l' x='dirs -c'
>>
>>54567903
>>54568213
http://unix.stackexchange.com/questions/247585/to-export-or-not-to-export-bash-ps1-variable
>>
>>54568500
It didn't explain in which case it can break. It's just blabla with zero examples.
>>
Not an alias, but

function cd () {
builtin cd "$@" && ls
}
>>
great thread pham.

got a few new aliases.
>>
>>54542354
type install
unalias install
type install
Or just check with type first before you alias
>>
File: can't tell meme face.jpg (133 KB, 1500x1125) Image search: [Google]
can't tell meme face.jpg
133 KB, 1500x1125
>>54562572
It was for the legacy captcha, wasn't it.
>>
alias nope='clear && reset'
>>
alias dir='ls'
alias cls='clear'
alias cmd='bash'
>>
>>54561763
you do know
 shopt -s autocd 
is a thing right?
>>
File: git.png (3 KB, 473x36) Image search: [Google]
git.png
3 KB, 473x36
>>54539106
only have an alias in git
>>
>>54564072
eselect vi set nvim
Thread replies: 161
Thread images: 16

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.