Junior — Middle
What command do you use to view the last 20 lines of a text file or log?
sobes.tech AI
Answer from AI
When working with Linux, I often use the following command-line tools and utilities:
ls,cd,pwd— for navigating the filesystem.grep— for searching text within files.awkandsed— for processing and transforming text data.topandhtop— for monitoring system processes and resources.ps— for viewing running processes.dfanddu— for assessing disk space usage.tar,zip,unzip— for archiving and extracting files.ssh— for remote server connections.curlandwget— for downloading data from the internet.systemctl— for managing system services.chmod,chown— for managing file permissions.
These tools allow for efficient system management, task automation, and quick access to necessary information.