Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dos dir

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 create a text file list of the contents of a folder 
Shell :: dir to file txt 
Shell :: create github repository from git bash 
Shell :: bash do-while 
Shell :: git update another branch 
Shell :: add environment variable linux 
Shell :: Remove Files and Directories 
Shell :: python re.sub examples 
Shell :: connect to aws ubuntu gui from windows 
Shell :: mv command in linux 
Shell :: print file size in mb linux 
Shell :: install sonarqube on ubuntu 
Shell :: add a file to repository git 
Shell :: bash compare two strings 
Shell :: how to install macos from usb 
Shell :: enable ssh on ubuntu 20.04 
Shell :: bash shuffle lines 
Shell :: public access denied assmebla 
Shell :: .bash_profile mac mvn 
Shell :: strg s crashed vim 
Shell :: abort current task mac terminal 
Shell :: sudo mn 
Shell :: compile protobufs to c code 
Shell :: Warning: Broken symlinks were found. Remove them with `brew cleanup`: 
Shell :: how to git stash with spesific file 
Shell :: zotero linux chromeos 
Shell :: /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd 
Shell :: linux less go to last line 
Shell :: ubuntu find install path 
Shell :: print(" Menghitung Luas bangun datar Persegi, Segitiga dan Lingkaran") s = float(input("Input sisi persegi: ")) luas = s**2 print(" Luas Persegi :", luas) 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =