Write the Linux commands for the following:
i. List all the hidden files and folders in the current directory.
it. Print the address of the path of your current directory.
iii. Display the manual about the command Ping.
iv. Rename the file School.txt to Synod.txt
v. Open the file Class9.txt in a text editor.
vi. Display the contents of the file FileReport.doc
Answers
Answered by
2
Answer: hey army !!
i)To see hidden files, you need to add the -a (all) option to the list command. To see all the files in a directory, you can type ls -a, lc -a, or lf -a. Try listing all the files in your home directory: See if you are in your home directory by typing pwd and pressing <Enter>.
iii)To use the ping command you go to the command line. On Windows (XP,7) – Start Menu>Run and enter cmd to open a command prompt. On Windows 10 type cmd into the search box and select the cmd prompt from the displayed programs. You can use the ping cmd with an IP address or the computer/host name
Similar questions