Linux / Unix: Please explain in details if you can. Thanks.
Write find commands for the following. No need to submit
execution output.
3. To find all files from current directory that have not been
modified in the past three days
4. To find all files from /bin that are owned by root
5. To find all files from /etc that have the inode number 87539084
Please find below linux command for your questions:
3. To find all files from current directory that have not been modified in the past three days
$ find ./ -mtime +150
4. To find all files from /bin that are owned by root
$ find /bin -user root
5. To find all files from /etc that have the inode number 87539084
$ find /etc -inum 87539084
Linux / Unix: Please explain in details if you can. Thanks. Write find commands for the...
Unix/Linux The purpose of this lab is to practice the commands to manage and organize files and directories: How would one go about this? Thanks. Task 1: Preliminaries: 1) If you have not already done so, create a directory called bin under your HOME directory. 2) If you have not already made a copy (using ftp) of the file called famous.dat from the Assignment#1, do that now. 3) Make bin the active/working directory. Task 2: Perform all of the following...
Revision Question 3 on Linux. Please explain the shell script commands in the context of post execution. You have just logged in and have a directory called "novel" in your home directory containing the following files: chapter1.docx chapter2.docx chapter3.docx draft.pdf save where "save" is itself a directory and contains the files Attributes.txt draft.pdf.1 draft.pdf.2 draft.pdf.3 indexA.txt indexB.txt list1.txt list2.txt a) Describe the results you would expect when executing the following shell commands: i) ls novel/save/*A* ii) ls novel/*r[23]* iii) rmdir...
Linux / Unix: Please explain in details if you can. Thanks 2. Define what is meant by symbolic link with an example.
Please write the Linux commands and run them. h. What is the command or commands that would list the contents of the /var/log directory in alphanumeric order? List the command and its output. i. What is the command or commands used to list the files in /var/log in order of their size? List the command and its output. j. What is the command or commands used to list the top 10 file who use the most disk space? What is...
Please answer the following questions because I am not understanding it Description Investigate UNIX/Linux Files Systems by answering the questions below Requirements Save the recorded information in an ASCII file named “prog2.txt”. The file, “prog2.txt”, must be located in the directory: $HOME/itec400/homework Make sure the permissions on “prog2.txt” are set to 705. Solutions to problems below may require research on the web Record the questions below and the answers in “prog2.txt”. 1. What is the purpose...
Linux commands questions help 1.Find all files under the current directory which ends in '.dat' (just the .dat not the single quotes as well) and use -exec to create a listing of each file's inode number. 2. Find all files under the /tmp directory whose size is greater than 65 kilobytes and use -exec with an appropriate command to delete these files. 3. Search files in ~ and all subdirectories -- that contain the word 'hawk' (case sensitive) at the...
Linux/Fedora: Write the commands required for the following tasks. Try out each command on your system to ensure that it is correct: a. Make a hierarchical directory structure under /root that consists of one directory containing three subdirectories. b. Copy two files into each of the subdirectories. c. Create one more directory with three subdirectories beneath it and move files from the subdirectories containing them to the counterparts you just created. After you have completed these three steps at the...
e) In the context of Unix file system , what does "path"
means?
f) Write down the absolute path for the main.cpp in the
timeproj directory
g)Write down the relative path from inside timeproj directory to
the prgm1.cpp file
h)Write down the Unix commands and key strokes needed to create
a new sourcefile named time.cpp and then save it to disk using the
pico editor.
i) In Unix each file has three access modes, namely r,w, and
x.
1) Write...
I need help with this. 10-21. Briefly describe the following Linux commands and acronyms. ssh: telnet: traceroute: TCP: LAN: DNS: ftp: ssh: ping: env: g++: gcc: 22. Show a command that will create a file named "etc.tar" in your home directory from recursively going through all of the files in the "/etc" directory. In other words, the "etc.tar" file will include the files in the "/etc" directory as well as all of its subdirectories. IMPORTANT: This command must work for...
Objective: Practice common UNIX commands. Procedure: The following list of Unix commands are given for self-learning. Use 'whatis' or 'man' command to find out about each command. Your document should include the description or screen shots of the output from each of the command. Commands: df du gzip file history wget Changing access rights: chmod u+x Dir1.0 adds execute permission for the owner chmod go-w file1 removes write permission for the group and others chmod ugo=rw testfile sets...