---
title: "Learn Linux in 180s - history command"
url: https://daily.dev/posts/learn-linux-in-180s---history-command-hirqfxfpo
source_url: https://www.youtube.com/watch?v=3e2oYpEKrXE
type: video:youtube
source: "David Bombal"
published: 2026-06-16T20:20:43.125Z
updated: 2026-06-16T20:20:56.170Z
tags: ["linux", "cli", "bash"]
reading_time: 2
upvotes: 4
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Learn Linux in 180s - history command

**[David Bombal](https://daily.dev/sources/davidbombal)** · 2 min read · 4 upvotes · 0 comments

## Summary

A quick beginner's guide to the Linux `history` command, covering how to view past commands, rerun them using `!<number>`, perform reverse search with Ctrl+R, and use `sudo !!` to rerun the last command with elevated privileges.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=3e2oYpEKrXE>

## Similar posts on daily.dev

- [Linux command line tips: HISTCONTROL, frozen screens, and more](https://daily.dev/posts/linux-command-line-tips-histcontrol-frozen-screens-and-more-zrtv8potx) · All Things Open · 1 upvotes · 1 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#cli](https://daily.dev/tags/cli), [#bash](https://daily.dev/tags/bash)

[View this post on daily.dev](https://daily.dev/posts/learn-linux-in-180s---history-command-hirqfxfpo)
