15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C:\Users\mike\Jedi>copy

3. Type notes.txt and a space.

C:\Users\mike\Jedi>copy notes.txt

4. Type e:\.

C:\Users\mike\Jedi>copy notes.txt e:\

5. Press ENTER.

The entire command and response would look like this:

If you point the command prompt to the E: drive and type dir, the

notes.txt file will be visible. Let’s try another example, this time in macOS

and Linux. Suppose 100 files are in the ~/Jedi directory, 30 of which have the

.odf extension, and suppose you want to move those files to

~/Screenplays/sw2020. Follow these steps:

1. Type cd Screenplays/sw2020 to get the command prompt to the

correct folder.

mike@server:~$ cd Screenplays/sw2020

2. Type mv and a space.

mike@server:~/Screenplays/sw2020$ mv_

3. Type *.odf and a space.

mike@server:~/Screenplays/sw2020$ mv_*.odf_

4. Type ~/Jedi.

mike@server:~/Screenplays/sw2020$ mv_*.odf_~/Jedi

5. Press ENTER.

mike@server:~/Screenplays/sw2020$

macOS and Linux don’t give you any feedback at all unless you use

special switches. You can check to see if they all made it with ls.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!