welcome back to the adventure this is Adam and today we're looking at how the
command line behavior has changed under four dots we'll get started right after
this
for das makes improvements to almost every aspect of ms-dos up to and
including the behavior of the command line itself under for das we now have
what is essentially a single line word processor let's take a look at a command
like this we can move the cursor left and right through the line one character
at a time using the arrow keys as we could in das key additionally we can now
move through the text one word at a time by holding ctrl and pressing left or
right we can also skip to the beginning of the line by pressing home for the end
of the line by pressing end not only can we move through the text faster but we
can also delete the text faster holding ctrl and pressing L will delete the word
left of the cursor alternatively holding ctrl and pressing R will delete the word
to the right of the cursor you can also press ctrl home to delete everything
from the beginning of the line to the cursor or press ctrl n to delete
everything from the cursor to the end of the line in the event you want to delete
everything on the line just press escape another key feature of the command line
is the command history for das will save every command executed in the history
list similar to das key you can scroll through the history by pressing the up
and down arrow keys on the keyboard new with four dots is the command completion
to jump to a specific command in the history list to type the first few
characters in the trans and then press the up arrow okay we want to jump to the
der command in the history list we can type di and then press the up arrow if
there is more than one command that needs the search criteria you can press
the up arrow again to scroll through the results the history list can only store
so many commands duskie has the hard limit of 10 command
after you reach that limit the oldest plant on the list is replaced by the
newest command with four dots the limit depends on the size allowed in the
options there are also options for how the history list will handle duplicate
commands and the minimum length the command has to be before it will be
stored in the history list here is a card for the video where I covered the
four dos options there are a few keystrokes for the history list we can
tell four dots to skip adding a commands to the history list by using the @
symbol before the command
the app sign before the command tells for does not put the command in the
history list next week an autocomplete part of the previous command by pressing
f3 for example say we're looking for a specific file
now we want to delete file to text you can type in the e L followed by the f3
key that autocompletes the rest of the line for us in this case the rest of the
line is the file name we just searched for another keystroke we have is for
deleting an entry in the history list scroll through the history list with the
up and down arrows when you reach an entry that you want to delete press
control B now in my case when I did CD backslash that's no longer in the
history list we also have an interesting option of typing a command at the
command prompt and pressing ctrl K to add the line to the history list without
executing the command last we have the command history window with duskie you
can show all the entries in the history list but that list was printed on the
screen similar to a directory listing with four dots we can press the page up
key and a pop-up window will appear in the upper right corner of the screen
like this here we have the same options to scroll through the entries with the
up and down arrows and we can delete them by pressing ctrl D that concludes
our look at the command line behavior subscribe for more great content every
Thursday thanks for stopping by see you next video
you