Python Pioneers: A Beginner's Guide πŸ‡ͺπŸ‡Ή
8.65K subscribers
346 photos
40 videos
24 files
64 links
Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey.

πŸ“’ Channel: @python_pioneers
πŸ‘₯ Group: @python_pioneers_chat
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
🌟 Hello Python Pioneers! Let's talk about the versatile 'ls' command and its various option.

#1. 'ls' - It stands for 'list'. It lists the files and directories in the current location. α‹­αˆ… αŠ αˆαŠ• α‰£αˆˆα‰½αˆα‰ α‰΅ folder/directory α‹αˆ΅αŒ₯ α‹«αˆ‰α‰΅αŠ• α‹α‹­αˆŽα‰½ αŠ₯αŠ“ folders list α‹«αˆ¨αŒαˆ‹α‰½α‹ƒαˆ without argument αŠ¨α‰°αŒ α‰€αˆ›α‰½αˆα‰΅ αˆ›αˆˆα‰΅ αŠα‹α’

Arguments are words or options that provide additional information to the command and modify its behavior.

#2. 'ls -a' - α‹­αˆ… α‹°αŒαˆž list α‹¨αˆšα‹«αˆ¨αŒαˆαŠ• የተደበቁ αˆ›αˆˆα‰΅αˆ hidden α‹α‹­αˆŽα‰½αŠ• αŠα‹α’ Hidden files αˆαŠ•αˆ‹α‰Έα‹ are those which begin with "."

#3. 'ls -F' - α‹­αˆ…αŠ• argument ከ ls αŒ‹αˆ­ αˆ΅αŠ•αŒ α‰€αˆ α‹°αŒαˆž it helps us to differentiate between files and folders. αˆ›αˆˆα‰΅αˆ folder αŠ¨αˆ†αŠ የfolder ሡም መጨረሻ αˆ‹α‹­ forward slash "/", file αŠ¨αˆ†αŠ α‹°αŒαˆž ሡም α‰₯ቻ list α‹«αˆ¨αŒ‹αˆα’

#4. 'ls -l' - For a detailed listing that includes file permissions, owner, size, and modification date.

ሡለ file permission α‰ α‰€αŒ£α‹­ αŠ₯αŠ“α‹«αˆˆαŠ•α’

αŠ₯αŠ“ α‹¨α‰°αˆˆα‹«α‹© arguments ከ ls α‰ α‹ƒαˆ‹ α‰ αˆ˜αŒ α‰€αˆ outputαŠ£α‰½αˆαŠ• customize αˆ›αˆ¨αŒ α‰΅α‰½αˆ‹αˆ‹α‰½αˆα’ These are just a few examples of them.

#ShellCommands
#ShellBasics

@python_pioneers
@python_pioneers
πŸ‘2❀1πŸ”₯1
This media is not supported in your browser
VIEW IN TELEGRAM
Shell Commands Quick Guide

1. cd (Change Directory): This command is used to navigate between different directories in the shell.

α‹­αˆ… command αŠ¨αŠ αŠ•α‹΅ directory α‹ˆα‹° αˆŒαˆ‹α‹ αŠ₯αŠ•α‹΅α‰΅αˆ„α‹± α‹­αˆ¨α‹³α‰½α‹ƒαˆα’ You can move to a specific directory by typing cd directory_name.

for example α‹«αˆ‹α‰½αˆα‰ α‰΅ directory α‹αˆ΅αŒ₯ α‹ˆα‹³αˆˆ directory αˆˆαˆ˜αŒα‰£α‰΅ αŠ¨αˆαˆˆαŒ‹α‰½αˆ:
cd directory_name 

2. mkdir (Make Directory): α‹­αˆ… command α‹°αŒαˆž αŠ α‹²αˆ΅ directory/folder αŠ₯αŠ•α‹΅α‰΅αˆαŒ₯ሩ α‹­αˆ¨α‹³α‰½α‹ƒαˆα’ Simply type
mkdir new_directory_name

3. rmdir (Remove Directory): α‹­αˆ… directory α‹¨αˆšαŒ α‰…αˆ›α‰½αˆ α‹°αŒαˆž empty/ ባዢ directory remove αˆˆαˆ›αˆ¨αŒ αŠα‹α’ ነገር αŒαŠ• folderኑ empty αŠ«αˆαˆ†αŠ it won't work.

non-empty directory delete αˆˆαˆ›αˆ¨αŒ additional option αˆ›αˆˆα‰΅αˆ attribute αˆ˜αŒ α‰€αˆ αŠ αˆˆα‰£α‰½αˆ

ይቀαŒ₯αˆ‹αˆ...

~ Remember: Practice is key to mastering these commands!
Happy coding! πŸš€βœ¨

#ShellCommands
#ShellBasics

@python_pioneers
@python_pioneers
❀1