iT邦幫忙

0

Basic Linux Commands Everyone Should Know

Source: https://www.techbrackets.com/basic-linux-commands/

pwd
Prints The Current Working Directory

ls
Used To Lists Files

cd
Used To Change Current Working Directory

mkdir
Allow User To Create Directories

rmdir
Used To Remove Empty Directories

rm

Used To Delete Files, Directories Etc.

mv

Allow User Move Files Or Directories

cat

Used To Create, View, Concatenate Files.

touch

Lets You Create Any Type Of File

cp
Used To Copy Files Or Directories

man
Used To Get Help On A Command

--help
Used To Get Help On A Command

clear
Clear The Terminal Window.

locate
Helps In Locating The File In The Linux System

history
View The Previously Executed Commands.

ping
Helps In Checking Network Connectivity

sudo
Allows User To Execute Commands With Administrative Or Root Privileges

echo
Used To Display Line Of Text/String That Are Passed As An Argument

apt-get
Helps In Handling Packages In Linux

chmod
Used To Change The Permission Associated With Any File

df
Displays Information Related To The Linux File System Like Total And Available Space.

du
Used To Determine The Disk Usage Of A File

hostname
Used To Obtain The DNS Name And Set Hostname

zip
Used For Compressing Files

unzip
Used For Decompressing

uname
Displays The Information About The System

passwd
Lets You Change Your Password

shutdown
Used To Shut Down The System In A Safer Way

halt
Instructs The Hardware To Stop All The CPU Functions And Reboot The System

reboot
It Reboots The System


尚未有邦友留言

立即登入留言