Question

Redirect your full history to a file called HISTORY and include that in the top level...

Redirect your full history to a file called HISTORY and include that in the top level of your assignment directory. What command did you use to do this?

Homework Answers

Answer #1

history > ~/Assignment/history.txt

here I consider that your home directory in /home/XYZ/ and there Assignment folder is placed where this history.txt file will be placed.

if you have any doubt then please ask me without any hesitation in the comment section below, if you like my answer then please thumbs up for the answer, before giving thumbs down please discuss the question it may possible that we may understand the question in a different way and I can edit and change the answers if you argue, thanks :)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
linux operating system 1) Give a command to search the file /etc/passwd for the string “sarwar”...
linux operating system 1) Give a command to search the file /etc/passwd for the string “sarwar” 2) Give the command for deleting the memos directory. How do you know that the directory has been deleted? 3) Give the command for searching a file named fruits for the string “apple”, sending the output of the command to a file called applefreq
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and the output in a word document and submit it. Part1: 1. Log in to Linux using your user account name and password. 2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens....
List a sequence of Linux commands you would execute after you successfully log on to your...
List a sequence of Linux commands you would execute after you successfully log on to your VM machine, make a directory called midterm in your home directory, create a simple C program called display.c in the newly created directory, compile the code using gcc compiler, and run the program, and finally, save the output to a text file called display.txt. Remember to briefly explain each command.
If you want to redirect output of a bash command into a file what operator will...
If you want to redirect output of a bash command into a file what operator will you use? What does operator | mean in bash? What variable $0 contains in gawk? What variable $0 contains in bash script? What the statement esac means in bash script?
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
linux Using dpkg or apt, what would be the full command you would use to find...
linux Using dpkg or apt, what would be the full command you would use to find out if the python package was installed? This is tricky because Python’s actual package name is python3. $ If it is installed, what version is installed according to the dpkg or apt output? If it wasn’t installed, can you install it? What command would you use to do this? $ 2. Using dpkg, what would be the full command you would use to determine...
linux Sort the contents of the /etc/passwd file by username (the first item in each row)...
linux Sort the contents of the /etc/passwd file by username (the first item in each row) and save this sorted file to the path CompReview/SortedPasswordFile.txt What command did you use to do this?
Use the R package “UsingR” to download the data file (called “aid”) about monthly payment for...
Use the R package “UsingR” to download the data file (called “aid”) about monthly payment for federal program to R. Use R code to check whether it is a vector or matrix. Then assign “payment” as a vector based on the payment amounts only by removing the names of the states. Use the appropriate vector functions to rank, to sort, and to order the payment vector. Call these vectors as rank.payment, sorted.payment, and ordered.payment, Then use R code to make...
Open a new terminal window a) At the command prompt type the “top “command b) Screenshot...
Open a new terminal window a) At the command prompt type the “top “command b) Screenshot and post the number of running processes. c) How many sleeping processes do you have? d) How much total memory is shown? e) How much swap memory is shown? f) Describe what swap memory is and why it is important. g) While using the top command, Press the “h” key. What happens? Press “h” again to return. h) What is the PID of the...
Step 1: Edit StringExplode.java Download the StringExplode.java file, and open it in jGrasp (or a text...
Step 1: Edit StringExplode.java Download the StringExplode.java file, and open it in jGrasp (or a text editor of your choice). This program will “explode” a String into an array of characters (char[]), and then print out the array. The String comes from the first command-line argument. Example output with the command-line argument foo is below: f o o --------------------------------------------------------------------- public class StringExplode { // TODO - write your code below this comment. // You will need to write a method...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT