Which command displays a the names of the files in a folder in reverse order quizlet?

Upgrade to remove ads

Only SGD 41.99/year

  • Flashcards

  • Learn

  • Test

  • Match

  • Flashcards

  • Learn

  • Test

  • Match

quiz questions 1-31

Terms in this set [31]

Which of the following commands switches to another user?

su

Which of the following will change your current working directory to the home directory

cd $HOME

Which of the following is the Linux command to view all switches associated with a command?

man

Which of the following displays users currently on the system, assuming a multi-user environment, including load average on CPU?

w

Which of the following symbols does the file definition switch appended to the name of a symbolic link?

@

Which of the following is the alias for the system root directory?

/

Which of the following is the alias for the current directory?

.

Which of the following will change your current working directory to the home directory

cd ~

Which of the following is the command to display the directory listing showing file permissions?

ls -l

Which of the following will display the last 100 commands executed?

history 100

Which of the following commands sets or changes the password for a user

passwd

Which of the following displays the contents of the environment variable for the path?

echo $PATH

Which of the following symbols does the file definition switch append to the name of an executable file?

*

Which of the following is the alias for the parent directory?

..

In which of the following locations do you find the history list of commands that you have executed

home directory

Which of the following displays a list of the environment variable?

env

Which of the following is the command to change to the system root directory

cd /

which of the following displays the user identification, including user and group IDs [uid and gid] of the current user

id

Which of the following will list directory contents sorted in reverse order?

ls -r

Which of the following will use gedit to modify a file name mytest and keep the command line open at the same time

gedit mytest &

Which of the following variables contains formatting characters that determine the appearance of the linux prompt?

$PS1

Which of the following creates an empty file

touch

Which of the following will display the list of all commands in the history file

cat .bash_history

Which of the following displays the directory listing of the system root without changing into it?

ls /

Which of the following enables you to find the directory where the help executable is found?

whereis help

Which of the following displays the date in universal format [Greenwich Mean Time]?

date -u

Which of the following commands creates an alias for displaying the calendar for 2019?

alias cy='cal 2019'

Which of the following symbols does the file definition switch append to the name of a directory?

@

Which of the following displays only a brief description of the ls command

whatis ls

Which of the following displays users currently on the system, assuming a multi-user environment

who

Which of the following executes a command with elevated privileges?

sudo

Sets with similar terms

Linux A

36 terms

siegfried767

Linux Part 1 - Managing Software [Quiz 2]

44 terms

mamoreno89

LX0-101

120 terms

kshalvey

Linux Final Exam

469 terms

dustin_sochacki

Other sets by this creator

Database Mod 8 Practice Quiz

8 terms

Gur_Dhanoa

Database Mod 7

15 terms

Gur_Dhanoa

Database Module 2-3

30 terms

Gur_Dhanoa

Chapter 8

39 terms

Gur_Dhanoa

Recommended textbook solutions

Information Technology Project Management: Providing Measurable Organizational Value

5th EditionJack T. Marchewka

346 solutions

Introduction to Algorithms

3rd EditionCharles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen

726 solutions

Computer Organization and Design MIPS Edition: The Hardware/Software Interface

5th EditionDavid A. Patterson, John L. Hennessy

220 solutions

Service Management: Operations, Strategy, and Information Technology

7th EditionJames Fitzsimmons, Mona Fitzsimmons

103 solutions

Other Quizlet sets

Master

1,135 terms

DSGtermin8r

Unix Ch06 Commands

12 terms

KnightOfAiur

kahoot chapter 7

11 terms

kharik69

ITF+ Part 1

13 terms

vincemck11

Which command gives you a full list of files reverse ordered by time?

If you want to get the results in the reverse sort order, use the -r option. It's worth mentioning that the ls command does not show the total space occupied by the directory contents. To get the size of a directory , use the du command.

Which command displays the contents of files on screen in descending order?

List files and sort by file size. Type the ls -S [the S is uppercase] command to list files or directories and sort by size in descending order [biggest to smallest].

Which command displays the names of all the files present in current directory?

To list all files in the current directory, type the following: ls -a This lists all files, including. dot [.] ... .
To display detailed information, type the following: ls -l chap1 .profile. ... .
To display detailed information about a directory, type the following: ls -d -l ..

What does the ls command do quizlet?

The ls command displays the names of files in a directory.

Chủ Đề