Skip to content
  • Home
  • CCNA Labs
    • CCNA 1 LAB Activities (v6 & v7)
    • CCNA 2 LAB Activities (v6 & v7)
    • CCNA 3 LAB Activities (v6 & v7)
    • CCNA 4 Lab Activities
  • Linux
    • Linux Unhatched
    • Linux Essentials 2.0
    • Linux Essentials
    • Introduction to Linux I
    • Introduction to Linux II
  • Programming
    • PCAP – Programming Essentials in Python
    • CLA – Programming Essentials in C
    • CPA Programming Essentials in C++
  • About
    • Contact Us
    • Privacy Policy

CCNA 7 Exam Answers 2023

Go with our CCIE, Passed 100%

  • ITE
    • ITE - IT Essentials v7.0
    • ITE - IT Essentials v6.0
      • IT Essentials Lab 2019
    • ITE v5.0 Exam
    • Virtual Activity Laptop
    • Virtual Activity Desktop
  • NE
    • MF
  • CCNA
    • CCNA1
      • CCNA1 v7.0 – ITN
      • CCNA1 v6.0
    • CCNA2
      • CCNA2 v7.0 – SRWE
      • CCNA2 v6.0
    • CCNA3
      • CCNA3 v7.0 – ENSA
      • CCNA3 v6.0
    • CCNA4
      • CCNA4 v6.0
  • Cyber-Security
    • ITC – Introduction to Cybersecurity 2.1 (Level 1)
    • CE – Cybersecurity Essentials 1.1 (Level 2)
    • CCNA CyberOps 1.1 (Level 3)
  • Security
    • CCNA Security v2
  • DevNet
  • CCNA PT Lab 2023

Introduction to Linux I Chapter 4 Exam

Last Updated on May 20, 2021 by Admin

Introduction to Linux I Chapter 4 Exam Answer

  1. Question ID 396

    If you want to delete a variable, you can run:

    • wipe
    • clear
    • delete
    • unset
  2. Question ID 397

    To view all current variables, you can use:

    • dump
    • var
    • view
    • set
  3.  

  4. Question ID 398

    To process a script file in the current context, you execute:

    (choose two)

    • .
    • include
    • source
    • exec
  5. Question ID 399

    Environment variables can be viewed by running:

    (choose two)

    • export -e
    • vars
    • export -p
    • env
  6.  

  7. Question ID 400

    The PATH environment variable is used for:

    • Specifying locations that are writable for the user
    • Specifying directories to search for executable files
    • Specifying directories to contain documentation
    • Specifying locations where ordinary users can navigate
  8. Question ID 401

    Which of the following will create a variable?

    • VAR+value
    • VAR=value
    • VAR value
    • Var~value
  9. Question ID 402

    Which character(s) cannot be placed in variable names?

    • Upper-case alpha characters
    • Hyphen (“-“) character
    • Underscore (“_”) character
    • Lower-case alpha characters
    • Numeric characters
  10.  

  11. Question ID 403

    Shell variables are used to:

    • Reboot the system
    • Prevent users from logging in
    • Hide passwords
    • Hold critical system information
  12. Question ID 404

    Local variables are:

    • Are not a valid type of variable
    • Passed into other shells and commands
    • Only available to the shell they are created in
    • Not used by shells at all
  13. Question ID 405

    Environment variables are:

    • Only available to the shell they are created in
    • Are not a valid type of variable
    • Passed into other shells and commands
    • Not used by shells at all
  14. Question ID 406

    Environment variables cannot be declared by which command?

    • typeset
    • declare
    • export
    • set
  15. Question ID 408

    The PATH variable will be used under which situation?

    • The command is an alias.
    • The command is not found.
    • A full path name to a command is provided.
    • The command is a function.
  16.  

  17. Question ID 409

    The /bin directory contains:

    • Nothing; it is not a valid directory
    • The most fundamental commands that are essential for the operating system to function
    • Commands that have been compiled from local sources
    • Essential administrative commands
  18. Question ID 410

    The /sbin directory contains:

    • Commands that have been compiled from local sources
    • Nothing; it is not a valid directory
    • The most fundamental commands that are essential
    • Essential administrative commands
  19. Question ID 411

    The /usr/local/bin directory contains:

    • The most fundamental commands that are essential for the operating system to function
    • Nothing; it is not a valid directory
    • Commands that have been compiled from local sources
    • Essential administrative commands
  20. Question ID 413

    The path testdir/file.txt is:

    • An invalid path
    • A relative path
    • A circular path
    • An absolute path
  21.  

  22. Question ID 414

    The path /data/file.txt is:

    • A circular path
    • An absolute path
    • A relative path
    • An invalid path
  23. Question ID 417

    Which of the following is a valid way to add the /data directory to the existing PATH variable?

    • $PATH=$PATH:/data
    • PATH=$PATH:/data
    • $PATH=/data
    • PATH=/data
  24. Question ID 419

    Which of the following files is specific to each user and executed every time a bash shell is opened?

    • ~/.bashrc
    • ~/.bash_profile
    • /etc/bashrc
    • /etc/profile
  25. Question ID 420

    Which of the following files is specific to each user and executed only during login?

    • ~/.bash_profile
    • /etc/profile
    • /etc/bashrc
    • ~/.bashrc
  26. Question ID 421

    Which of the following files is for all bash shell users and executed every time a bash shell is opened?

    • /etc/bashrc
    • /etc/profile
    • ~/.bashrc
    • ~/.bash_profile
  27. Question ID 422

    Which of the following files is for all bash shell users and executed only at login?

    • ~/.bash_profile
    • ~/.bashrc
    • /etc/bashrc
    • /etc/profile
  28. Question ID 425

    Which of the following commands will execute the last command that started with ec:

    • !!
    • !!ec
    • !ec
    • !-ec
  29. Question ID 879

    An absolute path always starts with which character?

    • .
    • /
    • ~
  30. Question ID 880

    In the PATH variable, the __ character is used to separate the directories.

    • :
    • ;
    • ~
    • /
  31. Question ID 881

    The _____ command will allow you to see commands that you have previously executed.

    • hist
    • previous
    • history
    • last
  32. Question ID 882

    The _____ variable stores directories that the shell used to find executable files.

    • CD
    • DIR
    • PATHS
    • PATH
  33. Question ID 883

    When specifying a path, the __ character symbolizes the current directory.

    • ..
    • /
    • ~
    • .
  34. Question ID 884

    Which file can you place in your home directory to be executed when you log off the system?

    • /etc/bashrc
    • ~/.bash_logout
    • ~/.bashrc
    • ~/.bash_profile
  35. Question ID 885

    The _____ command will tell you if a command exists as a built-in command, function, alias or a command located within the PATH variable.

    • set
    • export
    • declare
    • type
  • CCNA1 v7
  • CCNA2 v7
  • CCNA3 v7
System Test Exam Answers
Modules 1 – 3 Exam Answers
Modules 4 – 7 Exam Answers
Modules 8 – 10 Exam Answers
Modules 11 – 13 Exam Answers
Modules 14 – 15 Exam Answers
Modules 16 – 17 Exam Answers
Practice Final – ITN Answers
Course Feedback
ITN Practice PT Skills Assessment (PTSA)
Final Exam Answers
Modules 1 – 4 Exam Answers
Modules 5 – 6 Exam Answers
Modules 7 – 9 Exam Answers
Modules 10 – 13 Exam Answers
Modules 14 – 16 Exam Answers
ITN Practice Skills Assessment – PT Answers
SRWE Practice Skills Assessment – PT Part 1 Answers
SRWE Practice Skills Assessment – PT Part 2 Answers
SRWE Hands On Skills Exam Answers
SRWE Practice Final Exam Answers
SRWE Final Exam Answers 
Modules 1 – 2 Exam Answers
Modules 3 – 5 Exam Answers
Modules 6 – 8 Exam Answers
Modules 9 – 12 Exam Answers
Modules 13 – 14 Exam Answers
ITN Practice PT Skills Assessment (PTSA) Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 1 Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 2 Answers
ENSA Practice PT Skills Assessment (PTSA) Answers
ENSA Hands On Skills Exam Answers
Practice Final – ENSA Answers
ENSA Final Exam Answers
CCNA Certification Practice Exam Answers

Copyright © 2023 PressExam.