Create a file named Good1 nano Good1 Type Welcome in the file and save it. What command gives...

80.2K

Verified Solution

Question

Programming

  1. Create a file named Good1

nano Good1

Type Welcome in the file and save it.

  1. What command gives you a long listing of your filenamesin the current directory, including permissions attached to eachfile.
  2. What command would you use to change a file’spermissions to include read, write and execute permission for theowner of the file only.
  3. Explain the following file permissions

   a)777

         b)765

         c)400

         d)666

         e)600

         f)444

  1. Create a shell script named script1 to perform the followingtask
    1. Print the current date
    2. Print the current working directory
    3. Print the calendar.

Answer & Explanation Solved by verified expert
4.3 Ratings (538 Votes)
Please see the answers below Please provide your feedback Thanks and Happy Learning 1 Create a file named Good1 use touch command to create a file touch Good1 2 Type Welcome in the file and save it command to open the file vi Good1 Steps to write something into the file after opening the file a switch to insert mode by pressing i or Insert key on the keyboard b Now write the desired texthere it is the string Welcome c Once the writing is done the press esc key the type colon ie then type    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students