Comando | Descripción |
Say | Convert text to audible speech |
echo | write arguments to the standard output |
ls | list directory contents |
ls -l | List in long format |
ls -F | Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable, an at sign (`@') after each symbolic link |
ls -a | Include directory entries whose names begin with a dot (.) |
cd | shell built-in commands |
cd .. / | para acceder a un subdirectorio de nuestro mismo nivel. |
cd x. donde ex es el nombre de una carpeta | se va al nombre de la carpeta |
Cp | Copy files |
cp -r | If source_file designates a directory, cp copies the directory and the entire subtree connected at that point. If the source_file ends in a /, the contents of the directory are copied rather than the directory itself. This option also causes symbolic links to be copied, rather than indirected through, and for cp to create spe- cial files rather than copying them as normal files. Created directories have the same mode as the corresponding source direc- tory, unmodified by the process' umask. |
mv | Move files |
rm | remove directory entries |
rmdir | removes the directory entry specified by each directory argument, provided it is empty. |
mkdir | creates the directories named as operands, in the order specified |
chmod (modo simbólico) | change file modes or Access Control Lists |
pwd | return working directory name |
cal (con sus variantes) | displays a calendar and the date of easter SYNOPSIS cal [-jy] [[month] year] cal [-j] -m month [year] ncal [-jJpwy] [-s country_code] [[month] year] ncal [-Jeo] [year] |
2. Indica cuál es el comando de unix para:
Obtener la fecha del sistema:
date
Saber cuanto tiempo lleva encendido el sistema:
uptime
Conocer cuántos archivos o carpetas están el escritorio:
cd desktop
Copiar un archivo llamado recursos.txt que se encuentra en el home y se desea enviar la información a un directorio llamado practicas que esta dentro de otro directorio llamado clase2 y este a su ve esta dentro de otra carpeta llamado curso y que esa carpeta se encuentra en Documentos:
cp recursos.txt /Documentos/curso/clase2/practicas