Junior — Middle
What command-line utilities and tools do you usually use in Linux to perform your tasks?
sobes.tech AI
Answer from AI
In Linux, for everyday tasks, I usually use the following command-line utilities and tools:
- bash/zsh — shell for working with the command line.
- ls, cd, pwd — navigation through the filesystem.
- grep — searching within file contents.
- awk, sed — processing and transforming text data.
- find — searching for files based on criteria.
- top, htop — monitoring processes and resources.
- ps — viewing running processes.
- curl, wget — downloading data from the internet.
- ssh — remote connection to servers.
- tar, zip, unzip — archiving and unarchiving files.
- systemctl — managing system services.
- df, du — checking disk space usage.
- netstat, ss — diagnosing network connections.
- vim, nano — text editors for editing configurations and scripts.
Example: to find all files with the extension .log containing the word "error", you can use:
grep -rl "error" /var/log/*.log
These tools allow for efficient system management, task automation, and quick access to necessary information.