Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

added useful linux commands page #359

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/docs/troubleshooting/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Troubleshooting
logging
camera-troubleshooting
networking-troubleshooting
unix-commands
49 changes: 49 additions & 0 deletions source/docs/troubleshooting/unix-commands.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Useful Unix Commands
====================

SSH
---

`SSH (Secure Shell) <https://www.mankier.com/1/ssh>`_ is used to securely connect from a local to a remote system (ex. from a laptop to a coprocessor).
mdurrani808 marked this conversation as resolved.
Show resolved Hide resolved

.. note:: Unlike the other commands on this page, ssh is not Unix specific and can be done on Windows and MacOS from their respective terminals.

Example:

.. code-block:: bash

ssh username@hostname

ifconfig
--------

Run `ifconfig <https://www.mankier.com/8/ifconfig>`_ with your coprocessor connected to a monitor in order to see its IP address and other network configuration information.
mdurrani808 marked this conversation as resolved.
Show resolved Hide resolved


SCP
---

`SCP (Secure Copy) <https://www.mankier.com/1/scp>`_ is used to securely transfer files between local and remote systems.

Example:

.. code-block:: bash

scp [file] username@hostname:/path/to/destination

v4l2-ctl
--------

`v4l2-ctl <https://www.mankier.com/1/v4l2-ctl>`_ is a command-line tool for controlling video devices.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a page yet talking about looking at property names and stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a note, do we want a page on this?


List available video devices (used to verify the device recognized a connected camera):

.. code-block:: bash

v4l2-ctl --list-devices

List supported formats and resolutions for a specific video device:

.. code-block:: bash

v4l2-ctl --list-formats-ext --device /path/to/video_device
Loading