What are your most liked alias for long commands or just to give them better names.

Mine are:

alias load="source .load.sh"
alias eload="$EDITOR .load.sh"
alias gpush="git push"
alias gadd="git add --all"
alias gcommit="git commit -m "
alias gst="git status -s"
alias gpull="git pull"
0 points
*

mkcd() { mkdir -p “$1” && cd “$1”; }

Make a directory and immediately cd into it. I rarely make a directory and not cd into it.

permalink
report
reply
0 points

Uuuuh needed this one so many times.

permalink
report
parent
reply
0 points

Quite basic but saves me a couple of seconds each time. alias update=“sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y”

permalink
report
reply
0 points

alias gladog=“git log —all —decorate —oneline —graph” is my all time favourite. Sometimes I just want to have a quick way to see the git graph in the terminal.

permalink
report
reply
0 points

Uhhh a terminal git user too

permalink
report
parent
reply
0 points

Since my company won’t pay for Gitkraken I sadly am :/

permalink
report
parent
reply
0 points

In my old company we used it and mostly it was just a ram eater for me XD

permalink
report
parent
reply
0 points

In case you don’t know this give tig a try.

permalink
report
parent
reply
0 points

I didn’t. Thanks, I will have a look at it.

permalink
report
parent
reply
0 points

alias weather=‘curl wttr.in

permalink
report
reply
0 points

That is really neat. I never knew I needed that.

permalink
report
parent
reply
0 points

alias ta="tmux attach -t"

permalink
report
reply
0 points

I’m always thinking of using tmux for tilling.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8K

    Monthly active users

  • 3.7K

    Posts

  • 48K

    Comments