Author Topic: rem in terminal (SOLVED)  (Read 511 times)

Offline straybit

  • Member
  • ***
  • Posts: 53
  • Karma: 9
  • New To PeppermintOS
    • View Profile
    • Middleton Post 39
  • Peppermint version(s): 10
rem in terminal (SOLVED)
« on: June 20, 2020, 07:39:25 pm »
OK!  I quit using DOS CLI a long time ago, when they started adding single letters.  But, I'm having trouble converting some of the concepts to Linux.  I've type a long command but realized that I didn't want to execute it.  (In this case, because the download stopped at the halfway point.)  So, rather that doing a lot of back spaces to erase the line, I put rem in front
Spoiler (click here to view / hide)
[close]
Hopefully, there is a way to do what I intended.
« Last Edit: June 21, 2020, 11:28:52 am by straybit »

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2395
  • Karma: 633
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: rem in terminal
« Reply #1 on: June 21, 2020, 01:51:04 am »
Hi straybit,

The simplest thing to do in such a situation is to press the <Ctrl> key and while it is pressed also press the key for the letter 'c' (this is usually shortened to: press <Ctrl><c> or Ctrl+c or something similar). This gets you back to your command prompt without even attempting to run whatever you had already typed on the line. The way you did it, the command interpreter tried to execute the line you had entered, but stumbled at the (unknown) command rem. That also works but is more time consuming than simply pressing the key combination <Ctrl><c>8)


Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline straybit

  • Member
  • ***
  • Posts: 53
  • Karma: 9
  • New To PeppermintOS
    • View Profile
    • Middleton Post 39
  • Peppermint version(s): 10
Re: rem in terminal
« Reply #2 on: June 21, 2020, 11:28:15 am »
Thanks, Slim.
I knew that but forgot (Old Timers Disease?)
Bruce

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2395
  • Karma: 633
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: rem in terminal
« Reply #3 on: June 21, 2020, 01:22:41 pm »
Thanks, Slim.
I knew that but forgot (Old Timers Disease?)
Bruce


Check! Been there, done that!  ;D

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome