Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dir command

dir *.txt *.doc		# filter by extension (both doc and txt)
dir	/a:-d			# files only (no subfolders)
dir /s				# current directory and subfolders content
dir /s /a:-d		# files only (including subfolders)
dir > myfile.txt	# stored in myfile.txt (dir /s > myfile.txt with subfolders)
dir /o:[sortorder] 	# example:  dir /o:-s    (sort by decreasing size)
  N : By name (alphabetic).
  S : By size (smallest first).
  E : By extension (alphabetic).
  D : By date/time (oldest first).
  - : Prefix to reverse order.
Comment

PREVIOUS NEXT
Code Example
Shell :: how to use scp 
Shell :: wpa passphrase 
Shell :: vim delete word without yank 
Shell :: how to turn off mac display 
Shell :: linux nano editor 
Shell :: get total github lines 
Shell :: git the history 
Shell :: redirect stderr to file linux 
Shell :: rabbitmqctl 
Shell :: git push to new branch 
Shell :: connect ftp terminal ubuntu 
Shell :: how to move a file in bash 
Shell :: cat in bash shell 
Shell :: how to download fl studio on linux 
Shell :: how to use nano command in linux 
Shell :: terraform 
Shell :: gti commit with message 
Shell :: colcon reset build 
Shell :: repo tool depth 
Shell :: How can I make a bash command run periodically 
Shell :: ve-restore-user database only 
Shell :: bash find file 3 hour 
Shell :: grep string in file 
Shell :: linux convert to sha512 
Shell :: pbcopy alternative wsl linux 
Shell :: Enum install 
Shell :: install spectral pytohn 
Shell :: how export tables database in command line linux 
Shell :: lacie 2tb thunderbolt linux mount drive 
Shell :: kubernetes using hyper v 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =