0% found this document useful (0 votes)
10 views9 pages

Linux Command Line Basics Guide

Linux is a Unix clone developed by Linus Torvalds and is widely used, powering 64% of the world's servers and devices like Android phones. It combines the Linux kernel with GNU utilities to create a free Unix-like operating system. The document also outlines basic Linux commands for file system navigation, management, and content viewing.

Uploaded by

Saravanan V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views9 pages

Linux Command Line Basics Guide

Linux is a Unix clone developed by Linus Torvalds and is widely used, powering 64% of the world's servers and devices like Android phones. It combines the Linux kernel with GNU utilities to create a free Unix-like operating system. The document also outlines basic Linux commands for file system navigation, management, and content viewing.

Uploaded by

Saravanan V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Introduction to Linux

“Linux at the Command Line”


What is Linux?
 Linux is a Unix clone written from scratch by
Linus Torvalds with assistance from a
loosely-knit team of hackers across the Net.
 Unix is a multitasking, multi-user computer

operating system originally developed in


1969 by a group of AT&T employees at Bell
Labs.
 64% of the world’s servers run some variant

of Unix or Linux. The Android phone and the


Kindle run Linux.
Linux Has Many Distributions
What is Linux?
Linux + GNU Utilities = Free
Unix

 a set of small programs


 Linux is an O/S core written by Richard
written by Linus Stallman and others. They
are the GNU utilities.
Torvalds and others
[Link]
AND
root
The root user is the master
Online Linux Terminal
[Link]
Basic Linux Commands-File System Navigation
and Listing

Command Description Example Use

Print Working Directory. Shows


pwd pwd
the current directory path.

List directory contents. Shows


ls files and folders in the current ls -l (for long listing format)
directory.

cd /home (absolute path)

Change Directory. Used to move cd .. (move up one level)


cd
between directories.

cd ~ (move to the home


directory)

12/01/2026 7
Basic Linux Commands-File and
Directory Management
Command Description Example Use

Make Directory. Creates a new


mkdir mkdir practice_dir
folder.

Creates an empty new file or


touch updates the timestamp of an touch [Link]
existing file.

cp Copy files or directories. cp [Link] [Link]

mv [Link] docs/ (move)

Move or rename files and


mv
directories.
mv [Link] renamed_file.txt
(rename)

rm Remove files. rm old_file.txt

Remove directory (only if it's


rmdir rmdir empty_folder
empty).

Recursively remove a directory


rm -r rm -r practice_dir
and all its contents.

12/01/2026 8
Basic Linux Commands-Viewing and Modifying
File Content

Command Description Example Use

Concatenate and print file


cat contents to the terminal. Best cat [Link]
for small files.

echo "Hello Linux" > new_file.txt


(overwrites)

Prints text to the terminal, often


echo
used to add content to a file.

echo "More text" >>


new_file.txt (appends)

Displays the head (first 10 lines)


head head [Link]
of a file.

Displays the tail (last 10 lines) of


tail tail [Link]
a file.

12/01/2026 9

You might also like