50 Linux commands you must know as a regular user - STRIX.D

Hot

Sunday, October 24, 2021

50 Linux commands you must know as a regular user


To view contents of directory (list)- ls

Path of current directory- pwd

Change direction- cd

Make new directory- mkdir

Move files/ Rename files- mv

Copy files- cp

Remove files- rm

Create blank new file- touch

Delete directory- rmdir

List content of file to terminal- cat

Clear terminal window- clear

Move data into file- echo

Read text file one screen at a time- less

Show manual of linux commands- man

Enables you to perform tasks that require administrative or root permission- sudo

Task manager in terminal- top

Used to archive multiple files into a tarball- tar

Used to searching words in specific files- grep

View first line of any text file- head 

View last line of ant text file- tail

Compares the contents of two files line by line- diff

Used to killing unresponsive program- kill

Display all current jobs along with their statuses- jobs

Is a command lime utility for sorting lines of text files- sort

Info about system disk- df

Check how much space files directory takes- du

To compress your files into a zip archive- zip

To extract the zipped files from a zip archive- unzip

A secure encrypted connection between two hosts over and insecure network- ssh

Shows calendar- cal

Command line tool for interaction with packaging system- apt

Custom shortcuts used to represent a command- alias

Current user info- w

Used to locate the binary, source, manual page files- whereis

Used to get one-line man page description- whatis

Used to create a new user- userdd

Used to changing password of current user- passwd

Print current user- whoami

Print current time when machine starts- uptime

Print free disk space info- free

Print used commands history- history

Print detail information about your Linux system- uname

To check connectivity status to a server- ping

To change permission of files and directories- chmod

To change ownership of  files and directories- chown

Using find searches for files and directories- find

Used to locate a file, just like the search command in windows- locate

Print ip address stuff- ifconfig

Similar to ifconfig but shortest print- ip a

Gives you a short dump of info about user- finger


Thanks for visiting.....!

No comments:

Post a Comment

Please do not enter any spam link in the comment box.