Linux CLI-tryhackme -๐Ÿง Linux Basic Commands

Linux CLI-tryhackme -๐Ÿง Linux Basic Commands

Agar aap Linux ya Ethical Hacking start kar rahe ho, to ye basic commands aapko zarur aani chahiye. Ye commands aapko system navigate karne aur files manage karne me help karti hain.

๐Ÿ“Œ Important Linux Commands

๐Ÿ“ 1. Current Location Check (PWD)

๐Ÿ‘‰ Command:

me help karti hain.

pwd

๐Ÿ‘‰ Ye batata hai ki aap current system me kis directory me ho.


๐Ÿ“‚ 2. List Files (LS)

๐Ÿ‘‰ Command:

ls

๐Ÿ‘‰ Current directory me available files aur folders show karta hai.


๐Ÿ“„ 3. Detailed List (LS -L)

๐Ÿ‘‰ Command:

ls -l

๐Ÿ‘‰ Files ka detail info deta hai (permissions, size, date).


๐Ÿ” 4. Hidden Files (LS -AL)

๐Ÿ‘‰ Command:

ls -al

๐Ÿ‘‰ Hidden files bhi show karta hai.


๐Ÿ” 5. Change Directory (CD)

๐Ÿ‘‰ Command:

cd folder_name

๐Ÿ‘‰ Directory change karne ke liye use hota hai.


๐Ÿ”Ž 6. Find File (FIND)

๐Ÿ‘‰ Command:

find ~ -name file.txt

๐Ÿ‘‰ System me kisi file ka path find karta hai.


๐Ÿ“– 7. Read File (CAT)

๐Ÿ‘‰ Command:

cat filename.txt

๐Ÿ‘‰ File ke andar ka content show karta hai.


๐Ÿ‘ค 8. Current User (WHOAMI)

๐Ÿ‘‰ Command:

whoami

๐Ÿ‘‰ Batata hai ki aap kis user se login ho.


๐Ÿ’ป 9. System Info (UNAME)

๐Ÿ‘‰ Command:

uname -a

๐Ÿ‘‰ System aur kernel ki information deta hai.


๐Ÿ’พ 10. Disk Space (DF -H)

๐Ÿ‘‰ Command:

df -h

๐Ÿ‘‰ Disk usage human readable format me show karta hai.


โ“ Important Questions & Answers

๐Ÿ‘‰ CLI ka full form kya hai?

โœ” Command Line Interface


๐Ÿ‘‰ mission_brief.txt file ka full path kya hai?

/home/ubuntu/Documents/.research/archive/mission_brief.txt

๐Ÿ‘‰ mission_brief.txt file me kya flag mila?

โœ”ย MISSION-FOUND


๐Ÿ‘‰ whoami command ka output kya hai?

โœ” ubuntu


๐Ÿ‘‰ uname -a se kernel version kya mila?

โœ” 6.14.0-1018-aws


๐Ÿ‘‰ df -h me free disk space kitna hai?

โœ” 58G


๐Ÿ‘‰ day1_report.txt me kya message hai?

โœ”ย END-OF-DAY1


๐ŸŽฏ Conclusion

Linux commands seekhna cyber security aur ethical hacking ka first step hai. Agar aap beginner ho, to in commands ko daily practice karo.


Leave a Comment

Your email address will not be published. Required fields are marked *