Hey everyone!
๐ Stay tuned for our upcoming lesson on shell basics! Get ready to level up your tech skills.Don't miss out!
Don't forget to invite your friends too!
#ShellBasics
#PyPioneers
@python_pioneers
@python_pioneers
๐ Stay tuned for our upcoming lesson on shell basics! Get ready to level up your tech skills.Don't miss out!
Don't forget to invite your friends too!
#ShellBasics
#PyPioneers
@python_pioneers
@python_pioneers
This media is not supported in your browser
VIEW IN TELEGRAM
"pwd" command "print working directory" แแแต แฒแแ แฅแแฐ shell แฃแ command-lines แฅแแ แแแแแ แข
"pwd" แ แ แตแแฅแฐแฝแ enter แตแตแ แ แแ แซแแฝแแ แตแ working directory/ folder แซแณแซแแข
This can be particularly useful when navigating through different directories or when you need to reference the current location in your file system.
"clear" command แจแฐแ แแแแ terminal clear แแแจแ แแแข You can use it if your terminal gets messy.
"exit" command แจแฐแ แแแแ แฐแแ แจterminal แแแแฃแต แแแข
Next command "ls"...
#ShellBasics
#pwd
@python_pioneers
"pwd" แ แ แตแแฅแฐแฝแ enter แตแตแ แ แแ แซแแฝแแ แตแ working directory/ folder แซแณแซแแข
This can be particularly useful when navigating through different directories or when you need to reference the current location in your file system.
"clear" command แจแฐแ แแแแ terminal clear แแแจแ แแแข You can use it if your terminal gets messy.
"exit" command แจแฐแ แแแแ แฐแแ แจterminal แแแแฃแต แแแข
Next command "ls"...
#ShellBasics
#pwd
@python_pioneers
๐2
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
#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
Here are the yesterday's multiple-choice questions about basic shell commands with their answers:
1. What does the command "ls" do in the shell?
Answer: a) Lists all files and directories in the current directory
2. How do you display the current working directory in the shell?
Answer: b) pwd
3. What command would you use to exit from the shell?
Answer: c) exit
4. How do you list all files in the current directory, including hidden files?
Answer: a) ls -a
5. What is the purpose of the "pwd" command in the shell?
Answer: a) Print the working directory
6. What command would you use to list files in a specific directory?
Answer: c) ls /path/to/directory
7. How do you list files in a directory in long format, including details like file permissions and file size?
Answer: a) ls -l
8. What does the "-F" flag do when added to the "ls" command in the shell?
Answer: c) Appends a symbol to identify the type of each entry
9. When using the "ls -F" command, what symbol is added to directories?
Answer: a) /
10. What symbol does the "-F" flag add to executable files?
Answer: b) *
Keep on working!
#ShellBasics
@python_pioneers
1. What does the command "ls" do in the shell?
Answer: a) Lists all files and directories in the current directory
2. How do you display the current working directory in the shell?
Answer: b) pwd
3. What command would you use to exit from the shell?
Answer: c) exit
4. How do you list all files in the current directory, including hidden files?
Answer: a) ls -a
5. What is the purpose of the "pwd" command in the shell?
Answer: a) Print the working directory
6. What command would you use to list files in a specific directory?
Answer: c) ls /path/to/directory
7. How do you list files in a directory in long format, including details like file permissions and file size?
Answer: a) ls -l
8. What does the "-F" flag do when added to the "ls" command in the shell?
Answer: c) Appends a symbol to identify the type of each entry
9. When using the "ls -F" command, what symbol is added to directories?
Answer: a) /
10. What symbol does the "-F" flag add to executable files?
Answer: b) *
Keep on working!
#ShellBasics
@python_pioneers
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 แแแแฃแต แจแแแแฝแ:
2. mkdir (Make Directory): แญแ command แฐแแ แ แฒแต directory/folder แฅแแตแตแแฅแฉ แญแจแณแฝแแแข Simply type
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. 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
This media is not supported in your browser
VIEW IN TELEGRAM
๐ข Attention all shell beginners! ๐
Want to learn the basics of using the shell in a hands-on way? Check out our practice video where we guide you through creating a folder named 'new_folder' and then creating a 'sample.txt' file using nano.
แจแแแชแซ แฅแธแ แแแแต แแแแแต แแ! แฅแตแซแแ แจแฐแแญแแธแแ แแฐแจแณแ แจshell commands practice แ แญแแธแแข
#ShellBasics #PracticeMakesPerfect #NanoTutorial
@python_pioneers
@python_pioneers
Want to learn the basics of using the shell in a hands-on way? Check out our practice video where we guide you through creating a folder named 'new_folder' and then creating a 'sample.txt' file using nano.
lsPractice along with us and sharpen your shell skills! ๐ป๐
cd
mkdir new_folder
cd new_folder
nano sample.txt
cat sample.txt
exit
แจแแแชแซ แฅแธแ แแแแต แแแแแต แแ! แฅแตแซแแ แจแฐแแญแแธแแ แแฐแจแณแ แจshell commands practice แ แญแแธแแข
#ShellBasics #PracticeMakesPerfect #NanoTutorial
@python_pioneers
@python_pioneers
๐4๐ฅ1
Hello everyone!
๐ Stay tuned for our upcoming lesson on shell basics! Get ready to level up your tech skills.Don't miss out!
Don't forget to invite your friends too!
#ShellBasics
@python_pioneers
๐ Stay tuned for our upcoming lesson on shell basics! Get ready to level up your tech skills.Don't miss out!
Don't forget to invite your friends too!
#ShellBasics
@python_pioneers
โค1
...cont'd
แ แฅแแแน modern tools graphical user interface (GUI) แญแ แแแ But command-line user interfaces (CLUIs) still have their place. แฅแแ Computer แแตแฅ happen แฅแซแจแ แตแแแ แแแญ แญแ แแฅ แแจแณแต แจแแแฝแแ CLUIแ แ แแ แแ แแแข
แแแณแ :-
แฎแแแแฐแซแฝแ แแตแฅ folder create แแแจแ แจแแแแฝแ create folder แฅแแฝแ แจแแ window แญแแฃแ แจแ แจfolderแ แตแ แตแ แแแฝแ then boom! folder create แ แจแแฝแ แแแต แแ แฃ แตแแแ แฅแแ แแญ แจแฐแ แแแฝแแต GUI แแแข
But there is another way you can create a folder, แจwindows user แจแแแฝแ CMD แจแแฃแ command-line interpreter แ แ actually it is not a shell, แจแ แจCMD window แฒแแฃ
แฅแแฝแ execute แฒแณแจแ you will get the same result, a folder is created.
แฅแแ how to access files how to manipulate them in a command-line แแแแ แจแแแตแ แ แแฃแญ แฅแแซแแแข
#CommandShell
#ShellBasics
@python_pioneers
แ แฅแแแน modern tools graphical user interface (GUI) แญแ แแแ But command-line user interfaces (CLUIs) still have their place. แฅแแ Computer แแตแฅ happen แฅแซแจแ แตแแแ แแแญ แญแ แแฅ แแจแณแต แจแแแฝแแ CLUIแ แ แแ แแ แแแข
แแแณแ :-
แฎแแแแฐแซแฝแ แแตแฅ folder create แแแจแ แจแแแแฝแ create folder แฅแแฝแ แจแแ window แญแแฃแ แจแ แจfolderแ แตแ แตแ แแแฝแ then boom! folder create แ แจแแฝแ แแแต แแ แฃ แตแแแ แฅแแ แแญ แจแฐแ แแแฝแแต GUI แแแข
But there is another way you can create a folder, แจwindows user แจแแแฝแ CMD แจแแฃแ command-line interpreter แ แ actually it is not a shell, แจแ แจCMD window แฒแแฃ
>mkdir folder_name
แฅแแฝแ execute แฒแณแจแ you will get the same result, a folder is created.
แฅแแ how to access files how to manipulate them in a command-line แแแแ แจแแแตแ แ แแฃแญ แฅแแซแแแข
#CommandShell
#ShellBasics
@python_pioneers
โค1๐1