Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien
logo-home
Chapter 4-6 Questions and Answers €12,84   Ajouter au panier

Examen

Chapter 4-6 Questions and Answers

 6 vues  0 fois vendu
  • Cours
  • Wrt
  • Établissement
  • Wrt

Chapter 4-6 Questions and Answers choose all of the following that are true statements -using wildcards makes it possible to construct sophisticated selection criteria for filenames -wildcards can be used with any command that accepts filenames as arguments -wildcards are especially valuable no...

[Montrer plus]

Aperçu 2 sur 5  pages

  • 20 octobre 2024
  • 5
  • 2024/2025
  • Examen
  • Questions et réponses
  • Wrt
  • Wrt
avatar-seller
Chapter 4-6 Questions and Answers
choose all of the following that are true statements - answer -using wildcards makes
it possible to construct sophisticated selection criteria for filenames
-wildcards can be used with any command that accepts filenames as arguments
-wildcards are especially valuable not only because they are used so frequently on the
command line, but because they are also supported by some graphical file managers

match the command examples with the results - answer -mv file1 file2 dir1: move
file1 and file2 into directory dir1. dir1 must already exist
-mv file1 file2 dir1: move file1 and file2 into directory 2 into dir1. dir1 must already exist
-mv file1 file2: move file1 to file2. if file2 exists, it is overwritten with the contents of file1.
if file2 does not exist, it is created. in either case, file1 ceases to exist
-cp dir1/* dir2: using a wildcard, all the files in dir1 are copied into dir2, dir2 must already
exist
-cp file1 file2 dir1: copy file1 and file2 into directory dir1. dir1 must already exist
-cp file1 file2: copy file1 to file2. if file2 exists, it is overwritten with the contents of file1. if
file2 does not exist it is created
-mkdir dir1 dir2 dir3: creates three directories named "dir1" "dir2" and "dir3"
-rm -r file1 dir1: delete file1 and dir1 and its contents
-rm -rf file1 dir1: delete file1 and dir1 and its contents, except that if either file1 or dir1 do
not exist, rm will continue silently
-ln -s item link: create a symbolic link where "item" is either a file or a directory

choose all of the following that are true statemens, w.r.t. the commands used on our
vbitbus.tcc.edu system - answer -the "copy" command copies files or directories
-the "mkdir" command is used to create directories****
-the "move" command performs both file moving and file renaming, depending on how it
is used. in either case, the original filename always still exists after the operation
-the "remove" command is used to remove (delete) files and directories

with a file manager, we can drag and drop a file from one directory to another, cut and
paste files, delete files and so on. so why use these old command line programs? -
answer for power and flexibility

match the commands with the tasks performed. no partial credit. take your time. use
your book - answer -cp: copy files and directories
-mv: move/rename files and directories
-mkdir: create directories
-rm: remove files and directories
-ln: create hard and symbolic links
-pwd: print name of current working directory
-cd: change directory
-ls: list directory contents

, -file: determine file type
-less: view file contents

choose all of the following that are true statements - answer -a hard link is
indistinguishable from the file itself
-a hard link may not reference a directory
-a hard link cannot reference a file that is not on the same disk partition as the link itself
- a hard link cannot reference a file outside its own file system

match the wildcards with their meaning - answer -*: matches any characters
-?: matches any single character
-[characters]: matches any character that is a member of the set characters
-[!characters]: matches any character that is not a member of the set characters
-[[:class:]]: matches any character that is a member of the specified class
-[:alnum:]: matches any alphanumeric character
-[:alpha:]: matches any alphabetic character
-[:digit:]: matches any numeral
-[:lower:]-matches any lowercase letter
-[:upper:]- matches any uppercase letter

choose all of the following that are not true statements - answer hard links have no
important limitations

choose all of the following that are true statements - answer -symbolic links were
created to overcome the limitations of hard links
-unlike a symbolic link, when we list a directory containing a hard link we will see no
special indication of the link
- when a hard link is deleted, the link is removed but the contents of the file itself
continue to exist

match the command with the best description - answer -cat: concentrate files
-sort: sort lines of text
-uniq: report or omit repeated lines
-grep: print lines matching a pattern
-wc: print newline, word, and byte counts for each file
-head: output the first part of the file
-tail: output the last part of the file
-tee: read from standard input and write to standard output and files
- show: not a valid command
-last: show listing of last logged in user

choose all of the following that are true statements - answer -i/o redirection allows us
to change where output goes
-programs take input from a facility called standard input (stdin), which is, by default,
attached to the keyboard
- i/o redirection allows us to change where input comes from

Les avantages d'acheter des résumés chez Stuvia:

Qualité garantie par les avis des clients

Qualité garantie par les avis des clients

Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.

L’achat facile et rapide

L’achat facile et rapide

Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.

Focus sur l’essentiel

Focus sur l’essentiel

Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.

Foire aux questions

Qu'est-ce que j'obtiens en achetant ce document ?

Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.

Garantie de remboursement : comment ça marche ?

Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.

Auprès de qui est-ce que j'achète ce résumé ?

Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur Pogba119. Stuvia facilite les paiements au vendeur.

Est-ce que j'aurai un abonnement?

Non, vous n'achetez ce résumé que pour €12,84. Vous n'êtes lié à rien après votre achat.

Peut-on faire confiance à Stuvia ?

4.6 étoiles sur Google & Trustpilot (+1000 avis)

72042 résumés ont été vendus ces 30 derniers jours

Fondée en 2010, la référence pour acheter des résumés depuis déjà 14 ans

Commencez à vendre!
€12,84
  • (0)
  Ajouter