<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq" -->

---
title: 31 Linux Commands Every Ubuntu User Should Know | daily.dev
description: The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation. There is no undo option after you delete files...
canonical: https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 31 Linux Commands Every Ubuntu User Should Know | daily.dev
og:description: The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation. There is no undo option after you delete files...
og:url: https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq
og:image: https://api.daily.dev/og/posts/rAN49Q0lq.png
og:image:alt: 31 Linux Commands Every Ubuntu User Should Know
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# 31 Linux Commands Every Ubuntu User Should Know

**[It's Foss](https://daily.dev/sources/itsfoss)** · [@abhishek_foss](https://daily.dev/abhishek_foss) · 16 min read · 54 upvotes · 2 comments

## Summary

The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation. There is no undo option after you delete files in the command line. If you are afraid of deleting the wrong file, use the interactive mode with option -i, which gives you an additional prompt to confirm the action.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://itsfoss.com/essential-ubuntu-commands/>

## Community discussion

Top comments from developers on daily.dev.

**@alejandro** · 2 upvotes

> Nice article! It'd be great you added curl, wget, tar and dpkg. They're great commands too :D

---

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

[View this post on daily.dev](https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"31 Linux Commands Every Ubuntu User Should Know","url":"https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq"},"datePublished":"2022-11-09T05:24:25.598Z","dateModified":"2022-11-09T05:24:25.482Z","description":"The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation. There is no undo option after you delete files...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06f3ad11140d070b4cb4641bf6187bba","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06f3ad11140d070b4cb4641bf6187bba","isAccessibleForFree":true,"articleSection":"It's Foss","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Abhishek Prakash","url":"https://daily.dev/abhishek_foss","image":"https://avatars.githubusercontent.com/u/3172915?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1590}},"commentCount":2,"discussionUrl":"https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":54},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"linux,cli,ubuntu,snap","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"It's Foss","item":"https://daily.dev/sources/itsfoss"},{"@type":"ListItem","position":3,"name":"31 Linux Commands Every Ubuntu User Should Know"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/31-linux-commands-every-ubuntu-user-should-know-ran49q0lq","comment":[{"@type":"Comment","text":"Nice article! It’d be great you added curl, wget, tar and dpkg. They’re great commands too :D","datePublished":"2022-11-09T08:12:29.071Z","url":"https://daily.dev/posts/rAN49Q0lq#c-kGaiRwuD-","author":{"@type":"Person","name":"alejandro","url":"https://daily.dev/alejandro","image":"https://lh3.googleusercontent.com/a-/AOh14GilxcHR94Y7Lx6KLR1IhbbYoBjNgX6K1EZM1ql17w=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

