How do I do the following on a Unix Command Line Prompt:
Change you command-line prompt to some interesting phrase/word of
your choice
Change the command-line prompt to display your user name and your
current working directory (this includes your interesting
phrase/word)
Create a short alias for “ls -l -a”, it is up to you, but maybe
“lsa”
Execute the “who” command together with the “grep” command to
identify whether your peer group (or any 3 or more people) are
logged into the computer.
If you are on a Unix computer with a GUI then the login script must
launch the browser (any browser installed on that computers).
Your login script must append to the text file MyLoginHistory.txt
the date and time you just logged in.
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
How do I do the following on a Unix Command Line Prompt: Change you command-line prompt...
Write a command to change your prompt to “Command? ". If you wanted to make the change permanent, so it would be in effect in a subshell and the next time ou logged in, how would you do it? (The second part is difficult, and has a different answer in different versions of UNIX and maybe Linux, but you'll get 1.5 points for the correct first part, and full credit for any reasonable thought about the second part.)
QUESTION 1 What will be the output of following Unix command: find / -name ‘*’ A. List all files and directories recursively starting from / B. List a file names * in / C. List all files in / directory D. List all files and directories in / directory QUESTION 2 Which command is used to extract a column/field from a text file / input. A. paste B. get C. cut D. tar QUESTION 3 Which command creates an empty...
1. We can "download" a Unix command and the results from that command into a file on our local computer using copy and paste using a word processor such as Word, and then open the Unix Window using the download command 2. When a user is logged on to their account on hills on more than one computer at the same time, which command can display a list of these sessions? whoami kill history ps 3. When your session on...
Unix questions, i need help on Hint: Commands to study to answer this question: predefined shell variables, and .profile script file, echo SHELL, HOME, PATH, MAIL and TERM are predefined shell variables. You can use the value of a shell variable in a shell command putting $ in front of it. For example, to display the value of the HOME directory of the user, specify $HOME in the echo command like echo $HOME. Do not give just the value of...
Question 2 0/1 point (graded) What happens when you remove a directory using the command rm -r? You cannot remove a directory using the rm command. You permanently remove the entire directory, including all files and subdirectories. You move the entire directory to a trash folder, but it can be restored later. You get a warning message asking if you want to proceed, then you delete the directory. incorrect Answer Incorrect: Try again. Unix does not warn you before permanently...
This is done in Linux terminal. Modify the .bashrc file using command line which would add the following functionality to your shell upon opening a new terminal: 1. Alias called “fc” (short for “folder contents) invoking the command “ls -lah”B. Welcome message “This is demo number 7” C. Variable “semester” being equal to “Winter 2020” and print the value on screen 2. Create any directory of your choice and add it to PATH variable. 3. Show an example of local...
Vim and Unix Questions In a vim window, how do you set a tab to be two spaces wide? In a vim window, how do you, with a simple and single command, move the cursor to 5 lines below (don’t worry about the actual number of lines) and do nothing else? In a vim window, how do you, with a simple and single command, assuming your cursor is at the beginning of the word, delete the current word and do...
Lab 0: Essential UNIX OperationsObjectivesAt the end of this of lab, you should be able to:securely log in to a remote computer running a UNIX-like operating systemread the manual page for any commanduse the UNIX file systemedit a text fileNotes:· In order to get familiar with UNIX, do all your work on UNIX.· A command line interface may be harder to learn, but can be more powerful for scripting and automating tasks.· ...
Login to Suse Linux as root. Complete the task working as the root user. 1. What is your current directory. What did you enter at the command prompt to determine your current working directory? 2. Change directories if needed to find your foods (or food) file. Use vi to make the file contain 10 food items. Save your file and quit. Use the cat command, and option, and the argument food to display the food file with numbered lines. Use...