---
title: "#cli-tips articles | Hashnode"
description: "Explore 1 articles tagged #cli-tips on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/cli-tips"
---

Tag

# #cli-tips

1 posts · 0 followers

[Erdal TAŞKESEN](https://hashnode.com/@erdaltsksn) · [May 30, 2019](https://hashnode.com/posts/how-to-execute-the-last-command-with-sudo/6390d01d120246e215ff9f95)

### [How to execute the last command with Sudo](https://www.erdaltaskesen.com/how-to-execute-the-last-command-with-sudo?utm_source=hashnode&utm_medium=feed)

If you forgot to add sudo in your last command, you don’t need to type it completely. To execute ant last executed command by as superuser: sudo !! Also, The double exclamation point will repeat the last command. This could be useful when you’ve alr...

1 min read · [erdaltaskesen.com](https://www.erdaltaskesen.com/how-to-execute-the-last-command-with-sudo?utm_source=hashnode&utm_medium=feed)
