Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rdms:access:linux:icommands [2024/01/02 11:54] jelte Started auto-complete part |
rdms:access:linux:icommands [2024/05/06 11:51] (current) jelte [Installation on Ubuntu and Debian] A little text adjustment |
||
---|---|---|---|
Line 35: | Line 35: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
} | } | ||
</ | </ | ||
**Notes: | **Notes: | ||
- | * The iRODS username ''< | + | * The iRODS username ''< |
- | * Your username is case-sensitive, | + | * Your username is case-sensitive, |
To see if everything was properly configures, you can now start the session by invoking the '' | To see if everything was properly configures, you can now start the session by invoking the '' | ||
Line 78: | Line 78: | ||
</ | </ | ||
+ | |||
+ | **Additional Notes for Users of Ubuntu 20+ and Debian 11+** | ||
+ | |||
+ | On Debian-based operating systems, the '' | ||
+ | < | ||
+ | $ wget -qO - https:// | ||
+ | Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). | ||
+ | OK | ||
+ | </ | ||
+ | |||
+ | As of now, the warning can be still ignored and the steps can be performed as described, but in the longer term it is highly advisable to add the repository signing key in another manner as described, for example, [[https:// | ||
==== Installation on EL-based Distributions | ==== Installation on EL-based Distributions | ||
Line 736: | Line 747: | ||
=== iCommands for Group Management === | === iCommands for Group Management === | ||
- | To manage RDMS Groups, the '' | + | To manage RDMS Groups, the '' |
< | < | ||
Line 796: | Line 807: | ||
=== Enable Bash Auto-Completion === | === Enable Bash Auto-Completion === | ||
- | Most Linux distribution come by default with the so called [[https:// | + | Most Linux distribution come by default with the so called [[https:// |
This auto-completion does not work by default for the '' | This auto-completion does not work by default for the '' | ||
Line 802: | Line 813: | ||
**Temporarily enable Bash Auto-Completion** | **Temporarily enable Bash Auto-Completion** | ||
- | As a first step, you need to download the '' | + | As a first step, you need to download the '' |
In this example, we will assume that the auto-completion script will be downloaded and saved in your Linux home directory (abbreviated as '' | In this example, we will assume that the auto-completion script will be downloaded and saved in your Linux home directory (abbreviated as '' | ||
+ | To download the shell script to your home location, open a terminal window and then execute: | ||
+ | < | ||
+ | # Using wget | ||
+ | $ wget https:// | ||
+ | |||
+ | # Using cURL | ||
+ | $ curl https:// | ||
+ | </ | ||
+ | |||
+ | After successfully downloading the script, you can enable it temporarily (for your current shell session) by executing: | ||
+ | |||
+ | < | ||
+ | $ source ~/ | ||
+ | </ | ||
+ | |||
+ | Afterwards, the "tab key" can be used for auto-completion on the RDMS side. If you hit the "tab key" two times in a row, your terminal will display all available paths in the current location that fits your auto-completion criteria. | ||
**Permanently enable Bash Auto-Completion** | **Permanently enable Bash Auto-Completion** | ||
+ | |||
+ | It is also possible to automatically " | ||
+ | |||
+ | To do so, you have to first download the shell script as described above. Afterwards, we will edit the '' | ||
+ | |||
+ | While you can use your favorite text editor for this, we will use '' | ||
+ | |||
+ | < | ||
+ | $ nano ~/.bashrc | ||
+ | </ | ||
+ | |||
+ | Now add '' | ||
+ | |||
+ | From now on the auto-completion script will be loaded by default when you start a new shell session. If you also want to enable the auto-completion for your current session, you have to once execute: | ||
+ | |||
+ | < | ||
+ | $ source ~/.bashrc | ||
+ | </ | ||
+ | |||
+ | **Notes** | ||
+ | * The auto-completion script that is described in this section is specific for the Bash shell. If you are unsure if you are using the correct shell, you can execute '' | ||
+ | * If you want to disable the automated loading of the auto-completion script, you can edit the '' |