title
Linux Command Line Tutorial For Beginners 2 - ls command in Linux
description
Find More On My Website - http://www.codebind.com/linux-tutorials/linux-man-page-ls-command/
ls command Lists the files in the current directory, in alphanumeric order, except files starting with the “.” character. ls lists information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Linux and UNIX ls command help and examples ls command in linux. ls - Unix, Linux Command. ls - Linux Command - Unix Command Linux man page - ls command. cd command in linux. cat command in linux. grep command in linux. pwd command in linux. mkdir command in linux. cp command in linux. ls command in linux. ln command in linux
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB
Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit.ly/2IXukt8
C Programming Course ➡️ http://bit.ly/2GQCiD1 ⚫️ http://bit.ly/2ZGN6ej
C++ Programming Course ➡️ http://bit.ly/2V4oEVJ ⚫️ http://bit.ly/2XMvqMs
PHP Programming Course ➡️ http://bit.ly/2XP71WH ⚫️ http://bit.ly/2vs3od6
Android Development Course ➡️ http://bit.ly/2UHih5H ⚫️ http://bit.ly/2IMhVci
C# Programming Course ➡️ http://bit.ly/2Vr7HEl ⚫️ http://bit.ly/2W6RXTU
JavaFx Programming Course ➡️ http://bit.ly/2XMvZWA ⚫️ http://bit.ly/2V2CoAi
NodeJs Programming Course ➡️ http://bit.ly/2GPg7gA ⚫️ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ http://bit.ly/2Wd4l4W ⚫️ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ http://bit.ly/2PysyA4 ⚫️ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ http://bit.ly/2DFQ2yC ⚫️ http://bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ http://bit.ly/2LaCJfP ⚫️ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ http://bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - https://skillshare.eqcm.net/r1KEj
Data Science - http://bit.ly/2lD9h5L | http://bit.ly/2lI8wIl
Machine Learning - http://bit.ly/2WGGQpb | http://bit.ly/2GghLXX
Artificial Intelligence - http://bit.ly/2lYqaYx | http://bit.ly/2NmaPya
MERN Stack E-Degree Program - http://bit.ly/2kx2NFe | http://bit.ly/2lWj4no
DevOps E-degree - http://bit.ly/2k1PwUQ | http://bit.ly/2k8Ypfy
Data Analytics with R - http://bit.ly/2lBKqz8 | http://bit.ly/2lAjos3
AWS Certification Training - http://bit.ly/2kmLtTu | http://bit.ly/2lAkQL1
Projects in Java - http://bit.ly/2kzn25d | http://bit.ly/2lBMffs
Machine Learning With TensorFlow - http://bit.ly/2m1z3AF | http://bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - http://bit.ly/2lYvYRP
Kotlin Android Development Masterclass - http://bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - http://bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - http://www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
detail
{'title': 'Linux Command Line Tutorial For Beginners 2 - ls command in Linux', 'heatmap': [{'end': 483.321, 'start': 464.914, 'weight': 0.763}, {'end': 583.228, 'start': 526.896, 'weight': 0.733}, {'end': 689.471, 'start': 666.029, 'weight': 0.751}, {'end': 874.108, 'start': 774.332, 'weight': 0.791}, {'end': 912.156, 'start': 879.551, 'weight': 0.794}, {'end': 963.345, 'start': 951.002, 'weight': 0.702}], 'summary': "This tutorial series on linux command line covers the usage of ls command to list directory contents with examples like listing home directory, specific directories, and root directory, as well as navigating home directory in terminal using 'ls ~' and 'clear' commands, understanding file permissions and user rights, and file management including listing files with specific extensions and using wildcards for filtering.", 'chapters': [{'end': 237.41, 'segs': [{'end': 58.952, 'src': 'embed', 'start': 0.996, 'weight': 0, 'content': [{'end': 8.762, 'text': 'Hey guys welcome to the next video on Linux command line tutorial for beginners and in this video we will learn about LS command.', 'start': 0.996, 'duration': 7.766}, {'end': 16.748, 'text': 'LS is a Linux shell command that lists directory contents of files and directories.', 'start': 9.823, 'duration': 6.925}, {'end': 20.891, 'text': "Now first of all let's open our terminal.", 'start': 17.708, 'duration': 3.183}, {'end': 27.976, 'text': "I have told you in the last video if you press control alt T then it's going to open your terminal.", 'start': 21.011, 'duration': 6.965}, {'end': 31.447, 'text': 'So just press control alt T to open the terminal.', 'start': 28.016, 'duration': 3.431}, {'end': 36.572, 'text': 'Now for the ls command you need to know some syntax.', 'start': 32.188, 'duration': 4.384}, {'end': 43.998, 'text': 'So we all know that ls command can be given by just writing ls on the terminal.', 'start': 37.112, 'duration': 6.886}, {'end': 45.579, 'text': 'but it has some options.', 'start': 43.998, 'duration': 1.581}, {'end': 50.543, 'text': 'so these options will come in as a second argument.', 'start': 45.579, 'duration': 4.964}, {'end': 58.952, 'text': 'so we can say here comes the options right and then comes the file or directory name.', 'start': 50.543, 'duration': 8.409}], 'summary': 'Introduction to ls command in linux for beginners, covering syntax and options', 'duration': 57.956, 'max_score': 0.996, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA996.jpg'}, {'end': 154.499, 'src': 'embed', 'start': 94.9, 'weight': 1, 'content': [{'end': 107.367, 'text': 'so we can just say ls, and it will show us the contents of our home directory, which is the desktop or other document directory, or, you know,', 'start': 94.9, 'duration': 12.467}, {'end': 109.909, 'text': 'downloads or other directories.', 'start': 107.367, 'duration': 2.542}, {'end': 113.231, 'text': 'the same when you open this folder, when you click here,', 'start': 109.909, 'duration': 3.322}, {'end': 119.975, 'text': 'it will also open the home directory and you will be able to see all the contents of the directories here.', 'start': 113.231, 'duration': 6.744}, {'end': 124.882, 'text': 'so these all the you know contents are here, also those.', 'start': 119.975, 'duration': 4.907}, {'end': 139.456, 'text': 'so whatever you see here will be listed here also, okay, Now, the second option of using ls command is by using a directory name.', 'start': 124.882, 'duration': 14.574}, {'end': 145.677, 'text': 'For example we want to see the contents of this document directory.', 'start': 139.676, 'duration': 6.001}, {'end': 150.238, 'text': 'So our document directory contains these two files.', 'start': 146.257, 'duration': 3.981}, {'end': 154.499, 'text': 'So how we can list the content of this document directory?', 'start': 150.338, 'duration': 4.161}], 'summary': "Using 'ls' command to list contents of home directory and specific directories.", 'duration': 59.599, 'max_score': 94.9, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA94900.jpg'}, {'end': 209.635, 'src': 'embed', 'start': 183.278, 'weight': 3, 'content': [{'end': 190.342, 'text': 'and Now, if you want to list out all the contents of our root folder, as I have shown you in the last video,', 'start': 183.278, 'duration': 7.064}, {'end': 197.467, 'text': 'you just need to give ls and then forward slash, which is our root directory, right and press enter.', 'start': 190.342, 'duration': 7.125}, {'end': 202.45, 'text': 'It will show us the content of our root directory and in here.', 'start': 198.107, 'duration': 4.343}, {'end': 209.635, 'text': 'you can verify this by going to this computer option and you can match all the directories here and here.', 'start': 202.45, 'duration': 7.185}], 'summary': "To list contents of root folder, use 'ls /', matching directories.", 'duration': 26.357, 'max_score': 183.278, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA183278.jpg'}], 'start': 0.996, 'title': 'Using ls command in linux to list directory contents', 'summary': 'Provides an introduction to the ls command in linux, explaining its syntax and options, and covers its usage to list directory contents with examples like listing the home directory, specific directories, and the root directory, as well as using the pwd command to display the present working directory.', 'chapters': [{'end': 58.952, 'start': 0.996, 'title': 'Introduction to ls command in linux', 'summary': 'Introduces the ls command in linux, a shell command that lists directory contents, and explains the syntax and options for using the command in the terminal.', 'duration': 57.956, 'highlights': ['The LS command in Linux is used to list directory contents of files and directories.', "The command can be executed in the terminal by typing 'ls', and it also supports options as a second argument.", 'Pressing control alt T opens the terminal in Linux, providing a quick way to access the command line.']}, {'end': 237.41, 'start': 58.952, 'title': 'Using ls command to list directory contents', 'summary': 'Covers the usage of the ls command to list the contents of directories, including examples of listing the home directory, specific directories, and the root directory, as well as using the pwd command to display the present working directory.', 'duration': 178.458, 'highlights': ["The ls command can be used to list the contents of the current directory, such as the home directory, using the simple 'ls' command. The ls command displays the contents of the current directory, which is typically the home directory, upon opening the terminal.", "Using the ls command followed by a directory name allows for listing the contents of a specific directory, such as 'ls Documents' or 'ls Downloads'. By specifying a directory name after the ls command, the contents of that specific directory can be listed, providing a clear overview of the files within.", "To list the contents of the root folder, the ls command can be used with the forward slash as in 'ls /', displaying the content of the root directory. By using 'ls /', the entire contents of the root directory can be listed, allowing for a comprehensive view of the files and directories within the root folder.", "The present working directory (PWD) command, when executed, displays the user's current home directory. Using the 'pwd' command reveals the present working directory, providing clarity on the user's current location within the file system."]}], 'duration': 236.414, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA996.jpg', 'highlights': ['The LS command in Linux is used to list directory contents of files and directories.', "The ls command can be used to list the contents of the current directory, such as the home directory, using the simple 'ls' command.", "Using the ls command followed by a directory name allows for listing the contents of a specific directory, such as 'ls Documents' or 'ls Downloads'.", "To list the contents of the root folder, the ls command can be used with the forward slash as in 'ls /', displaying the content of the root directory.", 'Pressing control alt T opens the terminal in Linux, providing a quick way to access the command line.']}, {'end': 486.862, 'segs': [{'end': 294.686, 'src': 'embed', 'start': 238.07, 'weight': 3, 'content': [{'end': 251.236, 'text': 'Now, in other terms, when you want to list out the content of home directory, you can just say ls and then give this tilde symbol,', 'start': 238.07, 'duration': 13.166}, {'end': 255.738, 'text': 'which will also give you the same content as ls will give you.', 'start': 251.236, 'duration': 4.502}, {'end': 263.542, 'text': "So let's print out ls first but let me clear all the commands which I have given earlier.", 'start': 255.798, 'duration': 7.744}, {'end': 267.551, 'text': 'To clear the terminal you just need to write clear here.', 'start': 264.349, 'duration': 3.202}, {'end': 272.674, 'text': 'So just write clear and press enter and it will clear your terminal.', 'start': 267.711, 'duration': 4.963}, {'end': 277.057, 'text': 'Clear means your terminal will be blank.', 'start': 273.035, 'duration': 4.022}, {'end': 281.7, 'text': 'But when you scroll up all the commands are there.', 'start': 277.477, 'duration': 4.223}, {'end': 287.484, 'text': 'Clear means it will just scroll down a little and it will blank out your terminal for you.', 'start': 282.06, 'duration': 5.424}, {'end': 290.365, 'text': "So, let's list out again.", 'start': 288.184, 'duration': 2.181}, {'end': 294.686, 'text': 'So, ls, so it gives me the content of my home directory.', 'start': 290.445, 'duration': 4.241}], 'summary': "Using 'ls' with tilde symbol lists home directory content.", 'duration': 56.616, 'max_score': 238.07, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA238070.jpg'}, {'end': 390.792, 'src': 'embed', 'start': 325.446, 'weight': 0, 'content': [{'end': 329.867, 'text': 'so there are three command to list out the same thing.', 'start': 325.446, 'duration': 4.421}, {'end': 339.055, 'text': 'one is ls, which will give you the contents of your home directory when you open your terminal right, and then Alice tilde,', 'start': 329.867, 'duration': 9.188}, {'end': 343.258, 'text': 'which will be also giving you the same content.', 'start': 339.055, 'duration': 4.203}, {'end': 348.723, 'text': 'so this tilde means your home directory and also your.', 'start': 343.258, 'duration': 5.465}, {'end': 353.487, 'text': 'you can type the home directory file path, something like this.', 'start': 348.723, 'duration': 4.764}, {'end': 354.948, 'text': "now let's see some options.", 'start': 353.487, 'duration': 1.461}, {'end': 368.809, 'text': 'So whenever you want to go inside some directory, as I have done so, I will just say ls document, and you can just list out anything.', 'start': 356.135, 'duration': 12.674}, {'end': 380.408, 'text': 'but you can just write ls and then dot dot, and this dot dot means you want to print out one step back directory structure.', 'start': 368.809, 'duration': 11.599}, {'end': 390.792, 'text': 'So whenever you press ls like this it will give you programming knowledge because right now we are in home and then programming knowledge.', 'start': 380.768, 'duration': 10.024}], 'summary': 'Three commands (ls, tilde, dot dot) to list directory contents, including navigating and options.', 'duration': 65.346, 'max_score': 325.446, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA325446.jpg'}, {'end': 486.862, 'src': 'heatmap', 'start': 464.914, 'weight': 1, 'content': [{'end': 474.698, 'text': 'This means you want to list out all the files and directory in long format and when you press enter, It will give you the listings in long format.', 'start': 464.914, 'duration': 9.784}, {'end': 483.321, 'text': 'Let me just make it a little bit bigger and I will give it once again this command so clear and LS minus L,', 'start': 474.698, 'duration': 8.623}, {'end': 486.862, 'text': 'and it gives you the you know content in long format.', 'start': 483.321, 'duration': 3.541}], 'summary': "Using 'ls -l' command lists files and directories in long format.", 'duration': 26.431, 'max_score': 464.914, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA464914.jpg'}], 'start': 238.07, 'title': 'Navigating and using ls command in terminal', 'summary': "Covers navigating home directory in terminal using 'ls ~' and 'clear' commands, and usage of ls command in linux including tilde symbol, dot dot navigation, and flags like -l for long format.", 'chapters': [{'end': 294.686, 'start': 238.07, 'title': 'Navigating home directory in terminal', 'summary': "Explains how to navigate and clear the terminal, with the command 'ls ~' providing the same content as 'ls', and 'clear' blanking the terminal while keeping previous commands accessible.", 'duration': 56.616, 'highlights': ["Typing 'ls ~' in the terminal provides the same content as 'ls'.", "Using the 'clear' command in the terminal blanks the terminal while retaining previous commands."]}, {'end': 486.862, 'start': 295.086, 'title': 'Using ls command in linux', 'summary': 'Explains the usage of the ls command in linux, including the tilde symbol to represent the home directory, using dot dot to navigate back directories, and using flags like -l to display content in long format.', 'duration': 191.776, 'highlights': ["The tilde symbol represents the home directory, allowing the user to access the same content by using 'ls ~' or specifying the home directory path. The tilde symbol (~) represents the home directory in Linux, enabling access to the same content using 'ls ~' or specifying the home directory path.", "Using 'ls ..' allows the user to list the content of the parent directory, while 'ls ../..' enables listing two directories back, reaching the root directory. The command 'ls ..' lists the content of the parent directory, and 'ls ../..' lists two directories back, reaching the root directory.", "The 'ls -l' command displays the content in long format, providing detailed listings of files and directories. The 'ls -l' command displays the content in long format, offering detailed listings of files and directories."]}], 'duration': 248.792, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA238070.jpg', 'highlights': ["Using 'ls ..' allows the user to list the content of the parent directory, while 'ls ../..' enables listing two directories back, reaching the root directory.", "The 'ls -l' command displays the content in long format, providing detailed listings of files and directories.", "The tilde symbol represents the home directory, allowing the user to access the same content by using 'ls ~' or specifying the home directory path.", "Typing 'ls ~' in the terminal provides the same content as 'ls'.", "Using the 'clear' command in the terminal blanks the terminal while retaining previous commands."]}, {'end': 701.542, 'segs': [{'end': 583.228, 'src': 'heatmap', 'start': 486.862, 'weight': 0, 'content': [{'end': 495.071, 'text': 'and Long format means it will give you the details who is your user,', 'start': 486.862, 'duration': 8.209}, {'end': 505.059, 'text': 'what are the rights for this file and what is the size of your file and at which date this file was created and the time.', 'start': 495.071, 'duration': 9.988}, {'end': 507.807, 'text': 'at which this file is created.', 'start': 505.786, 'duration': 2.021}, {'end': 515.571, 'text': 'right now you may be wondering what is this drwxr, or what are all these things?', 'start': 507.807, 'duration': 7.764}, {'end': 520.993, 'text': 'so you can see there these are the user rights.', 'start': 515.571, 'duration': 5.422}, {'end': 526.896, 'text': 'so these users rights are separated by this minus symbol.', 'start': 520.993, 'duration': 5.903}, {'end': 532.099, 'text': 'so the first you know this thing, which is drwxr.', 'start': 526.896, 'duration': 5.203}, {'end': 534.865, 'text': 'So what does this mean?', 'start': 533.004, 'duration': 1.861}, {'end': 537.326, 'text': 'So D means directory here.', 'start': 535.365, 'duration': 1.961}, {'end': 539.528, 'text': 'R means read.', 'start': 538.147, 'duration': 1.381}, {'end': 542.489, 'text': 'W means write.', 'start': 539.548, 'duration': 2.941}, {'end': 544.11, 'text': 'X means execute.', 'start': 542.909, 'duration': 1.201}, {'end': 546.451, 'text': 'And once again R means write.', 'start': 544.55, 'duration': 1.901}, {'end': 549.833, 'text': 'So these are the writes of the owner.', 'start': 546.511, 'duration': 3.322}, {'end': 552.675, 'text': 'Owner means whoever is logged in.', 'start': 550.414, 'duration': 2.261}, {'end': 559.238, 'text': 'So I can read, write, execute this directory which is desktop.', 'start': 553.195, 'duration': 6.043}, {'end': 564.664, 'text': 'second is the group right after this minus right.', 'start': 560.959, 'duration': 3.705}, {'end': 569.391, 'text': 'so execute and read are the rights of the group.', 'start': 564.664, 'duration': 4.727}, {'end': 575.079, 'text': 'and then the third is for the others, which is only execute this directory, okay,', 'start': 569.391, 'duration': 5.688}, {'end': 583.228, 'text': 'So this is how you can list out the long list of files and directories.', 'start': 576.343, 'duration': 6.885}], 'summary': 'Long format provides detailed user, file size, and creation date information. explains user rights with drwxr notation - d=directory, r=read, w=write, x=execute. demonstrates group and other user rights. helpful for listing files and directories.', 'duration': 72.376, 'max_score': 486.862, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA486862.jpg'}, {'end': 689.471, 'src': 'heatmap', 'start': 620.048, 'weight': 2, 'content': [{'end': 628.492, 'text': 'so whenever you give ls minus a, it will give you all the hidden files right and then you can combine the options.', 'start': 620.048, 'duration': 8.444}, {'end': 641.857, 'text': 'so whenever you give ls minus a for showing the hidden file and then l for showing the long list, then it will give you the hidden file and long list.', 'start': 628.492, 'duration': 13.365}, {'end': 644.414, 'text': 'come with combined.', 'start': 641.857, 'duration': 2.557}, {'end': 648.937, 'text': 'okay. so press enter and it will give you long list and hidden file right.', 'start': 644.414, 'duration': 4.523}, {'end': 649.858, 'text': 'something like this.', 'start': 648.937, 'duration': 0.921}, {'end': 656.843, 'text': 'I will make it little bit bigger, so you can see it okay and I will just clear the terminal once again.', 'start': 649.858, 'duration': 6.985}, {'end': 659.204, 'text': 'now there are some more commands.', 'start': 656.843, 'duration': 2.361}, {'end': 666.029, 'text': 'for example, you can sort your directory by their size.', 'start': 659.204, 'duration': 6.825}, {'end': 676.197, 'text': 'so I will just give LS minus L for long list and then when you give capital S, it will sort your directory by their size.', 'start': 666.029, 'duration': 10.168}, {'end': 689.471, 'text': 'so press enter and you can see the file which has the biggest size is listed first and then this will go down as according to the size.', 'start': 676.197, 'duration': 13.274}], 'summary': "Using 'ls -a' displays hidden files, while 'ls -al' shows hidden files and long list. 'ls -ls' sorts by size.", 'duration': 56.149, 'max_score': 620.048, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA620048.jpg'}], 'start': 486.862, 'title': 'Linux file permissions and commands', 'summary': "Explains file permissions and user rights, detailing user rights and file information. it also demonstrates various linux command line tips such as listing hidden files using 'ls -a', combining options using 'ls -al', and sorting directories by size using 'ls -ls' with practical examples and explanations.", 'chapters': [{'end': 595.538, 'start': 486.862, 'title': 'File permissions and user rights', 'summary': 'Explains the long format of file listing, detailing user rights and file information, including the meaning of drwxr, and the command ls -a to display hidden files.', 'duration': 108.676, 'highlights': ['The long format of file listing provides detailed information about user rights and file attributes, such as the size, creation date, and time. The long format includes user details, file rights, size, and creation date and time.', "The meaning of drwxr is explained, where D denotes directory, R denotes read, W denotes write, X denotes execute, and the sequence repeats, representing the owner's rights, group rights, and rights for others. The drwxr notation denotes directory, read, write, and execute permissions for the owner, group, and others, respectively.", 'The command ls -a is introduced, which displays hidden files in addition to the visible ones. The ls -a command allows for the display of hidden files alongside visible ones.']}, {'end': 701.542, 'start': 595.638, 'title': 'Linux command line tips', 'summary': "Demonstrates how to list all hidden files in a directory using 'ls -a' command, combine options to show hidden files and long list using 'ls -al', and sort directories by size using 'ls -ls', providing practical examples and explanations.", 'duration': 105.904, 'highlights': ["The 'ls -a' command displays all hidden files in a directory, denoted by a dot prefix, and can be combined with other options like 'l' to show a long list of hidden files and non-hidden files together.", "The 'ls -lS' command sorts directories by size, listing the file with the largest size first and the smallest size last, providing a convenient way to organize and view files based on their sizes."]}], 'duration': 214.68, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA486862.jpg', 'highlights': ['The long format of file listing provides detailed information about user rights and file attributes, such as the size, creation date, and time.', "The meaning of drwxr is explained, where D denotes directory, R denotes read, W denotes write, X denotes execute, and the sequence repeats, representing the owner's rights, group rights, and rights for others.", 'The command ls -a is introduced, which displays hidden files in addition to the visible ones.', "The 'ls -a' command displays all hidden files in a directory, denoted by a dot prefix, and can be combined with other options like 'l' to show a long list of hidden files and non-hidden files together.", "The 'ls -lS' command sorts directories by size, listing the file with the largest size first and the smallest size last, providing a convenient way to organize and view files based on their sizes."]}, {'end': 1032.946, 'segs': [{'end': 735.013, 'src': 'embed', 'start': 701.542, 'weight': 0, 'content': [{'end': 710.029, 'text': 'now, for example, we want to uh, you know list something which, uh, only we know the extension of.', 'start': 701.542, 'duration': 8.487}, {'end': 712.231, 'text': "so let's list.", 'start': 710.029, 'duration': 2.202}, {'end': 715.333, 'text': 'for example, you can just write ls.', 'start': 712.231, 'duration': 3.102}, {'end': 718.716, 'text': 'once again, we will list out document list.', 'start': 715.333, 'duration': 3.383}, {'end': 721.599, 'text': 'so Just write documents and press enter.', 'start': 718.716, 'duration': 2.883}, {'end': 728.389, 'text': 'And this document has this test.html and test.cs file.', 'start': 722.16, 'duration': 6.229}, {'end': 735.013, 'text': 'but, for example, I want to only list out all the HTML files which are there in the document folder.', 'start': 728.789, 'duration': 6.224}], 'summary': 'Demonstrating how to list files with specific extensions in a folder.', 'duration': 33.471, 'max_score': 701.542, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA701542.jpg'}, {'end': 874.108, 'src': 'heatmap', 'start': 774.332, 'weight': 0.791, 'content': [{'end': 784.477, 'text': 'In the other way, when you give asterisk dot asterisk, which means all the files, so whatever all the extensions and all the names.', 'start': 774.332, 'duration': 10.145}, {'end': 791.721, 'text': 'Right And press enter and list out these two files which are there in your documents directory.', 'start': 784.657, 'duration': 7.064}, {'end': 800.207, 'text': 'Right Now you can also output the content of your ls to a file.', 'start': 791.901, 'duration': 8.306}, {'end': 809.454, 'text': 'So for example I want to save all the result which I have listed here to some file.', 'start': 800.708, 'duration': 8.746}, {'end': 818.802, 'text': 'So I will write ls minus for example l with capital S and then I want to save all the content to a file.', 'start': 809.475, 'duration': 9.327}, {'end': 829.007, 'text': 'So I can just give this angle, bracket and and then the name of the file which I want to you know, save these content to.', 'start': 818.822, 'duration': 10.185}, {'end': 831.348, 'text': 'so I will just say out.txt.', 'start': 829.007, 'duration': 2.341}, {'end': 835.05, 'text': 'by the way, this out.txt is not existing here.', 'start': 831.348, 'duration': 3.702}, {'end': 843.353, 'text': 'so it will create this out.txt and then fill all the result of Alice command to this.', 'start': 835.05, 'duration': 8.303}, {'end': 845.574, 'text': 'you know, out.txt file.', 'start': 843.353, 'duration': 2.221}, {'end': 849.716, 'text': 'so this arrow means the direction of the stream.', 'start': 845.574, 'duration': 4.142}, {'end': 861.361, 'text': 'so it will put all the content into the output right and press enter and you will be able to see we have one new file created which is out.txt,', 'start': 849.716, 'duration': 11.645}, {'end': 874.108, 'text': 'and when i open this file then it will just, you know, fill all the result of ls minus ls command to this output file right,', 'start': 861.361, 'duration': 12.747}], 'summary': "Using 'ls *' lists all files, and 'ls -ls > out.txt' saves content to file.", 'duration': 99.776, 'max_score': 774.332, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/dQ8JgDUS8DA/pics/dQ8JgDUS8DA774332.jpg'}, {'end': 941.34, 'src': 'heatmap', 'start': 879.551, 'weight': 2, 'content': [{'end': 884.58, 'text': 'Now the next command is to list out only the directories.', 'start': 879.551, 'duration': 5.029}, {'end': 888.026, 'text': 'So, for example, you want to just list out only the directories,', 'start': 884.64, 'duration': 3.386}, {'end': 899.292, 'text': 'you can just give ls-d and then you just need to give asterisks and forward slash and list out all the directs directories.', 'start': 888.026, 'duration': 11.266}, {'end': 905.894, 'text': "okay, so you can see, it's not listing out the files, but only the directories, right.", 'start': 899.292, 'duration': 6.602}, {'end': 910.255, 'text': 'so these are the all the important commands related to Alice.', 'start': 905.894, 'duration': 4.361}, {'end': 912.156, 'text': 'but this is not all.', 'start': 910.255, 'duration': 1.901}, {'end': 921.641, 'text': 'Alice is, you know, having more options and flags and if you want to know more about this ls command, what you can do?', 'start': 912.156, 'duration': 9.485}, {'end': 924.284, 'text': 'so you, i will just clear the terminal.', 'start': 921.641, 'duration': 2.643}, {'end': 932.732, 'text': 'first of all, and to know more about this ls command, you can just write men and then ls.', 'start': 924.284, 'duration': 8.448}, {'end': 935.975, 'text': 'so men is, uh, you know, is a.', 'start': 932.732, 'duration': 3.243}, {'end': 941.34, 'text': 'you can say the dictionary kind of thing for your linux commands.', 'start': 935.975, 'duration': 5.365}], 'summary': 'The ls command can be used to list directories only, using ls -d