• Contact Us
  • Subscribe
  • Volunteer with us
Saturday, July 2, 2022
No Result
View All Result
In3case
  • Computer Security
  • Website Development
  • Web Hosting
  • Consumer Electronics
    • PCs
      • Laptops
    • SmartPhones
    • Smart Watches
  • Games
  • Play Online
  • Opinions
  • How to
  • Computer Security
  • Website Development
  • Web Hosting
  • Consumer Electronics
    • PCs
      • Laptops
    • SmartPhones
    • Smart Watches
  • Games
  • Play Online
  • Opinions
  • How to
No Result
View All Result
In3case
No Result
View All Result
ADVERTISEMENT
Home Tech

List of most used Linux commands

Linux commands for beginners

by amreos
June 1, 2021
in How to, Tech
Reading Time: 2 mins read
0
List of most used Linux commands
40
VIEWS
Share on FacebookShare on TwitterSend

Last Updated on June 1, 2021 by avracham

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 
amreos
amreos

Computer security Engineer , Website Developer , Ruby on Rails Architect, BSD in Computer and Control Engineering.

Tags: cmdLinuxUbuntu
Next Post
Remote Desktop Connection

Remote Desktop Connection

Discussion about this post

Recent News

Thermal paste

Liquid metal thermal paste vs thermal paste

April 11, 2022
Arduino

MKR WiFi 1010 UNO Arduino board, How to use

April 19, 2022

Categories

  • Children and Parenting (6)
  • Cloud Hosting (1)
  • Computer Engineering (2)
  • Computer Security (7)
  • Consumer Electronics (24)
  • crypto (1)
  • Digital Marketing (2)
  • Editors' choice (4)
  • Educational (1)
  • Electrical Engineering (1)
  • Games (16)
  • How to (17)
  • Kindle (2)
  • Laptops (8)
  • Opinions (8)
  • PCs (2)
  • Play Online (8)
  • Shared Hosting (2)
  • Smart Watches (4)
  • SmartPhones (7)
  • Tech (23)
  • VPS Hosting (3)
  • Web Hosting (13)
  • Website Development (6)
  • Wordpress Hosting (1)

© 2021 in3case | Legal

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

© 2021 in3case

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.