Answer the following questions related to Linux commands:
• List all the directories using echo command only
• List all the files within a directory including hidden files • Display a Calendar for a specific month and year
• What will be the output of the following: who| more who –a cat file name | more ℓs- ℓ > temp
• What options can be used with a grep command? Show output with each option
- List all the directories using echo command only: You cannot list directories using the
echocommand alone. You can, however, use theechocommand in combination with other commands such aslsandgrepto list the directories. For example, you can use the following command to list all the directories in the current directory:
echo $(ls -d */)
This command uses the ls command with the -d option to list only directories and the */ pattern to select only directories. The echo command then outputs the result.
- List all the files within a directory including hidden files: To list all the files within a directory, including hidden files, you can use the ____ _______ _________ _____ ________.
_____ ____ _______ _______ __________ __________.
_______ __________ ____ _________ ______ ______ _______.
______ ___ ______ _______ ____ ______ _______.
_______ ___ ___ _____ _____ _________.
____ _____ _______ _____ ___ ________ ______ _________ ____.
_________ __________ ________ ____ ________ _____ _________ ________ _________.
____ _________ _________ _________ ___ _________.
____ ______ ________ ________ __________ _________ ________ ______.
____ ___ ____ _________ _______ ___ _____ __________ ____ ____ _____ ______.
_________ ___ ______ _____ _________.
__________ ______ ____ _______ _____.
________ __________ _______ _________ ____ ____ __________ ________ ____ _______ _____ __________.
____ __________ _______ _______ _____ ______ ______ ______ _______.
_____ __________ ___ _______ _________.
_______ ____ __________ _____ _______ _______ ___ __________ ________ _______ _________ ________.
______ ___ _____ ____ __________ _____ _____ _____ _______ ______ ______.
______ _____ __________ ____ __________ _______ _________ ______ ____.
__________ ____ ____ _________ _____ _______ _______ ___ _______.
___ ________ _________ _________ ________ _______ ______ __________ _____ _________ _______.
_________ __________ _______ __________ _________.
__________ ______ ________ _________ ________ _______ ___ ______ __________ _________ ______ ____.
______ ________ _________ ______ _______ ___ _______.
______ _________ ____ _______ _________.
_______ ___ ________ ____ _______ _____.
________ __________ _______ ______ ______ __________ __________ ___ _______ _______.
_____ _______ ______ ______ _________ _________ ____ _________ ________ ___ _____.
________ ________ _______ _________ _______ _______ _____.
________ ______ _______ _______ _____ ______ _____ _______ _________ ______ ____.
________ ________ _____ __________ __________.
____ ______ ________ ___ ______.
_____ _______ __________ ____ __________ __________ ___ __________ ___.
_____ _____ _________ __________ _________ ___ __________ _____ _______.
_________ ________ ___ __________ ________ ____.
____ ___ ________ _____ _____ __________ __________ ___ ____ _____ ___ __________.
________ _______ ___ _______ ____ ________.
__________ ________ __________ ________ _________.
______ ______ _____ ________ ____ ____ _____ ____ ____.
_______ ___ _________ ___ ____ _________ _____ _______.
_____ _________ ___ ______ ____ ____ ________ _____ ______ _________.
_____ ________ __________ _________ _______ ____ _____ ______ __________ ____ __________.
____ ___ ______ _____ _________ __________ _________ _______ __________ ____ _______ __________.
_______ ____ ______ ______ ________ ________ ___ __________ __________ _____ ____.
_____ ____ _________ _________ _____ _____ ________ _____ ____.
__________ _______ __________ ____ ___ ____ __________ ___ _________ _____.
_________ _____ _____ _______ ____ ________ _____ ________ _____ _______.
_________ ____ __________ __________ _____ ___ ______ ________ ____ __________ __________.
________ ________ _____ ______ _________ ____ ______.
_________ _____ _______ ________ _____ _____ _________ ________.
_______ ____ _________ ____ ______.
_____ __________ __________ ___ ___ ________ ____ __________.
__________ ______ _____ _______ ________ ___ _________ __________.
___ ___ __________ ______ _________ _________ ________ _______ _______ ____ _____ ___.
_________ _______ _______ ________ ________ ______ __________ ______.
_____ _______ _____ ___ ______ _________ ____ ______ __________ ___ _______ _____.
___ __________ ______ _________ _____ ______ ____ _____ _______.
_____ ______ __________.
Get Full Answer on WhatsApp
Write a Shell Script program to find Greatest Common Divisor (GCD) for any two numbers. Ensure that your script carries out basic error checking
Discuss the key characteristics of a modern operating system
Discuss the basic design issues in distributed OS which are different from traditional OS and network OS and how are they implemented?
How is static IP address different from dynamic IP address?
What is the meaning of map drive in Windows 2000? What are the benefits in mapping a network drive? Write all the steps for mapping a network drive.
Explain virtual to physical address mapping concepts with the help of an abstract model. Make appropriate diagrams if required.
Explain functions of Primary Domain Controller. Also, explain the role of the 'primary domain controller' and 'backup domain controller' in enhancing security of window 2000 server.