mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	ls: Add option to list subdirectories recursively
List subdirectories encountered using -R or --recursive flags with ls.
This commit is contained in:
		
							parent
							
								
									3289b6a887
								
							
						
					
					
						commit
						4eba921d48
					
				
					 2 changed files with 27 additions and 5 deletions
				
			
		|  | @ -31,6 +31,7 @@ If no *path* argument is provided the current working directory is used. | |||
| * `-o`, In long format, do not show group information | ||||
| * `-h`, `--human-readable`: Print human-readable sizes | ||||
| * `-K`, `--no-hyperlinks`: Disable hyperlinks | ||||
| * `-R`, `--recursive`: List subdirectories recursively | ||||
| 
 | ||||
| ## Arguments | ||||
| 
 | ||||
|  | @ -43,6 +44,8 @@ If no *path* argument is provided the current working directory is used. | |||
| $ ls | ||||
| # List contents of working directory including hidden dot files | ||||
| $ ls -la | ||||
| # List contents of working directory and its subdirectories | ||||
| $ ls -R | ||||
| # List contents of /etc/ directory | ||||
| $ ls /etc | ||||
| # List contents of /etc/ directory including hidden dot files | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ariel Don
						Ariel Don