Need help Thank you Write a single line UNIX command to list

Need help. Thank you
Write a single line UNIX command to list all C files matching the two conditions below: filenames starting with A the length of filename (excluding \"c\") is at least 4 Write a single line UNIX command to store all the filenames of jpg files located at the parent directory into a text file jgpfiles Write a single line UNIX command to list all running processes belonging to the user \"John\" and redirect the output to current PS.txt Write a single line UNIX command to check current date and number of lines in file cxam2, and then save all the outputs to file exam_2 info txt. Write UNIX commands to define an environmental variable named \"time\" with initial value M11:00PM\". Write UNIX commands to mail text \"I am working on exam 2\" to the email address

Solution

Answer:

2)mogrify -format jpg /path/*.png

3) # ps -u user

example:

# ps -u john

4)

a) date (Display Current Date and Time)

date \"+format\"

explanation:

When we executed without arguments, the date command shows the current date and time.

5)Pass the %r format to the date command:

date +\"%r\"

6)mail -s <subject> <mailaddress>

example:

$ mail - \"i am working on exam2\" exam2@xmail.com

Need help. Thank you Write a single line UNIX command to list all C files matching the two conditions below: filenames starting with A the length of filename (e

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site