You tried to access a file called admin through the console. But, there was an error with the text "bash: admin: Permission denied". So now you want to store this error in the new file called error.txt to search for it later on the internet. How can you do this?
Getting data from standard input
Store the error output
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.