Linux Commands in the Terminal

Just for kicks I thought I’d try out some basic Lin/Unix commands at the terminal prompt.

ls /
ls /etc
ls /mnt
ls /home
cat /etc/man.conf
cat /etc/resolv.conf

Each produced output indicating the the terminal was now on or off, depending on the command. So far as I could tell, the commands did not complete? Or, they didn’t output anything to the term.

With the exception of Settings, I was ultimately stuck in Terminal Mode until I manually enabled then disabled it.

Nothing Earth Shattering. Only interesting and I thought it worth noting in case others have been h4x0ring with OS level commands. larf.

1 Like

My R1 behaved similarly to @KayBeeKae’s description when I followed their instructions. It’s always interesting to explore terminal commands, especially on the Rabbit R1. Here are some tips and shortcuts to enhance your terminal experience:


Enhanced Terminal Commands and Shortcuts for Rabbit R1

*Your terminal might be disabled

When using the Rabbit R1 with a Bluetooth keyboard, several terminal shortcuts and commands can enhance the user experience:

Common Terminal Shortcuts

  • Ctrl + L: Clears the command line or interface (equivalent to clear).
  • Ctrl + R: Initiates reverse-i-search in BASH.
  • Ctrl + C: Cancels the current written command or operation.
  • Ctrl + Z: Suspends the running command or operation.
  • Arrow Up/Down: Navigate through command history.
  • Ctrl+Arrow Right/Left: Navigate from right or left jumping words within the written prompt.

Suggested Commands for Terminal Mode

  • cls/clear: Clear the terminal screen.
  • shutdown / poweroff: Power off the device. (It navigates you to the screen :slight_smile:)
  • help: Display a list of available commands and their descriptions.
  • history: Display the list of commands previously entered in the terminal session, allowing users to easily reuse or reference past commands.
  • exit: Close the terminal session.

Note-Taking Commands :+1:

  • note [content]: Save a note with the specified content.
- note "Hello World!"
  - Saving your note. Hello World note saved to the rabbithole.
  • Example: note Met Ash from Canada, her birthday is May 1.

Text-to-Speech

  • say [content]: Text to speech.
  • set voice [voice_type]: Change the text-to-speech voice type.
    • Example: set voice female
  • read note [note_id]: Read a specific note aloud.
    • Example: read note 2

Productivity

  • set reminder [time] [content]: Create a reminder for a specific time.
    • Example: set reminder 14:00 Meeting with team
  • task [content]: Add a task to your to-do list.
    • Example: task Finish the report by EOD
  • view tasks: Display all tasks.
  • complete task [task_id]: Mark a specific task as complete.
    • Example: complete task 4

Learning

  • translate [text] to [language]: Translate the given text into the specified language.
    • Example: translate Hello to Spanish
  • define [word]: Get the definition of a word.
    • Example: define ostensible
  • summarize [text]: Summarize the given text.
    • Example: summarize The theory of relativity is...

Entertainment Commands

  • play music [song/album/playlist]: Play specified music on Spotify or Apple Music.
    • Example: play music Here Comes the Sun
  • pause music: Pause the current music.
  • skip song: Skip to the next song.
  • generate image [description]: Generate an image based on the provided description.
    • Example: generate image a rabbit eating a carrot
  • generate music [description] @cldferrilab
  • joke
joke command examples
- joke clowns
  - Why did the clown go to the doctor?
  - He was feeling a little funny!
- joke developers
  - Why do programmers prefer dark mode?
  - Because the light attracts bugs!
- joke clarinetists
  - Why did the clarinet player break up with the orchestra?
  - They couldn't find the right key to their heart!

:joy:

Camera Commands

  • capture [filename]: Take a picture using the device’s camera and save it with the specified filename. @cldferrilab
    • Example: capture my_photo.jpg
  • rotate camera in [degrees]: Rotate the camera inwards by the specified degrees.
    • Example: rotate camera in 90
  • rotate camera out [degrees]: Rotate the camera outwards by the specified degrees.
    • Example: rotate camera out 90

Device Control

  • set brightness [level]: Adjust the device brightness.
    • Example: set brightness 50%
  • set volume [level]: Adjust the device volume.
    • Example: set volume 30%
  • wifi settings: Navigate to Wi-Fi settings.

Random thought: Incorporating a .rabbitrc file :skull_and_crossbones:

Random thought 2: Terminal multiplexor in terminal mode (example: tmux) :skull_and_crossbones::skull_and_crossbones:

1 Like

I’m just imagining the troll guides that say just type rm -rf * in terminal and it should fix your issue

I will add that I was just messing around on this train of thought. It seems like putting in a Fork Bomb Linux command comes back with: Terminal mode enabled and then disabled, and then the rabbit hole does not record that request.

1 Like

DO NOT RUN THIS PIECE OF CODE :rage: @Cat (you need sudo)

1 Like

Lol that’s a good point and TY for the disclaimer I forget some people might try to run the command without reading anything else lol