diff --git a/guide/arabic/containers/docker/creating-a-new-container/index.md b/guide/arabic/containers/docker/creating-a-new-container/index.md index 0df5073bfa..0ade1bba27 100644 --- a/guide/arabic/containers/docker/creating-a-new-container/index.md +++ b/guide/arabic/containers/docker/creating-a-new-container/index.md @@ -12,6 +12,6 @@ docker create [OPTIONS] IMAGE [COMMAND] [ARG...] إنشاء وبدء حاوية -```sh +```shell $ docker create -t -i fedora bash ``` \ No newline at end of file diff --git a/guide/arabic/csharp/foreach/index.md b/guide/arabic/csharp/foreach/index.md index 4dc4bbb993..43c0ae4cc1 100644 --- a/guide/arabic/csharp/foreach/index.md +++ b/guide/arabic/csharp/foreach/index.md @@ -23,7 +23,7 @@ localeTitle: Foreach حلقة ### انتاج: -```sh +```shell > We have Jim > We have Jane > We have Jack diff --git a/guide/arabic/go/installing-go/arch-linux/index.md b/guide/arabic/go/installing-go/arch-linux/index.md index f66d2e27f8..a61e2dbda6 100644 --- a/guide/arabic/go/installing-go/arch-linux/index.md +++ b/guide/arabic/go/installing-go/arch-linux/index.md @@ -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 ``` diff --git a/guide/arabic/go/installing-go/mac-package-installer/index.md b/guide/arabic/go/installing-go/mac-package-installer/index.md index 489274914c..3c6e9a6153 100644 --- a/guide/arabic/go/installing-go/mac-package-installer/index.md +++ b/guide/arabic/go/installing-go/mac-package-installer/index.md @@ -12,7 +12,7 @@ localeTitle: تثبيت Go في نظام التشغيل Mac OS X باستخدا للتحقق مما إذا كان قد تم تركيب go بنجاح ، افتح الجهاز الخاص بك واستخدم: -```sh +```shell $ go version ``` diff --git a/guide/arabic/go/installing-go/mac-tarball/index.md b/guide/arabic/go/installing-go/mac-tarball/index.md index e5a88c2d48..e9cf756299 100644 --- a/guide/arabic/go/installing-go/mac-tarball/index.md +++ b/guide/arabic/go/installing-go/mac-tarball/index.md @@ -26,7 +26,7 @@ $ export PATH=$PATH:/usr/local/go/bin للتحقق مما إذا تم تشغيل go بنجاح ، استخدم: -```sh +```shell $ go version ``` diff --git a/guide/arabic/go/installing-go/ubuntu-apt-get/index.md b/guide/arabic/go/installing-go/ubuntu-apt-get/index.md index 02ee76a2a7..72e2b7ef47 100644 --- a/guide/arabic/go/installing-go/ubuntu-apt-get/index.md +++ b/guide/arabic/go/installing-go/ubuntu-apt-get/index.md @@ -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 ``` diff --git a/guide/arabic/go/installing-go/ubuntu-tarball/index.md b/guide/arabic/go/installing-go/ubuntu-tarball/index.md index a21add42b5..f80f000f25 100644 --- a/guide/arabic/go/installing-go/ubuntu-tarball/index.md +++ b/guide/arabic/go/installing-go/ubuntu-tarball/index.md @@ -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 ``` diff --git a/guide/arabic/linux/setting-up-yum-repositories-in-redhat-linux/index.md b/guide/arabic/linux/setting-up-yum-repositories-in-redhat-linux/index.md index d28e6a5b9b..1f53e7aa28 100644 --- a/guide/arabic/linux/setting-up-yum-repositories-in-redhat-linux/index.md +++ b/guide/arabic/linux/setting-up-yum-repositories-in-redhat-linux/index.md @@ -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 ``` \ No newline at end of file diff --git a/guide/english/bash/bash-ssh/index.md b/guide/english/bash/bash-ssh/index.md index 29d14161d4..c66dc24617 100644 --- a/guide/english/bash/bash-ssh/index.md +++ b/guide/english/bash/bash-ssh/index.md @@ -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/ ``` diff --git a/guide/english/c/variables/index.md b/guide/english/c/variables/index.md index a82169b1bb..2ab0143370 100644 --- a/guide/english/c/variables/index.md +++ b/guide/english/c/variables/index.md @@ -129,7 +129,7 @@ int main() { ``` #OUTPUT -```sh +```shell enter integer value 1 enter float value diff --git a/guide/english/linux/basic-linux-commands/index.md b/guide/english/linux/basic-linux-commands/index.md index 0092a1441b..59326b508f 100644 --- a/guide/english/linux/basic-linux-commands/index.md +++ b/guide/english/linux/basic-linux-commands/index.md @@ -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. diff --git a/guide/english/redux/redux-sagas/index.md b/guide/english/redux/redux-sagas/index.md index 7c30973c26..70738cac5d 100644 --- a/guide/english/redux/redux-sagas/index.md +++ b/guide/english/redux/redux-sagas/index.md @@ -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 ``` diff --git a/guide/english/redux/tutorial/index.md b/guide/english/redux/tutorial/index.md index 6e3b7ca0c0..a3f6d42d6c 100644 --- a/guide/english/redux/tutorial/index.md +++ b/guide/english/redux/tutorial/index.md @@ -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. diff --git a/guide/portuguese/csharp/foreach/index.md b/guide/portuguese/csharp/foreach/index.md index ade38daf3c..83f3ee756a 100644 --- a/guide/portuguese/csharp/foreach/index.md +++ b/guide/portuguese/csharp/foreach/index.md @@ -24,7 +24,7 @@ foreach (element in iterable-item) ### Saída: -```sh +```shell > We have Jim > We have Jane > We have Jack diff --git a/guide/portuguese/csharp/hello-world/index.md b/guide/portuguese/csharp/hello-world/index.md index 5e499baa6e..d3d8e0f948 100644 --- a/guide/portuguese/csharp/hello-world/index.md +++ b/guide/portuguese/csharp/hello-world/index.md @@ -1,7 +1,8 @@ ---- -title: Hello World -localeTitle: Olá Mundo ---- # Olá Mundo +--- +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: - +```shell ```sh > Hello World! > Press any key to exit. diff --git a/guide/spanish/csharp/foreach/index.md b/guide/spanish/csharp/foreach/index.md index 033feca280..bd36a290fd 100644 --- a/guide/spanish/csharp/foreach/index.md +++ b/guide/spanish/csharp/foreach/index.md @@ -24,7 +24,7 @@ foreach (element in iterable-item) ### Salida: -```sh +```shell > We have Jim > We have Jane > We have Jack diff --git a/guide/spanish/csharp/hello-world/index.md b/guide/spanish/csharp/hello-world/index.md index f16171c950..f1225f11a6 100644 --- a/guide/spanish/csharp/hello-world/index.md +++ b/guide/spanish/csharp/hello-world/index.md @@ -1,7 +1,8 @@ ---- -title: Hello World -localeTitle: Hola Mundo ---- # Hola Mundo +--- +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: - +```shell ```sh > Hello World! > Press any key to exit. diff --git a/guide/spanish/rust/installing-rust/index.md b/guide/spanish/rust/installing-rust/index.md index e112e80b67..0bc4ac3d2d 100644 --- a/guide/spanish/rust/installing-rust/index.md +++ b/guide/spanish/rust/installing-rust/index.md @@ -1,7 +1,8 @@ ---- -title: Installing Rust -localeTitle: Instalando óxido ---- # Instalando óxido +--- +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: - +```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: - +```shell ```sh cargo version ```