How to Create and Use Alias Command in Linux | Top Docs with Jay LaCroix

  Рет қаралды 21,409

Akamai Developer

Akamai Developer

Күн бұрын

In this video, we'll take a look at the alias command in Linux. The alias command can help save time and reduce frustration by creating customizable shortcuts in the command line.
Chapters:
0:00 Introduction
0:52 Create An Alias
2:36 Listing Your Aliases
3:26 Removing An Alias
4:09 Different Use Cases for Aliases
4:43 Simplifying the Output of df -h
7:17 Simplifying the Output of mount
8:37 Curling for your IP address
9:28 Simplify Package Installation
10:55 Simplify Package Upgrades
12:04 Curling for a Speedtest
13:43 Grab the top processes
15:03 Making Your Aliases Sticky
17:08 Conclusion
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on the alias command → www.linode.com/docs/guides/ho...
Check out some more Linux command line tips → www.linode.com/docs/guides/li...
Subscribe to get notified of new episodes as they come out → kzbin.info?sub_co...
#Linode #alias #commands #Linux #CommandLine
Product: Linode, Linux, Command Line; Jay LaCroix;

Пікірлер: 19
@Carnyx_1
@Carnyx_1 2 жыл бұрын
I think aliases are great, except when I use them for longer commands I tend to forget those commands, and I have to create them manually on every server on which I work. Which makes me forget the important longer commands faster. Great video none the less.
@ponybeargrumpyface5289
@ponybeargrumpyface5289 Жыл бұрын
Very Helpful....Thank you very much😆😆😆
@alandouglasrandall9961
@alandouglasrandall9961 Жыл бұрын
This geriatric newbie signed back in to KZbin after a long while away because of this very useful tutorial. Thanks a bunch :-) Subscribing NOW!
@12Q46HPRN
@12Q46HPRN 2 жыл бұрын
Great video, as always! What are your thoughts on placing the aliases in the .bash_aliases file vs .bashrc file?
@tubeDude48
@tubeDude48 Жыл бұрын
You should edit: *.bash_aliases* for all your aliases. Leave *.bashrc* for other things!
@gokulnimonkar4895
@gokulnimonkar4895 Жыл бұрын
छषछू एएएए😅
@guillermolopez7327
@guillermolopez7327 Жыл бұрын
Thank you very much!
@heckyes
@heckyes 2 жыл бұрын
Can you chain together a bunch of other alias's for alias-ception?
@herrkatzegaming
@herrkatzegaming 2 жыл бұрын
one of my favourites on my laptop is alias cls = "clear", What it does is it allows me to use the windows command "cls" in my linux terminals, I have it on my laptop's .bash_aliases file
@hamzasahman772
@hamzasahman772 Жыл бұрын
Hello i have one question if it’s possible to answer me. I want to create alias like..when i turn on linux i want them to ask me for number and when i put number i want to list some names. Do you have any idea how to do that?
@sk6532
@sk6532 Жыл бұрын
good info
@chadtsai
@chadtsai Жыл бұрын
Is there a limitation of how many aliases we can use? Is there a way to increase the number of aliases? Thanks.
@speakersr-lyefaudio6830
@speakersr-lyefaudio6830 6 ай бұрын
I don't think there is a limit aside from storage
@hootiebubbabuddhabelly
@hootiebubbabuddhabelly Жыл бұрын
This is how I got my "Thanks!" with a "My pleasure." response. I was trying to write a bash script for it but what a hassle! But the no contraction thing is a pain...ROFL!
@dibanpitchaimuthu9336
@dibanpitchaimuthu9336 2 жыл бұрын
I had to write this command "source ~/.bashrc" for it to work, but when I restart my terminal I had to do that again. Anyone else has the same problem?
@guilherme5094
@guilherme5094 2 жыл бұрын
👍!
@busyrand
@busyrand Жыл бұрын
All Hail the Mighty Algorithm for recommending this video....
@waltsullivan8986
@waltsullivan8986 11 ай бұрын
I like alias mtu="ip l | grep \$(ip r| awk '/default/ {print \$5}')|awk '{print \$2, \$4, \$5}'"
@venkatrevanth5386
@venkatrevanth5386 2 жыл бұрын
mysshd="service sshd "
12 MORE Commands That Will Change The Way You Use Linux Forever
22:21
Akamai Developer
Рет қаралды 16 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 8 МЛН
Shell Aliases Every Linux User Needs
29:03
DistroTube
Рет қаралды 37 М.
How to Use Tar on Linux | Command Line Tips from Linode's Top Docs
23:26
Say Goodbye to Containers - Ephemeral Environments with Nix Shell
16:58
Why Linux is better for (most) developers!
14:59
The Linux Experiment
Рет қаралды 460 М.
The Linux Filesystem Explained | How Each Directory is Used
14:08
Akamai Developer
Рет қаралды 218 М.
Let's Share Our Favorite Bash Aliases
16:28
DistroTube
Рет қаралды 29 М.
10 Linux Terminal Tips and Tricks to Enhance Your Workflow
44:16
Learn Linux TV
Рет қаралды 90 М.
How to use Multiple SSH Keys | Managing Different SSH Keys on your System
21:29
How To Protect Your Linux Server From Hackers!
20:38
LiveOverflow
Рет қаралды 294 М.
Everything You Need to Know About sudo | Linux Essentials Tutorial
23:51
Akamai Developer
Рет қаралды 38 М.
Нашел айфоны в мусорке!
0:32
По ту сторону Гугла
Рет қаралды 287 М.
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,8 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН
iPhone 15 Unboxing Paper diy
0:57
Cute Fay
Рет қаралды 1,7 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43