Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Linux & Git cheat sheet

Rating
-
Sold
-
Pages
4
Uploaded on
05-02-2025
Written in
2024/2025

Linux & Git Cheat Sheet Subject: Essential Commands for System Navigation and Version Control Course: Computer Science, Software Engineering, IT Systems, and DevOps Level: Beginner to Intermediate

Institution
Course

Content preview

Linux & Git cheat sheet
Asma Mestaysser




LINUX & GIT CHEAT SHEET




📁File Operations:
ls: Lists all fi les and directories in the present working directory
ls -R: Lists fi les in sub-directories as well
ls -a: Shows hidden fi les
📄📁
ls -al: Lists fi les and directories with detailed information
cd directoryname: Changes the directory 📂
cd ..: Moves one level up ↗
pwd: Displays the present working directory 🗺
cat > fi lename: Creates a new fi le ✏📄
cat fi lename: Displays the fi le content 📄👀
touch fi lename: Creates or modifi es a fi le 🛠📄
rm fi lename: Deletes a fi le ❌📄
cp source destination: Copies fi les from source to destination ➡ 📄
mv source destination: Moves fi les from source to destination 🔄📄
fi nd / -name fi lename: Finds a fi le or a directory by its name 🔍📄📁
fi le fi lename: Determines the fi le type 📄❓
less fi lename: Views the fi le content page by page 📄📃
head fi lename: Views the fi rst ten lines of a fi le 📄🔝
tail fi lename: Views the last ten lines of a fi le 📄🔚
du -h --max-depth=1: Shows the size of each directory 📁📏
📁Directory Operations:
mkdir directoryname: Creates a new directory 🆕 📁
rmdir directoryname: Deletes a directory ❌📁
cp -r source destination: Copies directories recursively ➡ 📁
mv olddir newdir: Renames directories 🔄📁
fi nd / -type d -name directoryname: Finds a directory starting from root 🔍📁

Written for

Course

Document information

Uploaded on
February 5, 2025
Number of pages
4
Written in
2024/2025
Type
SUMMARY

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
asmamestaysser

Get to know the seller

Seller avatar
asmamestaysser Enicarthage
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions