Basic Linux Commands For Beginner.

Hello Guys, This is our new article on Linux commands. In This article we tell some basic Linux commands that is very useful for every Linux User.
The Linux command-line is a text interface to your computer. Often referred to as the shell, terminal, console, prompt or various some other names. It can provide you fast access from terminal window.

Before we start, you need to know some basic about processes.

What is a daemon?
Daemon is the actual term for those long-running background processes.

What is the init system and Units in systemd ?
If you look at Unix/Linux history, you will find the first process which starts up, is also known as init process.
Units are a standardized way for the systemd to manage various parts of a system.

CommandsDifference
su –super user
pwdabsolute path to current working directory.
calDisplays the calendar of the current month
dateDisplays current time and date.
ttyDisplays current terminal.
clearThis command clears the screen
id information about the current user is displayed.
 –help–help’ option shows usage summary for that command.
 cdChange the current working directory to the directory provided as argument.
 ls the contents of current directory are shown
 ls -l displays a long listing of the files.
mkdircreate a new directory
touchcraete a new file
cpcopy file / directory
cp-rcopy file / directory directory is to be copied, then it must be copied recursively with the files contained in it. 
mvmove file /Directory
rmdirThe rmdir command removes each and every directory specified in the command
cat cat command allows us to create single or multiple files, view contain of file
vimtext editor in Linux
ww command is used to check which users are logged in to the system
fdiskThe fdisk is a tool for getting partition information
history shows the commands you have entered on your terminal so far.
passwdchange the password
shutdownsystem down
rm  rm command is used to removea file,or directory.
rm -r  (-r)option is being  used to remove in a recursive way.
treethe directory structure in a nice visual tree design way
manThis is the command we use to view the help document for any command. 
iinset mode in vim editer
:qexit vim.
:wSave file in vim editer 
:wqSave and exit  file in vim editer 
:q!quit without saving the current file
sudo useraddThe useradd command adds a new user to the System.
.bashrcthe (barshrc) is a special configuration file.
ps auxhows all the processes from your computer
kill kill/stop a particular process
aptthe package management system for the Debian Linux distribution.
apt-getupdate all the package information for the Debian repositories.
ip addr show the ip address of the system
sshremote login
head displays the first 10 lines of a file
taildisplays the last 10 lines of a file
 wc This command counts lines, words and letters of the input given to it.
grepThe ‘grep’ command searches for a pattern in a file (standard input). 
whoami the user who is currently logged in
yuminstall software / peckge 

I hope you like our article on Linux Commands. These are some basic commands who help you in work faster. If you have any query regarding this or any technical problem mention in comment box.

Thank You 🙂

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Powered by WordPress.com.

Up ↑

Create your website at WordPress.com
Get started
%d bloggers like this: