in3case
  • Computer Security
  • Website Development
  • Web Hosting
  • Consumer Electronics
    • PCs
      • Laptops
    • SmartPhones
    • Smart Watches
  • Games
  • Play Online
  • Opinions
  • How to
  • services
No Result
View All Result
  • Computer Security
  • Website Development
  • Web Hosting
  • Consumer Electronics
    • PCs
      • Laptops
    • SmartPhones
    • Smart Watches
  • Games
  • Play Online
  • Opinions
  • How to
  • services
No Result
View All Result
in3case
No Result
View All Result
Home Trending
List of most used Linux commands

List of most used Linux commands

Linux commands for beginners

Ibrahim Mohamad by avra
August 27, 2022
in How to, Tech
0
ADVERTISEMENT
325
SHARES
2.5k
VIEWS
Share on FacebookShare on Twitter

List of most used Linux commands

Contents hide
1 List of most used Linux commands
1.1 Introduction
1.2 Linux Commands
1.2.1 How to update Linux packages
1.2.2 How to upgrade Linux packages
1.2.3 Print current directory
1.2.4 Get a list of the items in the current directory
1.2.5 Change directory
1.2.6 Copy command
1.2.7 Move command
1.2.8 Delete/Remove file/directory command
1.2.9 Change permission “chmod”
1.2.10 Clean screen
1.2.11 Change ownership of files and directories
1.2.12 Add new user
1.2.13 Make Directory
1.2.14 Text editor

Introduction

Here we go again, With this Article “List of most used Linux commands”.

This article would summarize and explain the most used Linux commands, remember that some of these commands would need sudo privileges, all you need to do is to add sudo at the beginning.

Linux Commands

How to update Linux packages

apt-get update

How to upgrade Linux packages

apt-get upgrade

Print current directory

pwd

Get a list of the items in the current directory

ls

Change directory

cd

Copy command

cp
cp /source /destination/
cp example.mp4 /home/
//copy multiple files
cp  file.avi file.doc sign.mp3 /home/

Move command

mv
mv source destination
mv file.doc myfile.doc
mv file.doc /home

Delete/Remove file/directory command

rm
rm filename.txt
//delete empty folder
rm foldername
//delete folder wih files
rm -r foldername
//Delete folder with protected files
rm -rf foldername

Change permission “chmod”

chmod options permissions filename/foldername
chmod -R 755 /var/www/html/

Clean screen

clear

Change ownership of files and directories

chown [new_owner] [file]
chown admin file.txt

Add new user

adduser username

Make Directory

mkdir dirname

Text editor

nano filename

 

Articles that could be useful for you

  • How to install Ubuntu Desktop on VMware
  • Install WordPress Ubuntu with let’s encrypt 
Tags: cmdLinuxUbuntu
Previous Post

How to install Ubuntu Desktop on VMware

Next Post

Remote Desktop Connection

Ibrahim Mohamad

avra

Next Post
Remote Desktop Connection

Remote Desktop Connection

Please login to join discussion
  • Trending
  • Comments
  • Latest
Bitcoin A good or bad investment

Bitcoin: A good or bad investment

August 27, 2022
Google snake

Google Snake

August 27, 2022
90s video games

90s Video Games

August 27, 2022
How to connect boat airdopes

How to connect boat airdopes

December 21, 2022
How to SSH into Raspberry PI Outside Network

How to SSH into Raspberry PI Outside Network

March 4, 2024
How to Cast on Samsung TV

How to Cast on Samsung TV

March 4, 2024
How to Remote access your Raspberry PI using Putty

How to Remote access your Raspberry PI using Putty

March 4, 2024
How to update Graphics Driver in Windows 10

How to update Graphics Driver in Windows 10

March 4, 2024

© inc3case.com

  • Legal
  • Contact Us

No Result
View All Result
  • Computer Security
  • Website Development
  • Web Hosting
  • Consumer Electronics
    • PCs
      • Laptops
    • SmartPhones
    • Smart Watches
  • Games
  • Play Online
  • Opinions
  • How to
  • services