Chapter 2: Creating the Perfect Linux Desktop Flashcards

1
Q

Major reasons to learn how to use the shell

A

Learn to get around any Linux or other UNIX-like system
Special shell features enable you to gather data input and direct data output between commands and Linux filesystems.
You can gather commands into a file using programming constructs such as conditional
tests, loops, and case statements to perform complex operations quickly, which would
be difficult to retype over and over

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to get to a shell interface in Linux

A

To start, boot up your Linux system.
On your screen, you should see either a graphical login
screen or a plain-text login prompt
you should log in with a regular user account
If you have a plain-text login
prompt, continue to the next section,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The default prompt for a regular user

A

dollar sign:

$

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

default prompt for the root user

A
a pound sign 
#
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Ways to launch a Terminal window

from a Linux desktop

A

Right-click the desktop
select it to start a Terminal window
Click the panel menu
Many Linux desktops include a panel at the top or bottom of
the screen
you can select Applications ➪ System Tools ➪ Terminal
to open a Terminal window.
In GNOME 3, click the Activities menu, type Terminal,
and press Enter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

$ date

A

display the current day, month,

date, time, time zone, and year

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

$ pwd

A

shows your current working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

$ hostname

A

shows your

computer’s hostname.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

$ ls

A

lists the files and directories in your current directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

characters and words that you can type after a command

A

options and arguments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

argument

A

extra piece of information

such as a filename,directory, username, device, or other item, that tells the command what to act on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

$date +’%d/%m/%y’

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly