About 5,230 results
Open links in new tab
  1. View history of commands run in terminal - Ask Ubuntu

    Oct 3, 2020 · Is there a way to save all my typed terminal commands and view it like history in a log book?

  2. command line - How to really clear the terminal? - Ask Ubuntu

    The UNIX/Linux StackExchange, has a thread on this: How to clear terminal completely? (unix.stackexchange.com), as well as SuperUser : Clear terminal using keyboard shortcut …

  3. How do I shut down or reboot from a terminal? - Ask Ubuntu

    Jun 15, 2016 · Open your terminal with CTRL + ALT + T and do these following commands To shutdown the system: sudo shutdown -h now To restart: sudo reboot & one more command …

  4. Save the terminal history to a file for print - Ask Ubuntu

    Jan 23, 2014 · So, close the terminal before to print it. But if you want to save the terminal history in another file, then you can use the following command (this new file will contain also and the …

  5. apt - How to install updates via command line? - Ask Ubuntu

    Use this: sudo apt update # Fetches the list of available updates sudo apt upgrade # Installs some updates; does not remove packages sudo apt full-upgrade # Installs updates; may also …

  6. Which one is better: using ; or && to execute multiple commands …

    Aug 20, 2013 · Using ; will execute the commands irrespective whether first command is successful or not. Using && will execute the second command only when first command …

  7. How do I type on the next line in the Terminal? - Ask Ubuntu

    Dec 6, 2012 · I am using Ubuntu 12.10 and want to run a set of commands in the terminal, and from what i see in the instructions, these commands each start on a new line. I don't know how …

  8. How do I search my command-line history for commands I used …

    Other than viewing the history, is there a way to filter my history? Say I want to search for a command that started with "ssh"?

  9. bash - Shell does not show typed in commands, "reset" works, but …

    Aug 3, 2012 · 24 Shell does not show typed-in commands, what do I do to fix it? ie: how to fix a frozen or messed up terminal with the reset command. Note: I don't actually answer the OP's …

  10. How do I log all input and output in a terminal session?

    Jul 10, 2012 · How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.