Module+6_+Mastering+More+Commands+In+Linux+-+Summary+Notes
Module+6_+Mastering+More+Commands+In+Linux+-+Summary+Notes
Summary Notes
Networking Commands
- ifconfig: Configures and displays network interface parameters.
- ping: Tests connectivity between two hosts.
- netstat: Displays various network-related info like network connections, routing tables,
interface stats.
- ssh: Securely connects to a remote host.
- wget: Downloads files from the internet.
- dig: Queries DNS servers for domain/IP info.
- host: Performs DNS lookups.
Process Management
- ps: Displays current processes.
- top: Displays real-time system summary and process activity.
- kill: Sends signals to terminate processes.
- pstree: Displays processes in a tree format.
Best Practices:
- Regularly update your knowledge of commands as Linux evolves.
- Practice using commands in a safe environment before on production systems.
- Use version control for scripts to track changes and revert if necessary.
- Automate repetitive tasks with scripts using bash or other scripting languages.
- Be cautious with commands that require root privileges; double-check before execution.