aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/es/articles/linux-users/_index.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/es/articles/linux-users/_index.adoc')
-rw-r--r--documentation/content/es/articles/linux-users/_index.adoc20
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/content/es/articles/linux-users/_index.adoc b/documentation/content/es/articles/linux-users/_index.adoc
index d68bed9e78..31a6c78b58 100644
--- a/documentation/content/es/articles/linux-users/_index.adoc
+++ b/documentation/content/es/articles/linux-users/_index.adoc
@@ -75,7 +75,7 @@ Una lista completa de todos los ports y paquetes disponibles se puede encontrar
Packages are pre-compiled applications, the FreeBSD equivalents of [.filename]#.deb# files on Debian/Ubuntu based systems and [.filename]#.rpm# files on Red Hat/Fedora based systems. Packages are installed using `pkg`. For example, the following command installs Apache 2.4:
-[source,bash]
+[source,shell]
....
# pkg install apache24
....
@@ -91,7 +91,7 @@ La Colección de Ports, a veces llamada el árbol de ports, se puede instalar en
Para compilar un port, acceda al directorio del port e inicie el proceso de build. El siguiente ejemplo instala Apache 2.4 de la colección de ports:
-[source,bash]
+[source,shell]
....
# cd /usr/ports/www/apache24
# make install clean
@@ -99,7 +99,7 @@ Para compilar un port, acceda al directorio del port e inicie el proceso de buil
El beneficio de usar ports para instalar software es la capacidad de personalizar las opciones de instalación. Este ejemplo especifica que el módulo mod_ldap también debe ser instalado:
-[source,bash]
+[source,shell]
....
# cd /usr/ports/www/apache24
# make WITH_LDAP="YES" install clean
@@ -131,7 +131,7 @@ apache24_flags="-DSSL"
Una vez que un servicio ha sido activado en [.filename]#/etc/rc.conf#, puede iniciarse sin reiniciar el sistema:
-[source,bash]
+[source,shell]
....
# service sshd start
# service apache24 start
@@ -139,7 +139,7 @@ Una vez que un servicio ha sido activado en [.filename]#/etc/rc.conf#, puede ini
Si un servicio no ha sido activado, puede iniciarse desde la línea de comandos usando `onestart`:
-[source,bash]
+[source,shell]
....
# service sshd onestart
....
@@ -149,7 +149,7 @@ Si un servicio no ha sido activado, puede iniciarse desde la línea de comandos
Instead of a generic _ethX_ identifier that Linux(R) uses to identify a network interface, FreeBSD uses the driver name followed by a number. The following output from man:ifconfig[8] shows two Intel(R) Pro 1000 network interfaces ([.filename]#em0# and [.filename]#em1#):
-[source,bash]
+[source,shell]
....
% ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
@@ -248,7 +248,7 @@ En algunas distribuciones de Linux(R), puede consultar [.filename]#/proc/sys/net
Por ejemplo, utilice el siguiente comando para comprobar si IP forwarding está habilitado en FreeBSD:
-[source,bash]
+[source,shell]
....
% sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 0
@@ -256,14 +256,14 @@ net.inet.ip.forwarding: 0
Use `-a` para listar todos los ajustes del sistema:
-[source,bash]
+[source,shell]
....
% sysctl -a | more
....
Si una aplicación necesita procfs, añada la siguiente línea a [.filename]#/etc/fstab#:
-[source,bash]
+[source,shell]
....
proc /proc procfs rw,noauto 0 0
....
@@ -272,7 +272,7 @@ Incluir `noauto` evitará que [.filename]#/proc# se monte automáticamente en el
Para montar el sistema de archivos sin reiniciar:
-[source,bash]
+[source,shell]
....
# mount /proc
....