Skip to content

Commit 269a623

Browse files
fix(gen): update codeblocks from sh to bash (#5600)
* fix(gen): update codeblocks from sh to bash * fix(gen): update
1 parent e61b01a commit 269a623

File tree

115 files changed

+494
-494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+494
-494
lines changed

macros/serverless-jobs/automate-resources-management.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
4949

5050
9. In the **Execution** tab, define the desired Scaleway CLI command, as shown in the examples below:
5151
- **Power Instances on and off**
52-
```sh
52+
```bash
5353
# Power on
5454
/scw instance server start 11111111-1111-1111-1111-111111111111
5555

5656
# Power off
5757
/scw instance server stop 11111111-1111-1111-1111-111111111111
5858
```
5959
- **Create a snapshot of an Instance volume**
60-
```sh
60+
```bash
6161
/scw instance snapshot create volume-id=11111111-1111-1111-1111-111111111111
6262
```
6363
- **Create a backup of an Instance**
64-
```sh
64+
```bash
6565
/scw instance server backup 11111111-1111-1111-1111-111111111111
6666
```
6767
10. Click **Create job**.

pages/apple-silicon/how-to/connect-to-mac-mini-ssh.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can connect directly to the terminal of your Mac mini using the SSH protocol
3939

4040
4. Open your terminal application and use the SSH command provided on the **Overview** page to connect.
4141
- The SSH command will be in the format:
42-
```sh
42+
```bash
4343
ssh your_mac_mini_username@<your_mac_mini_ip>
4444
```
4545
- Replace `<your_mac_mini_username>` with your Mac mini username.

pages/apple-silicon/how-to/update-os-mac-mini.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@ The recommended method to update the macOS is to reinstall your Mac mini with an
5959
To manually update the operating system using the `softwareupdate` tool, follow these steps:
6060

6161
1. List all available updates:
62-
```sh
62+
```bash
6363
softwareupdate --list
6464
```
6565
2. Install all available updates:
66-
```sh
66+
```bash
6767
sudo softwareupdate --install
6868
```
6969
<Message type="tip">
7070
If you want to upgrade selected packages only, use the following command:
71-
```sh
71+
```bash
7272
softwareupdate --install package-name
7373
```
7474
</Message>

pages/apple-silicon/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Refer to our detailed documentation for Windows, Linux, and macOS for OS specifi
7070
3. Click the name of the Mac mini you want to connect to. The **Overview** page for your selected Mac mini displays.
7171
4. Open your terminal application and use the SSH command provided on the **Overview** page to connect.
7272
- The SSH command will be in the format:
73-
```sh
73+
```bash
7474
ssh your_mac_mini_username@<your_mac_mini_ip>
7575
```
7676
- Replace `<your_mac_mini_username>` with your Mac mini username.

pages/apple-silicon/troubleshooting/cant-connect-using-ssh.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Repeated failed login attempts can trigger Scaleway’s security mechanisms, blo
5050

5151
#### Attempt SSH connection again
5252
After the reboot, attempt to reconnect using:
53-
```sh
53+
```bash
5454
ssh -i /path/to/your/private_key user@<server_ip>
5555
```
5656
Replace `/path/to/your/private_key` with your actual private key location and `<server_ip>` with your Mac mini’s IP address.

pages/apple-silicon/troubleshooting/cant-connect-using-vnc.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You are unable to establish a remote desktop (VNC) connection to your Scaleway M
3636

3737
#### Verify the server status
3838
Run the following command in a terminal:
39-
```sh
39+
```bash
4040
ping -c 5 <server_ip>
4141
```
4242
If `ping` fails:
@@ -49,7 +49,7 @@ If `ping` fails:
4949

5050
#### Verify the VNC connection
5151
Run the following command:
52-
```sh
52+
```bash
5353
nc -zv <server_ip> <vnc_port>
5454
```
5555
If the connection fails:
@@ -59,7 +59,7 @@ If the connection fails:
5959

6060
#### Verify the SSH server response
6161
Run the command:
62-
```sh
62+
```bash
6363
nc -zv <server_ip> 22
6464
```
6565
If the connection fails, [reboot the server](/apple-silicon/how-to/reboot-mac-mini/).
@@ -84,26 +84,26 @@ If all else fails, [reinstall macOS](/apple-silicon/how-to/reinstall-mac-mini/)
8484

8585
### Enabling and configuring Packet Filter (pf)
8686
1. Open the pf configuration file in a text editor to restrict access to screen sharing:
87-
```sh
87+
```bash
8888
sudo nano /etc/pf.conf
8989
```
9090
2. Add the following lines to the file and save it:
91-
```sh
91+
```bash
9292
block in on en0 proto tcp from any to any port 5900
9393
pass in on en0 proto tcp from <static IP> to any port 5900
9494
```
9595
3. Apply the configuration:
96-
```sh
96+
```bash
9797
sudo pfctl -f /etc/pf.conf
9898
```
9999

100100
### Restarting screen sharing via SSH
101101
1. Connect via SSH:
102-
```sh
102+
```bash
103103
ssh your_mac_mini_username@<your_mac_mini_ip>
104104
```
105105
2. Restart screen sharing:
106-
```sh
106+
```bash
107107
sudo killall screensharingd
108108
```
109109

pages/container-registry/troubleshooting/common-errors-when-pushing-images-to-container-registry.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ You are unable to push images to Scaleway's Container Registry.
3030

3131
### Review error messages and logs
3232
- Run the push command with verbose output for more details:
33-
```sh
33+
```bash
3434
docker push --debug <your-image>
3535
```
3636
- Check the Docker client logs for warnings or errors:
37-
```sh
37+
```bash
3838
docker logs <container_id>
3939
```
4040
- Verify Scaleway’s Container Registry [status](https://status.scaleway.com/) for any ongoing incidents.
4141

4242
### Check Docker configuration and version
4343
- Ensure your Docker client is up-to-date by running:
44-
```sh
44+
```bash
4545
docker --version
4646
```
4747
- Check for configuration errors in the Docker daemon and client.
@@ -58,7 +58,7 @@ You are unable to push images to Scaleway's Container Registry.
5858

5959
## Additional troubleshooting steps
6060
- Try pushing a small test image to verify general functionality:
61-
```sh
61+
```bash
6262
docker pull alpine && docker tag alpine <your-registry>/test-image && docker push <your-registry>/test-image
6363
```
6464
- Review Docker’s official [troubleshooting guides](https://docs.docker.com/tags/troubleshooting/) for further insights.

pages/data-warehouse/how-to/connect-applications.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
4040

4141
<Tabs id="data-warehouse-connect-protocols">
4242
<TabsTab label="ClicHouse® CLI">
43-
```sh
43+
```bash
4444
clickhouse client \
4545
--host <YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud \
4646
--port 9440 \
@@ -50,7 +50,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
5050
```
5151
</TabsTab>
5252
<TabsTab label="MySQL">
53-
```sh
53+
```bash
5454
mysql -h <YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud \
5555
-P 9004 \
5656
-u scwadmin \
@@ -61,7 +61,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
6161
</Message>
6262
</TabsTab>
6363
<TabsTab label="HTTPS">
64-
```sh
64+
```bash
6565
echo 'SELECT 1' | curl 'https://scwadmin:<PASSWORD>@<YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud:8443' -d @-
6666
```
6767
<Message type="note">

pages/data-warehouse/how-to/import-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Scaleway Data Warehouse for ClickHouse® allows you to quickly import any type o
3434

3535
5. In a terminal, paste and execute the copied command to connect to your deployment. Make sure to replace the placeholders with the corresponding values.
3636

37-
```sh
37+
```bash
3838
clickhouse client \
3939
--host <YOUR_DEPLOYMENT_URL> \
4040
--port 9440 \
@@ -71,7 +71,7 @@ The `s3` Storage Engine creates a table that points to a data table stored in an
7171
</TabsTab>
7272
<TabsTab label="ClickHouse® Client">
7373
The `clickhouse-client` executes an INSERT query to populate a table in your deployment by specifying the URL of the source Object Storage bucket and the file format.
74-
```sh
74+
```bash
7575
clickhouse-client --query="INSERT INTO your_table FORMAT CSVWithNames" \
7676
--url "https://my-bucket.s3.scaleway.com/data/my_data.csv" \
7777
--input_format_with_names=1

pages/data-warehouse/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can now execute SQL commands.
6868

6969
3. Copy the ClickHouse® CLI command, and execute it in a terminal to connect to your deployment. Make sure to replace the placeholders beforehand.
7070

71-
```sh
71+
```bash
7272
clickhouse client \
7373
--host <YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud \
7474
--port 9440 \

0 commit comments

Comments
 (0)