fix replace sh with shell for language postfix

This commit is contained in:
Randell Dawson
2019-06-20 17:30:29 -07:00
committed by Kristofer Koishigawa
parent 22f52296bc
commit 1932a08858
18 changed files with 51 additions and 43 deletions

View File

@ -12,6 +12,6 @@ docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
إنشاء وبدء حاوية
```sh
```shell
$ docker create -t -i fedora bash
```

View File

@ -23,7 +23,7 @@ localeTitle: Foreach حلقة
### انتاج:
```sh
```shell
> We have Jim
> We have Jane
> We have Jack

View File

@ -6,7 +6,7 @@ localeTitle: تثبيت Go في Arch Linux باستخدام pacman
استخدام Arc Linux Linux Manager (pacman) هو أسهل طريقة لتثبيت Go. استنادًا إلى فلسفة Arch Linux في تقديم إصدارات برامج جديدة بسرعة ، ستحصل على إصدار حالي جدًا من الانتقال. قبل أن تتمكن من تثبيت حزمة الانتقال ، يجب عليك تحديث النظام.
```sh
```shell
$ sudo pacman -Syu
$ sudo pacman -S go
```
@ -15,7 +15,7 @@ $ sudo pacman -S go
للتحقق مما إذا تم تشغيل go بنجاح ، استخدم:
```sh
```shell
$ go version
> go version go2.11.1 linux/amd64
```

View File

@ -12,7 +12,7 @@ localeTitle: تثبيت Go في نظام التشغيل Mac OS X باستخدا
للتحقق مما إذا كان قد تم تركيب go بنجاح ، افتح الجهاز الخاص بك واستخدم:
```sh
```shell
$ go version
```

View File

@ -26,7 +26,7 @@ $ export PATH=$PATH:/usr/local/go/bin
للتحقق مما إذا تم تشغيل go بنجاح ، استخدم:
```sh
```shell
$ go version
```

View File

@ -8,7 +8,7 @@ localeTitle: تثبيت Go في Ubuntu باستخدام apt-get
> حتى كتابة هذه السطور ، فإن نسخة Ubuntu Xenial من go هي 1.6.1 ، بينما الأحدث إصدار مستقر هو 1.9.1
```sh
```shell
$ sudo apt-get update
$ sudo apt-get install golang-go
```
@ -17,7 +17,7 @@ $ sudo apt-get install golang-go
للتحقق مما إذا تم تشغيل go بنجاح ، استخدم:
```sh
```shell
$ go version
> go version go1.9.1 linux/amd64
```

View File

@ -10,7 +10,7 @@ localeTitle: تثبيت Go في Ubuntu باستخدام tarball
قبل المتابعة تأكد من معرفة ما إذا كان النظام الخاص بك هو 32 أو 64 بت. إذا كنت لا تعرف ، فقم بتشغيل الأمر التالي لمعرفة ما يلي:
```sh
```shell
$ lscpu | grep Architecture
```
@ -54,7 +54,7 @@ $ export PATH=$PATH:/usr/local/go/bin
للتحقق مما إذا تم تشغيل go بنجاح ، استخدم:
```sh
```shell
$ go version
> go version go1.9.1 linux/amd64
```

View File

@ -10,7 +10,7 @@ localeTitle: إعداد مستودعات Yum في RedHat / CentOS Linux
الخطوة 1: التحقق من وجود مستودعات حالية أم لا.
```sh
```shell
#yum repolist
```
@ -18,19 +18,19 @@ localeTitle: إعداد مستودعات Yum في RedHat / CentOS Linux
الخطوة 2: تغيير الدليل إلى
```sh
```shell
#cd /etc/yum.repos.d
```
الخطوة 3: إنشاء ملف جديد
```sh
```shell
#vim myrepo.repo
```
الخطوة 4: اكتب الأسطر التالية في الملف
```sh
```shell
[file-name]
name=filename
baseurl="location of yum repositories"
@ -41,6 +41,6 @@ gpgcheck=0
الخطوة 6: كرر الخطوة 1
```sh
```shell
You Will find repositories
```

View File

@ -49,7 +49,7 @@ Examples of this include:
### Step 1 - Generate an SSH authentication-key file
```sh
```shell
[user@server1 ~]$ ssh-keygen
```
When you are prompted for a passphrase, leave it blank
@ -58,25 +58,25 @@ By default the key files should be stored in `/home/user/.ssh/`
### Step 2 - Copy the public part of the key to other servers
```sh
```shell
[user@server1 ~]$ ssh-copy-id -i ~/.ssh/id_rsa.pub user@server2
```
If the server is not installed with openssh-clients you can copy the authentication key with the command:
```sh
```shell
[user@server1 ~]$ cat ~/.ssh/id_rsa.pub | ssh user@server2 "cat >> ~/.ssh/authorized_keys"
```
### Step 3 - Verification
Attempt to connect to the other servers va SSH
```sh
```shell
[user@server1 ~]$ ssh user@server2
```
If access is denied, it is likely a permission error on the .ssh directory.
Check/change the permissions on both the local and remote user's files:
```sh
```shell
chmod 600 ~/.ssh/authorized_keys
chmod 700 ~/.ssh/
```

View File

@ -129,7 +129,7 @@ int main() {
```
#OUTPUT
```sh
```shell
enter integer value
1
enter float value

View File

@ -97,7 +97,12 @@ Example: `history`
28. **locate**
- Used to locate a file in the system
Example: `locate sample.txt`
Example:
```shell
locate sample.txt
/home/rajasimha/Desktop/sample.txt
```
### Useful Resources for Practice:
- [JSLinux](https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/buildroot-x86.cfg): Run the terminal inside your browser. Great for practice.

View File

@ -49,12 +49,12 @@ Start by adding the library to the project.
With npm by issuing the command:
```sh
```shell
npm install --save redux-saga
```
Or with yarn:
```sh
```shell
yarn add redux-saga
```

View File

@ -12,7 +12,7 @@ It's based on the principle that a [Node.js](https://nodejs.org/) application is
Assuming that all is setup and working correctly there are some packages that need to be added in order for Redux work with React.
Open a terminal inside the project folder that was created and issue the following command
```sh
```shell
npm install --save react react react-dom react-redux react-router redux
```
What the command above does is install the packages locally and add a reference to the the package.json file under dependencies.

View File

@ -24,7 +24,7 @@ foreach (element in iterable-item)
### Saída:
```sh
```shell
> We have Jim
> We have Jane
> We have Jack

View File

@ -1,7 +1,8 @@
---
title: Hello World
localeTitle: Olá Mundo
---
---
# Olá Mundo
Para escrever algum texto no console, usamos o `Console.WriteLine()` . Este método usa uma string como entrada.
@ -28,7 +29,7 @@ using System;
```
## Saída:
## Saída:
```shell
```sh
> Hello World!
> Press any key to exit.

View File

@ -24,7 +24,7 @@ foreach (element in iterable-item)
### Salida:
```sh
```shell
> We have Jim
> We have Jane
> We have Jack

View File

@ -1,7 +1,8 @@
---
title: Hello World
localeTitle: Hola Mundo
---
---
# Hola Mundo
Para escribir un texto en la consola usamos `Console.WriteLine()` . Este método toma una cadena como entrada.
@ -28,7 +29,7 @@ using System;
```
## Salida:
## Salida:
```shell
```sh
> Hello World!
> Press any key to exit.

View File

@ -1,7 +1,8 @@
---
title: Installing Rust
localeTitle: Instalando óxido
---
---
# Instalando óxido
El uso de `rustup` es preferido para la instalación de Rust. `rustup` instala y administra Rust para su sistema.
@ -12,7 +13,7 @@ Visite el [sitio web de rustup](https://rustup.rs) y descargue el `rustup-init.e
## Instalación de Rust en otros sistemas operativos (Mac OS X, Linux, BSD, Unix)
Abre tu terminal y escribe este comando:
Abre tu terminal y escribe este comando:
```shell
```sh
curl https://sh.rustup.rs -sSf | sh
```
@ -22,7 +23,7 @@ Esto buscará el instalador de `rustup` y, a su vez, `rustup` todo lo que necesi
# Verificando instalación
La instalación de `rustup` instalará todas las cosas relevantes para la oxidación, pero lo más importante es que se instale el compilador y el administrador de paquetes. Para verificar que todo está instalado, ejecute este comando:
La instalación de `rustup` instalará todas las cosas relevantes para la oxidación, pero lo más importante es que se instale el compilador y el administrador de paquetes. Para verificar que todo está instalado, ejecute este comando:
```shell
```sh
cargo version
```