[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:howtos:general_admin:cli_constructs_and_useful_info [2019/02/07 19:55 (UTC)] – [Expresiones regulares] slackwarespanol | es:howtos:general_admin:cli_constructs_and_useful_info [2019/02/07 20:05 (UTC)] – [Sources] slackwarespanol | ||
---|---|---|---|
Línea 193: | Línea 193: | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
- | ==== Useful commands and info ==== | + | ==== Comandos útiles e información |
=== stat === | === stat === | ||
- | Stat is the most accurate way to determine: | + | Stat es la forma más precisa de determinar: |
- | * File size in bytes: <code bash> | + | |
- | * File permissions in octal: <code bash> | + | |
- | === awk variable | + | === awk variable |
- | An important point is that awk variables | + | Un punto importante es que las variables |
<code bash> | <code bash> | ||
echo -ne ' | echo -ne ' | ||
</ | </ | ||
- | This works properly because | + | Esto funciona correctamente porque |
- | === no data directory test === | + | |
- | You can use this to test if a directory contains | + | === no hay prueba de directorio de datos === |
+ | |||
+ | Puede usar esto para probar si un directorio | ||
<code bash> | <code bash> | ||
du -s directory | du -s directory | ||
</ | </ | ||
=== cmp === | === cmp === | ||
- | This can compare two files byte by byte, and can be more useful than checksums. For example, after you burn a CD/ | + | Esto puede comparar dos archivos |
<code bash> | <code bash> | ||
cmp slackware.iso /dev/sr0 | cmp slackware.iso /dev/sr0 | ||
</ | </ | ||
- | It should say the following if the disk burned correctly: | + | Debe decir lo siguiente si el disco se quemó correctamente: |
<code bash> | <code bash> | ||
cmp: EOF on slackware.iso | cmp: EOF on slackware.iso | ||
</ | </ | ||
- | === shell math === | + | === shell matemáticas |
- | Remember that shell utilities like '' | + | Recuerde que las utilidades de shell como '' |
=== shell GUI === | === shell GUI === | ||
- | There are numerous programs that allow you to create GUIs from a shell script. | + | Existen numerosos programas que le permiten crear GUI desde un script |
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
- | === External Links === | + | === Enlaces externos |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Línea 236: | Línea 238: | ||
<!-- * Originally written by [[wiki: | <!-- * Originally written by [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
- | * I quoted | + | * Cit{e'' |
- | * I used '' | + | * Usé '' |
- | * Written by [[wiki: | + | * Escrito por [[wiki: |
+ | * Traducido por: [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> |