10 Questions
What is the name of the founder of Ubuntu?
Mark Shuttleworth
What vi editor command saves and quits the file?
:wq
What type of user has read permission in the permission notation rw-r--r--?
other
What is the primary purpose of a Samba server?
To provide a Linux-based file and print server
What is the name of the command-line partitioning tool?
fdisk
What type of partition can be used to boot an operating system?
primary
What is the configuration file for a Samba server?
/etc/samba/smb.conf
What is the purpose of the u
command in vi editor?
to undo a change
What type of permission allows a user to execute a file?
execute
What is the name of the Ubuntu edition that is suitable for servers?
Server
Study Notes
Ubuntu
- A popular Linux distribution based on Debian
- Founded in 2004 by Mark Shuttleworth
- Known for its user-friendly interface and ease of use
- Available in three editions: Desktop, Server, and Core
vi Editor Commands
- Basic commands:
-
i
: enters insert mode -
Esc
: exits insert mode -
:wq
: saves and quits the file -
:q!
: quits the file without saving
-
- Navigation:
-
h
: moves cursor left -
j
: moves cursor down -
k
: moves cursor up -
l
: moves cursor right
-
- Editing:
-
dd
: deletes a line -
p
: pastes a line -
u
: undoes a change
-
Permissions
- Three types of users:
-
owner
: the user who owns the file -
group
: the group that owns the file -
other
: all other users
-
- Three types of permissions:
-
read
(r): allows the user to view the file -
write
(w): allows the user to modify the file -
execute
(x): allows the user to execute the file
-
- Permission notations:
-
rwx
: read, write, and execute permissions -
rw-r--r--
: owner has read and write permissions, group has read permission, other has read permission
-
Partition
- A partition is a logical division of a hard drive
- Types of partitions:
-
primary
: a partition that can be used to boot an operating system -
extended
: a partition that can be subdivided into multiple logical partitions -
logical
: a partition that is created within an extended partition
-
- Partitioning tools:
-
fdisk
: a command-line partitioning tool -
gparted
: a graphical partitioning tool
-
Samba Server
- A Samba server is a Linux-based file and print server
- Allows Windows clients to access Linux files and printers
- Configuration file:
/etc/samba/smb.conf
- Basic configuration:
-
workgroup
: specifies the workgroup name -
security
: specifies the security mode (e.g. user, share) -
share
: specifies the shared directory
-
- Samba commands:
-
smbclient
: a command-line tool for accessing Samba shares -
smbd
: the Samba server daemon
-
Ubuntu
- A popular Linux distribution based on Debian, founded in 2004 by Mark Shuttleworth
- Known for its user-friendly interface and ease of use
- Available in three editions: Desktop, Server, and Core
vi Editor Commands
- Basic commands:
-
i
: enters insert mode -
Esc
: exits insert mode -
:wq
: saves and quits the file -
:q!
: quits the file without saving
-
- Navigation:
-
h
: moves cursor left -
j
: moves cursor down -
k
: moves cursor up -
l
: moves cursor right
-
- Editing:
-
dd
: deletes a line -
p
: pastes a line -
u
: undoes a change
-
Permissions
- Three types of users:
-
owner
: the user who owns the file -
group
: the group that owns the file -
other
: all other users
-
- Three types of permissions:
-
read
(r): allows the user to view the file -
write
(w): allows the user to modify the file -
execute
(x): allows the user to execute the file
-
- Permission notations:
-
rwx
: read, write, and execute permissions -
rw-r--r--
: owner has read and write permissions, group has read permission, other has read permission
-
Partition
- A partition is a logical division of a hard drive
- Types of partitions:
-
primary
: a partition that can be used to boot an operating system -
extended
: a partition that can be subdivided into multiple logical partitions -
logical
: a partition that is created within an extended partition
-
- Partitioning tools:
-
fdisk
: a command-line partitioning tool -
gparted
: a graphical partitioning tool
-
Samba Server
- A Samba server is a Linux-based file and print server
- Allows Windows clients to access Linux files and printers
- Configuration file:
/etc/samba/smb.conf
- Basic configuration:
-
workgroup
: specifies the workgroup name -
security
: specifies the security mode (e.g. user, share) -
share
: specifies the shared directory
-
- Samba commands:
-
smbclient
: a command-line tool for accessing Samba shares -
smbd
: the Samba server daemon
-
Test your knowledge of Ubuntu, a popular Linux distribution, and vi Editor commands, including basic commands and navigation.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free