In this video, we will be learning basic terminal commands which will allow us to create, copy, rename, move, and delete file and directories. These commands include: touch, mkdir, cp, mv, rm, as well as exploring some options we can use with these commands. Let’s get started.

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey’s Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –

#Linux #Mac

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

47 Comments

Shahed Ahmed

April 14, 2020

you cover a lot in short time comparison to others… Thanks for video

Reply

Pei-Ling Wu

April 14, 2020

Teaching is very good but texts look too small. Hope to see changes in your future videos.

Reply

Charles Pitagan

April 14, 2020

Any suggestion sir about laboratory exercises with my students about linux?

Reply

GoldenPixel personal account

April 14, 2020

I love the fact that MacOS is based on Unix too so i can follow your tutorial on my own Linux machine

Reply

Ali Mohammed

April 14, 2020

Hi there
Pleas help me are the shared drive can be deleted
I’m use translation app so I hope you get the idea

Reply

Arina Lenkova

April 14, 2020

Thank you for this helpful video. I like this article as well, it also helped me a lot in this task https://nektony.com/how-to/duplicate-files-mac

Reply

ednakazuya12

April 14, 2020

Thank you

Reply

bhola prasad

April 14, 2020

Man, you totally nailed it. God bless You.

Reply

Iloilo City Public Library

April 14, 2020

can you help me,

-command to create a copy what is that?

Reply

Daylon Norris

April 14, 2020

𝗜𝗙 𝗢𝗣𝗘𝗡 𝗖𝗢𝗠𝗠𝗔𝗡𝗗 𝗗𝗢𝗘𝗦𝗡'𝗧 𝗪𝗢𝗥𝗞

JUST USE :
– xdg-open <file_name.file extension>
_______________OR_______________________
– vi <file_name.file extension>
– vim <file_name.file extension>
– emacs <file_name.file extension>
– nano <file_name.file extension>
– gedit <file_name.file extension> (gnome's default editor)
– leafpad <file_name.file extension> (lxde's default editor)
– kedit <file_name.file extension> (KDE's default editor)

Reply

Rectangle101

April 14, 2020

I think I might have deleted everything! Liked anyway,

Reply

Hitesh salgotra

April 14, 2020

Luv u alot man u solved my problem from which i was suffering from 2 days

Reply

INDRA TRI CAHYO

April 14, 2020

can we remove directory with 'space' name? like ' this is dir '?

Reply

shawne 87

April 14, 2020

IM GETTING AGRAVATED AND IM ABOUT TO DESTROY MY 2019 IMAC 4K WHAT EVER IF I CANT DELETE THIS FREAKING BACK UP FILE. How do I delete this file in terminal ( terminal is extremely difficult and severely advance for geeks) my file says backups.backupdb how do I get this damn file out of my life and off from the computer, through terminal? terminal keeps saying no such file, its F…. ing annoying. 🤬

Reply

Gerardo Collado

April 14, 2020

try this sudo rm -rf *

Reply

Ian Y

April 14, 2020

another great video

Reply

Ethan Chan

April 14, 2020

finally found a way to delete my porn collection without clearing the trash bin, thanks a bunch

Reply

SAURABH SINGH

April 14, 2020

it helped me alot…

Reply

space i s water

April 14, 2020

Thank you so much

Reply

Bryan J

April 14, 2020

Can anyone tell me who he resets his code(bring it back to the top). If it's the type of terminal hes using or what?

Reply

Sandvich Collector #TF2 for life

April 14, 2020

I have a question: Can you undo a command in this?

Reply

provision abpro

April 14, 2020

thank you for those regular basics. THank you man for sharing and waiting to see more.

Reply

Alyona Rybakova

April 14, 2020

lets say you accidentally delete/ force delete the wrong file…would you be able to retrieve it from your trash bin? aka where does the deleted file actually go?

Reply

Axnfell

April 14, 2020

You don’t explain how to remove a directory that has files inside that even running ‘sudo rm -rf directoryname does not delete, I’ve got 30+ directories that I just cannot get rid of, it states there are files inside but there are not…

Reply

Dharmesh Ratan

April 14, 2020

How can I copy a folder from one partition to another using terminal?

Reply

Amrit Kumar Behera

April 14, 2020

Thank you very much

Reply

Boubacar Abida Maiga

April 14, 2020

Excellent tutorial. Many Thanks.

Reply

J. Lewis

April 14, 2020

Great stuff! Always a big help. So, what would the command be to copy the file.txt from Desktop/dir1/dir2/dir3/file.txt into dir1?

Reply

V N

April 14, 2020

Thank you! Your tutorials are simple and sweet

Reply

yashwanth kumar

April 14, 2020

thank you very much for the video.. its very helpfulll.. thank u

Reply

Bola Muyis

April 14, 2020

Thank you

Reply

Joshua Matos

April 14, 2020

Your tutorials are great! Thanks!

Reply

Thayakorn Rakwetpakorn

April 14, 2020

-r and -R the same right?

Reply

Vijay Rachakonda

April 14, 2020

How did you get your text file to automatically open in SublimeText? Mine opens in TextEdit.
Thanks!

Reply

Lutz Papenfuß ManCave.Productions

April 14, 2020

How would you copy or move files with extra safety? I mean if you want to make sure an exact copy was transferred. Is terminal able to hash while copy/move files?

Reply

esmoa

April 14, 2020

Here are some of the commands used in this video:
cd for changing directory.
ls for showing a list of all the files in the directory.
ls -la for showing the list of files in list format + showing all the hidden files.
mkdir for making a new directory.
touch for creating a new file.
cp for copying a file.
cp -r for copy a directory.
mv for renaming and / or moving a file.
open for opening a file.
rm for removing a file.
rm -rf for force removing a directory.
man (-r) this will show some information about -r. -r is an example.

Reply

Escape the Matrix

April 14, 2020

Love your videos!

Reply

Ahmed Hadi

April 14, 2020

Can you move fils to directories WITHOUT navigating them. I mean, can u move a file that you’re not sure where it is located but you know its name to a certain directory?

Reply

TM J

April 14, 2020

Is it possible to delete all files and folders  recursively on Mac OS

Reply

Y Aakash

April 14, 2020

is there any way to configure for sending files deleted through 'rm' command to recycle bin?
Thanks, tutorial is awesome 🙂

Reply

Guy Yves Moro

April 14, 2020

very helpful and awesome video… thx

Reply

John Hill Escobar

April 14, 2020

Replace "open" with "xdg-open" in the script, if the "open" command does not work

Reply

migmar wangdue

April 14, 2020

oh thank you so much,it helps a lots and learn a lots !

Reply

mano trini

April 14, 2020

to access files or directories in the root directory that stary with C what command do you type

Reply

Shelly Shamsul

April 14, 2020

Awesome! very useful and clean tutorial.

Reply

Maciek Jankowski

April 14, 2020

Good man!!! Thank you

Reply

Erdem Alpkaya

April 14, 2020

Great tutorial! Thank you.

Reply

Leave a Reply