Write and run commands in Linux for the following tasks:
- To check if a particular process is running or not
- To see currently running processes and other informations like memory and CPU usages
- List all file names that have a letter h as 4th character in the name
- List all the file names that have the number 2 or 5 in the name
In a Linux environment, you can perform these tasks using various command-line tools and utilities. Here are the commands for each task:
1. To check if a particular process is running or not:
You can use the `ps` command along with `grep` to check if a specific process is running. Replace "process_name" ________ ____ ______ _________ ____ _________ __________ ________ _________ _____ ___ ______.
____ ____ _______ _________ _____ ___ _____ ____.
________ __________ _____ ________ ___ __________ ________ _________ ___ ______ ________ _________.
_____ ______ ______ ______ ___ _____ __________ ____ __________ _____ __________ _____.
____ __________ ________ _____ _____ ______ ______ ______ ____ __________.
___ _________ ____ ______ _________ __________ _____ ___ __________ ___.
______ _______ _____ __________ ________ ______ _________ _______ __________ _______ _____.
_____ __________ _________ ______ _____ ____ ______.
____ _______ ___ ______ ________ ______ ______ _________ _______ ____ ________ ___.
_______ _________ _________ _______ ______ ____ ___ ____ ___ _______ _____ ____.
______ __________ _______ _____ _______ ___ ___ __________ ___ _______.
________ ____ __________ _________ ________.
______ _____ _____ ____ ________ ___ _________ _________ _________ ______ ____ _________.
____ ___ ________ _______ ____.
____ ___ __________ _________ ________ ____.
____ ___ _________ ________ _______ ___ _________ ______ __________ ________ _________.
_________ _________ ______ ___ _____ __________ _____ _________ __________ ____.
___ ________ _________ _________ _________ _____ _____ ________ _________ ___ ____ _____.
_________ _______ _______ _______ _______ ______ _____ __________ __________.
_____ _____ ___ ___ ______ ___ ________ ______ _____ ____.
________ ________ _________ __________ _________.
_________ __________ _____ __________ _________ ______ _____ ______ ______ __________ __________.
__________ __________ _________ __________ _____ _____ _______ ____ _________ ______.
______ __________ _______ _____ _____ ____ ____ ______ ______.
_______ _____ _________ _______ ___ _______ _________ ______ ___ ________ ________.
_____ ___ ______ ____ _____ __________.
__________ ______ ___ ____ _______ _______ __________ _________.
_____ ___ ____ ____ __________ ____ _________ __________.
___ _________ ________ _______ __________ ____.
____ ____ ________ ___ _________ _________ ________ ________ _________ _____ _________ _____.
___ ___ _________ ____ _________.
Get Full Answer on WhatsApp