Page 1 of 1

3. Make a directory in your home directory. Copy files in directory /etc that have Word conf in file name to newly creat

Posted: Mon May 09, 2022 5:59 am
by answerhappygod
3 Make A Directory In Your Home Directory Copy Files In Directory Etc That Have Word Conf In File Name To Newly Creat 1
3 Make A Directory In Your Home Directory Copy Files In Directory Etc That Have Word Conf In File Name To Newly Creat 1 (220.92 KiB) Viewed 20 times
3. Make a directory in your home directory. Copy files in directory /etc that have Word conf in file name to newly created directory. Give permission of read, write, execute to owner, read and execute to group, only read to other users for the files you just copied. Delete that directory with the files in it (or you can first delete files and remove directory) Goto root directory, then go to your home directory by absolute path. 4. Go to your home directory create a new file with vi named as your initials (for me as.txt) Get in to insert mode, write your name, surname five times on same line. Paste the line to clipboard, paste same line 5 times. Search for surname in document, search for next occurence with next Find the list of processes that are created by your account, redirect that list to processes.txt 6 Find all files that are larger than 20MB, redirect list to BigFileList.txt. Find all files that have update time in last one week, redirect list to UpdatedFileInLastWeek.txt. 5 7 Look at the last added 10 lines to /var/log/syslog file 8 Be the root user Change modification and Access time of /etc/hosts file to 3rd October 2012 20:10 Show it is changed Change modification and Access time of /etc/hosts file to current date and time Show it is changed 9 Show previously command you ran on your shell 10 Make a tar archive for your files in your home directory, Show the contents of the tar archive without extracting it, also Show the size of it. Compress your tar file with one of the compression programs, shot the size of the compressed file Delete one of the noncritical files in your home directory Extract that file from the compressed archive file (you may do in more than one step) 11 Find DNS servers of alibaba.com with one of the programs in Kali Linux 12 Show and change your virtual machine's IP number, subnet mask