SlideShare a Scribd company logo
Samuel
Folasayo
Top Linux 10 Commands for
Windows Admins
Bridging the Gap Between Windows and Linux Administration
Joe Nyirenda
Learning Objectives
● Understand the importance of Linux commands for Windows
Administrators
● Learn the top 10 Linux commands and their Windows counterparts
● Explore practical examples to simplify cross-platform administration
● Gain confidence in using Linux for common administrative tasks
Why Learn Linux Commands?
Cross-Platform Expertise: Linux powers most servers globally
Versatility: Enhance troubleshooting and administration skills
Cost-Effectiveness: Open-source and widely adopted
Growing Demand: Many organizations run hybrid environments
Why Windows Admins Need Linux Skills
Increasing demand for multi-platform environments
Linux servers are prevalent in cloud and enterprise solutions
Career growth: Cross-platform expertise is highly valued
Average UK salary for Linux Admins is £57,500 per year
Command #1: ls (List Directory Contents)
Commands Description
ls -l Displays detailed file info (permissions, size, etc.)
ls -a Shows hidden files
ls -h Displays file sizes in human-readable format
ls -t Sorts by modification time
ls -r Lists in reverse order
Purpose: Lists directory contents
Windows Equivalent: dir
Command #2: cd (Change Directory)
Commands Description
cd /var/log Navigate to the log directory
cd .. Move up one directory
cd ~ Go to the home directory
cd - Switch to the previous directory
cd / Navigate to the root directory
Purpose: Changes the current directory
Windows Equivalent: cd
Command #3: cp (Copy Files)
Commands Description
cp file.txt backup/ Copies file.txt to /backup/
cp -r data backup/ Recursively copies the /data directory
cp -i file.txt backup/ Prompts before overwriting files
cp -v file.txt backup/ Displays verbose output
cp --preserve=timestamps file.txt
backup/
Preserves file timestamps
Purpose: Copies files and directories
Windows Equivalent: copy
Command #4: mv (Move Files)
Commands Description
mv oldname.txt newname.txt Renames a file
mv file.txt backup/ Moves a file to the backup directory
mv -i file.txt backup/ Prompts before overwriting
mv -v file.txt backup/ Displays verbose output
mv *.txt backup/ Moves all .txt files to /backup/
Purpose: Moves or renames files/directories
Windows Equivalent: move or rename
Command #5: rm (Remove Files)
Commands Description
rm file.txt Deletes file.txt
rm -r old_folder Recursively deletes a directory
rm -i file.txt Prompts before deletion
rm -f file.txt Forces deletion without prompts
rm -v file.txt Displays verbose output
Purpose: Deletes files or directories
Windows Equivalent: del or rmdir
Command #6 - mkdir (Create Directories)
Commands Description
mkdir projects Creates a directory named "projects
mkdir -p projects/2024 Creates parent directories as needed
mkdir -v projectt-s Displays verbose output
mkdir /tmp/testdir Creates a directory in /tmp
mkdir --mode=700 private Sets permissions during creation
Purpose: Creates new directories
Windows Equivalent: mkdir
Command #7 - pwd (Print current working directory)
Commands Description
pwd Displays the full path of the current directory
pwd -P Prints the actual path, resolving symbolic links
echo $(pwd) Embeds the current path in scripts
pwd > path.txt Saves the current path to a file (path.txt)
pwd | tee path.txt Saves the current path to a file and prints it to the
terminal
Purpose: Prints the current working directory
Windows Equivalent: cd (without arguments)
Command #8: cat (View File Content)
Commands Description
cat example.txt Shows the content of example.txt
cat file1.txt file2.txt Concatenates multiple files
cat -n example.txt Numbers the lines in the output
cat -b example.txt Numbers non-empty lines
cat example.txt > newfile.txt Redirects output to another file
Purpose: Displays file contents
Windows Equivalent: type
Command #9: chmod (Change File Permissions)
Commands Description
chmod 755 script.sh Grants read, write, and execute permissions to the
owner
chmod 644 file.txt Sets read/write for owner, read-only for others
chmod -R 700 /private Recursively sets permissions
chmod +x s1cript.sh Makes a file executable file
chmod --reference=file1.txt file2.txt Copies permissions from file1.txt to file2.txt
Purpose: Modify file/folder permissions
Windows Equivalent: No direct equivalent; manage via file
properties
Command #10: top (Monitor System Resources)
Purpose: Displays running processes and resource usage
Windows Equivalent: Task Manager (GUI) or tasklist (CLI)
Command Description
top Shows real-time system stats
top -U username Filters by a specific user
Command #10: top (Monitor System Resources)
Command Description
top -p PID Displays a specific process
top - 5 Updates every 5 seconds
top -n 10 Shows 10 iterations and exits
Command Tips and Tricks
Streamline Navigation: Use ls && cd to list and enter directories efficiently
Efficient File Management: Pair cp and mv to back up and organize files in one
step
Safe Deletion: Preview files with ls before removing with rm
Quick Directory Setup: Create and move into a directory using mkdir && cd
Permission Management: Confirm location (pwd) before applying changes with
chmod
Simplify Monitoring: View logs (cat) while tracking system performance with top
Chaining Commands: Use && to execute tasks sequentially or | to process
Command Tips and Tricks
Streamline Navigation: Use ls && cd to list and enter directories efficiently
Efficient File Management: Pair cp and mv to back up and organize files in one step
Safe Deletion: Preview files with ls before removing with rm
Command Tips and Tricks
Quick Directory Setup: Create and move into a directory using mkdir && cd
Permission Management: Confirm location (pwd) and apply changes with chmod
Command Tips and Tricks
Simplify Monitoring: View logs (cat) while tracking system performance with
top
Conclusion
Linux knowledge enhances multi-platform administration
These 10 commands are your foundation for productivity
Keep practicing and exploring new tools

More Related Content

PPTX
Linux commands presentation topic discrete structure.ppt
PDF
Basic linux commands
PPT
Linux ppt
PPTX
Unix Trainning Doc.pptx
PPT
Linux basic commands
PPTX
Introduction to linux day1
PDF
Linux comands for Beginners
PDF
3.1.a linux commands reference
Linux commands presentation topic discrete structure.ppt
Basic linux commands
Linux ppt
Unix Trainning Doc.pptx
Linux basic commands
Introduction to linux day1
Linux comands for Beginners
3.1.a linux commands reference

Similar to Top Linux 10 Commands for Windows Admins (20)

PPTX
Linux commands
DOCX
Basic linux commands
DOCX
40 important command for linux
PPTX
Linux commands
DOCX
Linux basic commands
PPTX
Linux administration training
PPTX
Working with Files _ Directories in Linux(21-25).pptx
PPT
Linux file system nevigation
PDF
linux commands.pdf
PPTX
Linux Command.pptx
PPTX
Using linux in schools
PDF
Termux commands-list
PDF
Linux command line
PPT
Linux commands
PPT
Linux commands
PPT
Linux commands
PPTX
(Practical) linux 101
PPT
Common linux ubuntu commands overview
PPTX
Linux Commands.pptx
PDF
Quick guide of the most common linux commands
Linux commands
Basic linux commands
40 important command for linux
Linux commands
Linux basic commands
Linux administration training
Working with Files _ Directories in Linux(21-25).pptx
Linux file system nevigation
linux commands.pdf
Linux Command.pptx
Using linux in schools
Termux commands-list
Linux command line
Linux commands
Linux commands
Linux commands
(Practical) linux 101
Common linux ubuntu commands overview
Linux Commands.pptx
Quick guide of the most common linux commands
Ad

More from techprane (17)

PDF
REDIS + FastAPI: Implementing a Rate Limiter
PDF
Performance Optimization MongoDB: Compound Indexes
PPTX
SSO with Social Login Integration & FastAPI Simplified
PDF
A Beginner's Guide to Tortoise ORM and PostgreSQL
PDF
Boost Your API with Asynchronous Programming in FastAPI
PDF
Top 10 Network Troubleshooting Commands.pdf
PPTX
Using jq to Process and Query MongoDB Logs
PPTX
How to Integrate PostgreSQL with Prometheus
PPTX
10 Basic Git Commands to Get You Started
PPTX
Implementing full text search with Apache Solr
PPTX
How to Overcome Doubts as a New Developer(Imposter Syndrome)
PPTX
How to Use JSONB in PostgreSQL for Product Attributes Storage
PDF
A Beginners Guide to Building MicroServices with FastAPI
PDF
Implementing Schema Validation in MongoDB with Pydantic
PPTX
Storing Large Image Files in MongoDB Using GRIDFS
PPTX
Open Source Mapping with Python, and MongoDB
PPTX
Learning MongoDB Aggregations in 10 Minutes
REDIS + FastAPI: Implementing a Rate Limiter
Performance Optimization MongoDB: Compound Indexes
SSO with Social Login Integration & FastAPI Simplified
A Beginner's Guide to Tortoise ORM and PostgreSQL
Boost Your API with Asynchronous Programming in FastAPI
Top 10 Network Troubleshooting Commands.pdf
Using jq to Process and Query MongoDB Logs
How to Integrate PostgreSQL with Prometheus
10 Basic Git Commands to Get You Started
Implementing full text search with Apache Solr
How to Overcome Doubts as a New Developer(Imposter Syndrome)
How to Use JSONB in PostgreSQL for Product Attributes Storage
A Beginners Guide to Building MicroServices with FastAPI
Implementing Schema Validation in MongoDB with Pydantic
Storing Large Image Files in MongoDB Using GRIDFS
Open Source Mapping with Python, and MongoDB
Learning MongoDB Aggregations in 10 Minutes
Ad

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Monthly Chronicles - July 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Big Data Technologies - Introduction.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation

Top Linux 10 Commands for Windows Admins

  • 1. Samuel Folasayo Top Linux 10 Commands for Windows Admins Bridging the Gap Between Windows and Linux Administration Joe Nyirenda
  • 2. Learning Objectives ● Understand the importance of Linux commands for Windows Administrators ● Learn the top 10 Linux commands and their Windows counterparts ● Explore practical examples to simplify cross-platform administration ● Gain confidence in using Linux for common administrative tasks
  • 3. Why Learn Linux Commands? Cross-Platform Expertise: Linux powers most servers globally Versatility: Enhance troubleshooting and administration skills Cost-Effectiveness: Open-source and widely adopted Growing Demand: Many organizations run hybrid environments
  • 4. Why Windows Admins Need Linux Skills Increasing demand for multi-platform environments Linux servers are prevalent in cloud and enterprise solutions Career growth: Cross-platform expertise is highly valued Average UK salary for Linux Admins is £57,500 per year
  • 5. Command #1: ls (List Directory Contents) Commands Description ls -l Displays detailed file info (permissions, size, etc.) ls -a Shows hidden files ls -h Displays file sizes in human-readable format ls -t Sorts by modification time ls -r Lists in reverse order Purpose: Lists directory contents Windows Equivalent: dir
  • 6. Command #2: cd (Change Directory) Commands Description cd /var/log Navigate to the log directory cd .. Move up one directory cd ~ Go to the home directory cd - Switch to the previous directory cd / Navigate to the root directory Purpose: Changes the current directory Windows Equivalent: cd
  • 7. Command #3: cp (Copy Files) Commands Description cp file.txt backup/ Copies file.txt to /backup/ cp -r data backup/ Recursively copies the /data directory cp -i file.txt backup/ Prompts before overwriting files cp -v file.txt backup/ Displays verbose output cp --preserve=timestamps file.txt backup/ Preserves file timestamps Purpose: Copies files and directories Windows Equivalent: copy
  • 8. Command #4: mv (Move Files) Commands Description mv oldname.txt newname.txt Renames a file mv file.txt backup/ Moves a file to the backup directory mv -i file.txt backup/ Prompts before overwriting mv -v file.txt backup/ Displays verbose output mv *.txt backup/ Moves all .txt files to /backup/ Purpose: Moves or renames files/directories Windows Equivalent: move or rename
  • 9. Command #5: rm (Remove Files) Commands Description rm file.txt Deletes file.txt rm -r old_folder Recursively deletes a directory rm -i file.txt Prompts before deletion rm -f file.txt Forces deletion without prompts rm -v file.txt Displays verbose output Purpose: Deletes files or directories Windows Equivalent: del or rmdir
  • 10. Command #6 - mkdir (Create Directories) Commands Description mkdir projects Creates a directory named "projects mkdir -p projects/2024 Creates parent directories as needed mkdir -v projectt-s Displays verbose output mkdir /tmp/testdir Creates a directory in /tmp mkdir --mode=700 private Sets permissions during creation Purpose: Creates new directories Windows Equivalent: mkdir
  • 11. Command #7 - pwd (Print current working directory) Commands Description pwd Displays the full path of the current directory pwd -P Prints the actual path, resolving symbolic links echo $(pwd) Embeds the current path in scripts pwd > path.txt Saves the current path to a file (path.txt) pwd | tee path.txt Saves the current path to a file and prints it to the terminal Purpose: Prints the current working directory Windows Equivalent: cd (without arguments)
  • 12. Command #8: cat (View File Content) Commands Description cat example.txt Shows the content of example.txt cat file1.txt file2.txt Concatenates multiple files cat -n example.txt Numbers the lines in the output cat -b example.txt Numbers non-empty lines cat example.txt > newfile.txt Redirects output to another file Purpose: Displays file contents Windows Equivalent: type
  • 13. Command #9: chmod (Change File Permissions) Commands Description chmod 755 script.sh Grants read, write, and execute permissions to the owner chmod 644 file.txt Sets read/write for owner, read-only for others chmod -R 700 /private Recursively sets permissions chmod +x s1cript.sh Makes a file executable file chmod --reference=file1.txt file2.txt Copies permissions from file1.txt to file2.txt Purpose: Modify file/folder permissions Windows Equivalent: No direct equivalent; manage via file properties
  • 14. Command #10: top (Monitor System Resources) Purpose: Displays running processes and resource usage Windows Equivalent: Task Manager (GUI) or tasklist (CLI) Command Description top Shows real-time system stats top -U username Filters by a specific user
  • 15. Command #10: top (Monitor System Resources) Command Description top -p PID Displays a specific process top - 5 Updates every 5 seconds top -n 10 Shows 10 iterations and exits
  • 16. Command Tips and Tricks Streamline Navigation: Use ls && cd to list and enter directories efficiently Efficient File Management: Pair cp and mv to back up and organize files in one step Safe Deletion: Preview files with ls before removing with rm Quick Directory Setup: Create and move into a directory using mkdir && cd Permission Management: Confirm location (pwd) before applying changes with chmod Simplify Monitoring: View logs (cat) while tracking system performance with top Chaining Commands: Use && to execute tasks sequentially or | to process
  • 17. Command Tips and Tricks Streamline Navigation: Use ls && cd to list and enter directories efficiently Efficient File Management: Pair cp and mv to back up and organize files in one step Safe Deletion: Preview files with ls before removing with rm
  • 18. Command Tips and Tricks Quick Directory Setup: Create and move into a directory using mkdir && cd Permission Management: Confirm location (pwd) and apply changes with chmod
  • 19. Command Tips and Tricks Simplify Monitoring: View logs (cat) while tracking system performance with top
  • 20. Conclusion Linux knowledge enhances multi-platform administration These 10 commands are your foundation for productivity Keep practicing and exploring new tools

Editor's Notes

  • #5: Caution: No recycle bin!
  • #6: Caution: No recycle bin!
  • #7: Caution: No recycle bin!
  • #8: Caution: No recycle bin!
  • #9: Caution: No recycle bin!