Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dir sort by

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 :: dir to file txt 
Shell :: pgadmin terminal connect 
Shell :: docker-compose mongodb replica - init replica 
Shell :: copying directories in linux 
Shell :: github new repo 
Shell :: How to concatenate string variables in Bash 
Shell :: add line to beginning of file shell script 
Shell :: gitgraken pre-receive hook declined 
Shell :: kali linux command download 
Shell :: tinymce vue 3 
Shell :: export function in shell script 
Shell :: common use of python sys library 
Shell :: steps to assign mfa using aws cli 
Shell :: how to enable tpm in bios 
Shell :: how to install path adb 
Shell :: shell pipe 
Shell :: remover completamente programa terminal ubuntu 
Shell :: bash split pipe output by delimiter 
Shell :: base64 maintain line breaks linux 
Shell :: how to get security details of binary file 
Shell :: dependencies to install python3.10 
Shell :: start networking ubuntu recovery 
Shell :: vim repeat last command vim vi 
Shell :: agregar sudoers a user centos 7 
Shell :: nohup run node/npm 
Shell :: ubuntu 20 terminal rename tab 
Shell :: sonarqube new project after creation in gitlab 
Shell :: git status deleated files 
Shell :: how to compare strings in zsh script 
Shell :: /dev/block/mmcblk0p38 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =