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 
Facebook Comments
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
Plugin Install : Widget Tab Post needs JNews - View Counter to be installed
  • Trending
  • Comments
  • Latest
How to connect Instax printers

How to connect Instax printers

December 26, 2022
How to connect dstv decoder to tv

How to connect dstv decoder to tv

December 26, 2022
Connect two Bluetooth headphones at the same time

Connect two Bluetooth headphones at the same time

December 26, 2022
How to connect boat airdopes

How to connect boat airdopes

December 21, 2022

© 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