Bash History | Your Linux Command History Explained

  Рет қаралды 7,677

Akamai Developer

Akamai Developer

Күн бұрын

Пікірлер: 14
@CottonInDerTube
@CottonInDerTube 2 жыл бұрын
~ 4:47 ... and thats the point where you should thing: "is it worth it?" Because type somthing wrong and you execute something different and may eff up everything. STRG + r search and completion with TAB is the way to go. Because THAT is not already executing comands.
@CottonInDerTube
@CottonInDerTube 2 жыл бұрын
11:42 Missing STRG + r -- what if you wanna change the found command. Instead of ENTER you press ARROW RIGHT (or left). Why not up or down? because up and down also shows the last|next command from history. Use the least dangerous keys.
@apolloapostolos5127
@apolloapostolos5127 Жыл бұрын
This was exactly what I needed to troubleshoot how I broke my networks. 😅😅
@apolloapostolos5127
@apolloapostolos5127 Жыл бұрын
It’s one thing to start a fresh life without worries. However, I want to know what broke. I want to know how it actually works vs how I thought it worked.
@chrismbah597
@chrismbah597 Жыл бұрын
Sir how can you configure bash history such that the last 2500 commands used are written to the history file
@michalroesler
@michalroesler Жыл бұрын
I want to see more awesome linux contents like this.
@peterbrown6224
@peterbrown6224 2 жыл бұрын
Out of habit, I use history|tail -10 until you reminded me. Thank you.
@Rasspor
@Rasspor 2 жыл бұрын
How can i change my default terminal window? For example, i like terminator as my terminal but by default xterm opens. Also how can i change my prompt format like the one you are using in this video? Thanks for all your tips and tricks in terminal keep up the great work you do.
@joshmcneil1086
@joshmcneil1086 2 жыл бұрын
Hello Martin, I am relatively new to Linux, but I have some idea about your questions. To change your prompt you will need to edit your PS1 environment variable. You can look that up and you'll see some step by steps on how to format it. Once you figure out how you want it to look, you can add that to your ~/.bashrc file, save it, and then run source on ~/.bashrc so that the change will take effect. Also, I think you can change your default terminal by editing your TERM environment variable.
@Rasspor
@Rasspor 2 жыл бұрын
@@joshmcneil1086 Thank you for the info i will give it a try. I always worry about messing up my configurations. But i like linux because i can play around with it and get it to look the way i want it. Thank you again for the reply.
@MyNethaji
@MyNethaji 2 жыл бұрын
Very Excellent video. Appreciate your work..
@7lawe
@7lawe Жыл бұрын
how a delete all recent command ?
@anoldslowhorse
@anoldslowhorse 2 жыл бұрын
Thanks, great video. Ive edited the .bashrc nice tip
@guilherme5094
@guilherme5094 2 жыл бұрын
Nice.
How to Get The Most From Your Server | System Monitoring Best Practices
8:17
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
What is $PATH on a Linux Shell? (The Linux Crash Course Series)
21:52
Learn Linux TV
Рет қаралды 37 М.
How to Use Tar on Linux | Command Line Tips from Linode's Top Docs
23:26
Compare Files in Linux | How to Use the diff Command
19:59
Akamai Developer
Рет қаралды 9 М.
The htop Command | Linux Essentials Tutorial
13:44
Akamai Developer
Рет қаралды 33 М.
Linux Crash Course - Bash History
14:32
Learn Linux TV
Рет қаралды 15 М.
12 MORE Commands That Will Change The Way You Use Linux Forever
22:21
Akamai Developer
Рет қаралды 17 М.
Why so many distros? The Weird History of Linux
8:23
Fireship
Рет қаралды 1,6 МЛН
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 201 М.
Everything You Need to Know About sudo | Linux Essentials Tutorial
23:51
Akamai Developer
Рет қаралды 42 М.