What Are the Basic Commands in Ubuntu?

What Are the Basic Commands in Ubuntu?
Contents

What are the commands used in Ubuntu?

A list of basic troubleshooting commands and their function within Ubuntu Linux

Command Function Syntax
cp Copy file. cp /dir/filename /dir/filename
rm Delete file. rm /dir/filename /dir/filename
mv Move file. mv /dir/filename /dir/filename
mkdir Make a directory. mkdir /dirname

How do I learn commands in Ubuntu?

Basic Linux command line tutorial to start developing in Ubuntu…

  1. Clear the terminal screen: clear.
  2. See the location of the pointer : pwd.
  3. Show contents of folder : ls.
  4. Move up: cd ..
  5. Move to specific folder : cd folderName.
  6. Move to root: cd /
  7. Show all files (hidden also): ls -a.
  8. See all files and also details : ls -l.
Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.