Junior — Middle
What operational commands have you used in Linux for performing various tasks?
sobes.tech AI
Answer from AI
In Linux, the following command-line tools are often used for various tasks:
ls— view directory contents.cd— change the current directory.cp— copy files and directories.mv— move or rename files.rm— delete files or directories.chmod— change file permissions.chown— change file owner.ps— view running processes.top— monitor processes in real-time.grep— search within file contents.find— search for files based on criteria.tar— archive and extract files.ssh— connect remotely to a server.curlorwget— download data from the internet.
Example of searching for processes by name:
ps aux | grep nginx
These commands allow efficient system management and task automation.