Shell tutorial part 4 navigating the file system











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=IhxCi_njNVQ

The file system - what is it and how to use it. We will learn about absolute and relative paths, how to use tree, ls, cd, pwd, readlink. • ----------------------- • Video content: • 0:00 - 0:42 : Introducing the filesystem. The filesystem is a method to organize data stored on the computer. A computer file represents some kind of data, for example - a photo. Computer programs can be used later to manipulate a file, for example - open the photo, or edit it. Files are organized into folders. To differentiate between files and folders, each has a name. • 1:04 : The shell prompt shows the current path between the : and % characters. • 1:11 : ~ ('tilda') represents the current users' home directory. • 1:28 : ls. This command lists the files and directories in the current directory. Using the '-l' flag lists additional details like the last modification time, size, and permissions of each file. Using the '-a' flag lists hidden files and folders. • 2:22 : tree. Lists all content of the current directory as a tree-like graph, including the contents of sub-folders. • 2:28 : '.' represents the current directory. • 3:15 : cd |directory-name|. Changes the current directory to |directory-name| if it is in the current directory. • 3:35 : '/' represents containment - |directory|/|file| means that |file| is contained in |directory|. • 4:02 : When using commands that accept files/directories as parameters, if you want to use a file/directory that is not in the current directory you need to specify the path (נתיב) to that file/directory. • 5:47 : '..' represents the directory containing the current directory. • 6:26 : pwd. Show the path to the current directory. • 7:20 : '/' is also the root directory. This directory isn't contained by any other directory, and contains all files and directories in your file system. • 7:50 : Relative and absolute paths. Relative paths are always in relation to the current directory, which means a single file can have many relative paths. The absolute directory is always in relation to the root directory, which means that a file has only one absolute path. • 10:00 : readlink -f |path|. This command converts the given path to an absolute path. • ----------------------- • Relevant links: • A very nice command-line cheatsheet: https://www.git-tower.com/blog/comman... • The complete filesystem playlist:    • Manipulating the filesystem using the...   • The complete shell tutorial playlist:    • A short tutorial to using the command...  

#############################









New on site
Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org