Microsoft Windows [Version 10.0.18363.1440]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Classroom>dir
Volume in drive C is Windows
Volume Serial Number is 8A2B-F2EF
Directory of C:\Users\Classroom
01/14/2021 10:42 AM
.
01/14/2021 10:42 AM ..
01/14/2021 10:42 AM 420 .drjava
09/15/2020 03:49 PM 1,273 .drjava-----
11/05/2020 11:53 AM .grasp_settings
06/05/2020 03:06 PM .ipython
06/05/2020 03:15 PM .jupyter
01/20/2021 01:02 AM .openshot_qt
08/20/2020 03:54 PM 194 .vivaldi_reporting_data
03/20/2020 10:17 PM .vscode
07/06/2020 05:21 PM .xournalpp
03/22/2021 12:34 PM 3D Objects
08/24/2020 12:03 PM ansel
03/22/2021 12:34 PM Contacts
03/29/2021 01:05 PM Desktop
03/22/2021 12:34 PM Documents
03/25/2021 07:40 PM Downloads
01/19/2021 10:29 AM Dropbox
03/22/2021 12:34 PM Favorites
03/03/2021 06:29 PM 11,238 gsview64.ini
03/22/2021 12:34 PM Links
03/22/2021 12:34 PM Music
03/09/2021 01:30 PM OneDrive
03/22/2021 12:34 PM Pictures
03/22/2021 12:34 PM Saved Games
03/22/2021 12:34 PM Searches
09/11/2020 12:03 AM 1,082 solarized-dark.drjava
09/11/2020 12:02 AM 1,082 solarized-light.drjava
03/24/2020 02:31 PM 3,112,504,347 Untitled Project.mp4
03/22/2021 12:34 PM Videos
7 File(s) 3,112,519,636 bytes
23 Dir(s) 15,630,663,680 bytes free
C:\Users\Classroom>
C:\Users\Classroom>find "x"
sdfasdfads
adgfgstrsgrtg
dfgsdfgsxdfgdfgd
dfgsdfgsxdfgdfgd
x
x
r
y
u
x
x
srgsfdgsfgsfd x sdfsdfs
srgsfdgsfgsfd x sdfsdfs
^Z
C:\Users\Classroom>dir | find "x"
07/06/2020 05:21 PM .xournalpp
01/19/2021 10:29 AM Dropbox
C:\Users\Classroom>
C:\Users\Classroom>sort /?
SORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes]
[[drive1:][path1]filename1] [/T [drive2:][path2]]
[/O [drive3:][path3]filename3]
/+n Specifies the character number, n, to
begin each comparison. /+3 indicates that
each comparison should begin at the 3rd
character in each line. Lines with fewer
than n characters collate before other lines.
By default comparisons start at the first
character in each line.
/L[OCALE] locale Overrides the system default locale with
the specified one. The ""C"" locale yields
the fastest collating sequence and is
currently the only alternative. The sort
is always case insensitive.
/M[EMORY] kilobytes Specifies amount of main memory to use for
the sort, in kilobytes. The memory size is
always constrained to be a minimum of 160
kilobytes. If the memory size is specified
the exact amount will be used for the sort,
regardless of how much main memory is
available.
The best performance is usually achieved by
not specifying a memory size. By default the
sort will be done with one pass (no temporary
file) if it fits in the default maximum
memory size, otherwise the sort will be done
in two passes (with the partially sorted data
being stored in a temporary file) such that
the amounts of memory used for both the sort
and merge passes are equal. The default
maximum memory size is 90% of available main
memory if both the input and output are
files, and 45% of main memory otherwise.
/REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
in a record (default 4096, maximum 65535).
/R[EVERSE] Reverses the sort order; that is,
sorts Z to A, then 9 to 0.
[drive1:][path1]filename1 Specifies the file to be sorted. If not
specified, the standard input is sorted.
Specifying the input file is faster than
redirecting the same file as standard input.
/T[EMPORARY]
[drive2:][path2] Specifies the path of the directory to hold
the sort's working storage, in case the data
does not fit in main memory. The default is
to use the system temporary directory.
/O[UTPUT]
[drive3:][path3]filename3 Specifies the file where the sorted input is
to be stored. If not specified, the data is
written to the standard output. Specifying
the output file is faster than redirecting
standard output to the same file.
C:\Users\Classroom>
C:\Users\Classroom>sort /? | find "x"
the exact amount will be used for the sort,
file) if it fits in the default maximum
maximum memory size is 90% of available main
/REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
in a record (default 4096, maximum 65535).
C:\Users\Classroom>
C:\Users\Classroom>find
FIND: Parameter format not correct
C:\Users\Classroom>sort
df;dg;dlfgkd
df;gkd;flkg;dlfgkd
df;lgkd;flgk;dfg
^Z
df;dg;dlfgkd
df;gkd;flkg;dlfgkd
df;lgkd;flgk;dfg
C:\Users\Classroom>sort /qqq
Invalid switch.
C:\Users\Classroom>sort /qqq | find
Invalid switch.
FIND: Parameter format not correct
C:\Users\Classroom>sort /qqq 2> errs.txt | find
FIND: Parameter format not correct
C:\Users\Classroom>
C:\Users\Classroom>
C:\Users\Classroom>sort /qqq | find
Invalid switch.
FIND: Parameter format not correct
C:\Users\Classroom>
C:\Users\Classroom>
C:\Users\Classroom>sort | find "x"
dsdfsdf
sdfsdfsd
dvfdfgdfg
asdasdasda
ertertert
ertegegege
^Z
C:\Users\Classroom>sort | find "x"
z x
a x
w x
b x
q x
r
s
u
^Z
a x
b x
q x
w x
z x
C:\Users\Classroom>sort | find "x"
x x
a x
w r
b
^Z
a x
x x
C:\Users\Classroom>sort /?
SORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes]
[[drive1:][path1]filename1] [/T [drive2:][path2]]
[/O [drive3:][path3]filename3]
/+n Specifies the character number, n, to
begin each comparison. /+3 indicates that
each comparison should begin at the 3rd
character in each line. Lines with fewer
than n characters collate before other lines.
By default comparisons start at the first
character in each line.
/L[OCALE] locale Overrides the system default locale with
the specified one. The ""C"" locale yields
the fastest collating sequence and is
currently the only alternative. The sort
is always case insensitive.
/M[EMORY] kilobytes Specifies amount of main memory to use for
the sort, in kilobytes. The memory size is
always constrained to be a minimum of 160
kilobytes. If the memory size is specified
the exact amount will be used for the sort,
regardless of how much main memory is
available.
The best performance is usually achieved by
not specifying a memory size. By default the
sort will be done with one pass (no temporary
file) if it fits in the default maximum
memory size, otherwise the sort will be done
in two passes (with the partially sorted data
being stored in a temporary file) such that
the amounts of memory used for both the sort
and merge passes are equal. The default
maximum memory size is 90% of available main
memory if both the input and output are
files, and 45% of main memory otherwise.
/REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
in a record (default 4096, maximum 65535).
/R[EVERSE] Reverses the sort order; that is,
sorts Z to A, then 9 to 0.
[drive1:][path1]filename1 Specifies the file to be sorted. If not
specified, the standard input is sorted.
Specifying the input file is faster than
redirecting the same file as standard input.
/T[EMPORARY]
[drive2:][path2] Specifies the path of the directory to hold
the sort's working storage, in case the data
does not fit in main memory. The default is
to use the system temporary directory.
/O[UTPUT]
[drive3:][path3]filename3 Specifies the file where the sorted input is
to be stored. If not specified, the data is
written to the standard output. Specifying
the output file is faster than redirecting
standard output to the same file.
C:\Users\Classroom>
C:\Users\Classroom>sort /r | find "x"
^Z
C:\Users\Classroom>