Need help. Thank you Write a single line UNIX command to list all C files matchi
ID: 3935973 • Letter: N
Question
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 addressExplanation / Answer
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
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.