Question

Hello, I need help creating a bash script for the following question, please also show screen...

  • Hello, I need help creating a bash script for the following question, please also show screen shot of running the program, thank you for your help in advance
    • Create a script to create files such as jpeg, pdf, png, gif, etc.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hi, if you just want to create those files you could type the command 'touch' followed by the 'filename.extension'

For Example:

$touch abc.jpeg

$touch file2.pdf

$touch file3.png

$touch gifile.gif

You can see my screenshots attached. Please let me know if you mean to do any other thing with the script!

Add a comment
Know the answer?
Add Answer to:
Hello, I need help creating a bash script for the following question, please also show screen...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hello I need help creating a bash script in linux for the following question: Create a...

    Hello I need help creating a bash script in linux for the following question: Create a script to expand the jpeg creator to create other types of files such as pdf, png, gif, etc. The jpeg creator is the following: #!/bin/bash FILE=$1 echo -e -n "\xFF\xD8\xFF\xE0"> $FILE dd if=/dev/random bs=512 count=4 >> $FILE

  • Hello I need help creating a bash script for linux as shown below getting the information...

    Hello I need help creating a bash script for linux as shown below getting the information from ifconfig The script must programmatically gather and output the informationEXACTLY AS SHOWN BELOW and (not echo this and echo that). ====================================== Interface: AAA MAC Address: BB:BB:BB:BB:BB:BB IP Address: CCC.CCC.CCC.CCC Subnet Mask: DDD.DDD.DDD.DDD Received Bytes: EEEEEE ====================================== Thanks,

  • Hello, I am attempting to write a basic shell script using bash. It will need to...

    Hello, I am attempting to write a basic shell script using bash. It will need to print the user, host, time, and date. It will need to take user input for a txt file to be searched and create a new file to save the results. It must print the number of lines and characters in the text. The user will need to enter three words to be searched, and the number of occurrences of those words in the text...

  • I need this done ASAP. Please write a bash shell script that does the following: Prints...

    I need this done ASAP. Please write a bash shell script that does the following: Prints out how many users are logged on. This can be accomplished using who and wc. Prints out a list of currently logged on users. This can be accomplished using who, grep, regular expressions, and echo. Prints out how many processes you have running from past days, and a list of those jobs. Use `whoami` to get your username. Run ps -ef and see how...

  • Hello all, I need an expert in organic chemistry to help with this practice question. Please...

    Hello all, I need an expert in organic chemistry to help with this practice question. Please give answer the question below. Please explain your answers for each drug separately. Please I need your honest answer to this question. Thank you. The question is as stated below; Hello all, I need an expert in organic chemistry to help with this practice question. Please give answer the question below. Please explain your answers for each drug separately. Please I need your honest...

  • Hello, I need help with this problem. Please show the solution and all the steps that...

    Hello, I need help with this problem. Please show the solution and all the steps that lead to it. Thank you very much. or ts A and

  • Unix Help - I cant figure out how to answer the last question. Please help! Write...

    Unix Help - I cant figure out how to answer the last question. Please help! Write a bash script to produce the answers to each of the questions below. Before the output, echo to the screen the question number and the command that will be executed. Show a real-time view of system information, such as CPU usage, memory usage, etc., and the processes using the most CPU, memory and time.

  • Hello, please help with the following, you're tasked with writing a shell script named “rpsm.sh”....

    Hello, please help with the following, you're tasked with writing a shell script named “rpsm.sh”. The script reports and prints (to stdout) selected storage management information. Think of it as “RePort Storage Management”. The easy way to describe what the script needs to do is to look at what it should display in the case where you provide incorrect parameters, or in the case where you provide “-h” for help: Usage: ./rpsm.sh <options>< directory> Reports selected information about specified directory...

  • I am a beginner in shell. Please help me with this question. question: In this assignment,...

    I am a beginner in shell. Please help me with this question. question: In this assignment, you will research into a few standard Unix utilities and leverage them in a shell script to perform a simple but useful task that's right up the alley of Unix shell scripting. As usual, you should aim for reasonably efficient algorithms and reasonably organized, comprehensible code. Consolidating log files My Internet chat software recording my conversations into daily log files, each named by date,...

  • To whom it may concern, Hello, I need help with this question and seeing if I...

    To whom it may concern, Hello, I need help with this question and seeing if I am doing the work and drawings correctly with units. The answer 843.0296378 meters per second is not correct. Question: "Two electrons are 2.40 m. apart. Another electron is shot from infinity and comes to rest midway between the two. What must its initial velocity be (in meters/second)? " Let me know when you can. Thank you!

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT