Useful Information Flashcards

1
Q

How do I debug Everpad

A

killall everpad everpad-provider everpad-lens && everpad-provider –verbose

Run everpad and everpad-lens in separate environments

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

What are the three processes Everpad runs?

A

everpad, everpad-lens everpad-provider

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

How do I set the system’s domain name

A

sudo domainname

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

How do I get the system’s domain name

A

domainname

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

How do I configure a new network card?

A

Edit /etc/network/interfaces

restart networking

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

How do you restart networking on Ubuntu?

A

sudo /usr/sbin/service networking restart **Sometimes requires a reboot

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

What options for static ip addresses in /etc/network/interfaces must be set?

A

address, netmask, gateway, network and broadcast

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

What system file sets environment variables for all uses no matter what shell is used?

A

/etc/environment

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

What is the difference between /etc/environment and /etc/bash.bashrc?

A

/etc/enviornment only sets environment variables and does not interpolate strings. /bash.bashrc only impacts bash and runs as a typical login file for every bash user.

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

What command temporarily sets a proxy?

A

export http_proxy=http://:

Also, HTTP_PROXY, https_proxy, HTTPS_PROXY, HTTPS_proxy, FTP_PROXY

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

What environment variable tells when not to use a configured proxy?

A

NO_PROXY, no_proxy

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

When using the NO_PROXY environment variable how would you set no proxy for localhost and a specific domain?

A

export NO_PROXY=localhost,127.0.0.1,localaddress,.domain

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

What command do you use to update package repositories?

A

sudo apt-get update (or if installed #sudo aptitude update)

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

How do you mount a cd?

A

sudo mount /dev/cdrom /media/cdrom

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

What command do you use to stop a running service?

A

stop

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

What command do you use to start a stopped service?

A

start

17
Q

What command do you use to stop then start a running service

A

restart

18
Q

What command would you run to restart samba?

A

sudo restart smbd

19
Q

how do you denote a space in a path name in /etc/fstab

A

/040

20
Q

What line do you put in /etc/fstab to use mp3fs at 192 bitrate

A

mp3fs#/ fuse allow_other,ro,bitrate=192 0 0

21
Q

what is a useful app to handle screenshots

A

shutter

22
Q

How do you access the screenshot app shutter

A

It’s in the notification area