About 5,220 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 for restart: sudo …

  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 remove …

  6. How do I search my command-line history for commands I used before ...

    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"?

  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 to do this …

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

    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 executed successfully …

  9. 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.

  10. How to execute several commands after each other with one request …

    34 I could (1) prepare a file with typed commands separated by end-line, (2) make it executable, (3) run it from a file-system manager or the terminal. But this is ridiculous for not repeatable and every-time …