Question

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

21 Jan 2021
Answer :
Word Count : 344

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

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Write and run commands in Linux for the following tasks:- To check
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support