1 1 Use the command to display the contents of a file one pa

1.

(1) Use the command to display the contents of a file one page at a time.

Solution

1.

The more command is a pager function used to view text in the visual display unit window one page or screen at a time

Syntax : $ more file_name

For example:

If we want to see the content of syslog file located in log directory ie, /var/log/directory we use

$more /var/log/syslog

2.

Since ‘.’ Refers to the home directory the command used is

./hello.sh

Or

By giving the execute permissions to the script

chmod +x /path/to/hello.sh

and to run command is /path/to/hello.sh

1. (1) Use the command to display the contents of a file one page at a time. Solution1. The more command is a pager function used to view text in the visual dis

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site