0% found this document useful (0 votes)
17 views2 pages

Networking and Linux Commands Notes

Uploaded by

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

Networking and Linux Commands Notes

Uploaded by

nocop91880
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Networking Protocols and Linux Commands - Study Notes

Networking Protocols - Real World Use

1. Real-World Usage of Basic Networking Protocols

HTTP: Used in web browsing. Example: Opening http://example.com in browser.

HTTPS: Secure web browsing with encryption. Example: https://facebook.com.

FTP: Transfers files between systems. Example: FileZilla for website deployment.

TCP: Reliable transmission protocol. Example: File downloads or emails.

UDP: Fast, low-latency protocol. Example: Zoom, YouTube.

DNS: Resolves domain names to IPs. Example: www.google.com -> IP.

DHCP: Assigns IPs automatically. Example: Joining public Wi-Fi.

SMTP, IMAP, POP3: Used in emails. Example: Gmail sends/receives mails.

Basic Linux Commands - Summary

2. Basic Linux Commands and Their Usage

ls: List files and directories. Example: ls -l

cd: Change directory. Example: cd /home/user/

pwd: Show current path. Example: pwd

cat: Display file contents. Example: cat file.txt

echo: Print text to terminal. Example: echo Hello

nano: Simple text editor. Example: nano file.txt

more: View file page by page. Example: more data.txt

less: Like more, with backward scroll. Example: less log.txt

head: Show first lines. Example: head -n 10 file.txt

tail: Show last lines. Example: tail -f logfile.log

awk: Process text data. Example: awk '{print $1}' file.txt

grep: Search inside files. Example: grep "error" logfile.txt

mkdir: Create directory. Example: mkdir newdir

rm: Remove files/folders. Example: rm file.txt / rm -r folder

Page 1
Networking Protocols and Linux Commands - Study Notes

cp: Copy files. Example: cp a.txt b.txt

mv: Move or rename. Example: mv old new

chmod: Change permissions. Example: chmod +x script.sh

top/htop: View system processes.

Page 2

You might also like