Podcast
Questions and Answers
Which command is used to change the file owner and group in Linux?
Which command is used to change the file owner and group in Linux?
What is the Linux command for removing files and directories?
What is the Linux command for removing files and directories?
Which command is used to display network interfaces and IP addresses?
Which command is used to display network interfaces and IP addresses?
Which protocol is commonly used for secure remote administration?
Which protocol is commonly used for secure remote administration?
Signup and view all the answers
What port number is associated with DNS service?
What port number is associated with DNS service?
Signup and view all the answers
Which networking protocol is faster but lacks guarantees for delivery or order?
Which networking protocol is faster but lacks guarantees for delivery or order?
Signup and view all the answers
'ping' command in networking is primarily used for:
'ping' command in networking is primarily used for:
Signup and view all the answers
'netstat' command in networking is used to:
'netstat' command in networking is used to:
Signup and view all the answers
Which Linux command is used to change the file mode bits?
Which Linux command is used to change the file mode bits?
Signup and view all the answers
In networking, which command is used to trace the route packets take to a network host?
In networking, which command is used to trace the route packets take to a network host?
Signup and view all the answers
Which protocol is commonly used for email sending?
Which protocol is commonly used for email sending?
Signup and view all the answers
What port number is associated with FTP for file transfers?
What port number is associated with FTP for file transfers?
Signup and view all the answers
Which Linux command is used to copy files and directories?
Which Linux command is used to copy files and directories?
Signup and view all the answers
Which networking protocol is known for ensuring messages are delivered in order and error checking?
Which networking protocol is known for ensuring messages are delivered in order and error checking?
Signup and view all the answers
In Linux, which command is used to display the network connections, routing tables, and interface statistics?
In Linux, which command is used to display the network connections, routing tables, and interface statistics?
Signup and view all the answers
Which networking protocol is faster but lacks guarantees for delivery or order, suitable for streaming where speed is preferred over reliability?
Which networking protocol is faster but lacks guarantees for delivery or order, suitable for streaming where speed is preferred over reliability?
Signup and view all the answers
Study Notes
Basic Linux Commands
-
ls
command lists directory contents. -
cd
command changes directory. -
pwd
command prints the working directory. -
cp
command copies files and directories. -
mv
command moves or renames files and directories. -
rm
command removes files and directories. -
chmod
command changes file mode bits. -
chown
command changes file owner and group. -
grep
command searches text using patterns.
Networking Commands
-
ifconfig/ip addr
command displays network interfaces and IP addresses. -
ping
command checks connectivity to a host. -
netstat
command displays network connections, routing tables, and interface statistics. -
ss
command is a utility to investigate sockets. -
traceroute
command traces the route packets take to a network host. -
nslookup/dig
command queries Internet name servers for DNS information.
Network Protocols and Ports
- HTTP (port 80) and HTTPS (port 443) are used for web traffic.
- FTP (port 21) is used for file transfers.
- SSH (port 22) is used for secure remote administration.
- SMTP (port 25) is used for email sending.
- DNS (port 53) is used for domain name resolution.
- DHCP (ports 67/68) is used for network device configuration.
- RDP (port 3389) is used for Windows remote desktop access.
TCP and UDP
- TCP is a connection-oriented protocol, ensuring messages are delivered in order and checks for errors, similar to making a phone call.
- UDP is a connectionless protocol, sent without establishing a connection, making it faster but without guarantees for delivery or order, suitable for streaming where speed is preferred over reliability.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge on fundamental Linux commands such as ls, cd, cp, and more, as well as essential networking commands like ifconfig, ping, and netstat. This quiz will help you practice and reinforce your skills in navigating the terminal and managing network configurations.