Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I. Run following commands in bash and record your output in provided space. 1. echo Displays a line of text. $ echo Hello World ______________________________________________________________________

I. Run following commands in bash and record your output in provided space.

1. echo Displays a line of text. $ echo Hello World ______________________________________________________________________

$ echo Hello World ______________________________________________________________________

$ echo e Hello World ______________________________________________________________________ ______________________________________________________________________

2. man an interface to on-line reference manuals

$ man echo ______________________________________________________________________

3. pwd print name of current/working directory

$ pwd ______________________________________________________________________

4. date print or set the system date

$ date ______________________________________________________________________

$ date R ______________________________________________________________________

5. ls list directory contents $ ls ______________________________________________________________________

$ ls -l ______________________________________________________________________

$ ls -alg ______________________________________________________________________

  1. which shows full path of a command $ which echo ______________________________________________________________________
  2. whereis locate the binary, source and manual files of a command

$ whereis echo ______________________________________________________________________

8. file determine the file type

$ file ______________________________________________________________________

9.alias short cut command to a longer command $l ______________________________________________________________________

$ alias l=ls -alg" $l ______________________________________________________________________

$ unalias l $l ______________________________________________________________________

10. ln creates hard or soft (symlink) links to a file $ ln s /usr/bin test $ ls alg test ______________________________________________________________________

11. wget non-interactive download of files from the web $ wget https://www.w3.org/TR/PNG/iso_8859-1.txt $ ls l iso_8859-1.txt ______________________________________________________________________

12. wc count and print the lines, words and bytes for given file(s) $ wc iso_8859-1.txt ______________________________________________________________________

13. Pipes ( | ) channel output of one program to input of another. This allows programs to be chained together and run concurrently $ echo Hello World | wc ___________________________________________________________________

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Define organisational structure

Answered: 1 week ago

Question

Define line and staff authority

Answered: 1 week ago

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

5. Discuss the role of the Web in career management.

Answered: 1 week ago

Question

4. Design a career management system.

Answered: 1 week ago