Академический Документы
Профессиональный Документы
Культура Документы
level 3.0
3.0.0
ssh into the machine. once you are logged in, write down the logging code you use
scrip -f/tmp/firstname_lastname
and last name by your last name . you should see this message upon success
pwd stands for "print working directory".this command outputs the full path of the directory you are
currently in , called the working directory
what is the path of the current working directory you are in affter you just logged in?write in down here
/root
go the directory holbertonschool by typing cd holbetonschool once you've donde that, answer these
two questions
- what is your working directory?
3.0.4
use the less command to read the file contained the holbertonschool directory? copy the content of the
file here
3.0.5 nano? Real programmers use emacs . install emacs on your server
Fortune is a simple program that displays a pseudorandom message from a datebase of quotations
install and run the program fortune write down the adage (quote or phrase)here (if it’s super long,then
just the first line)
Copy the file located in the /root/holbetonschool directory to the /root/sanfrancisco directory,write the
command you used here
3.1.0 hidden files
what would be the command you would use to list all the files and directories of the current
directory,include hidden files, ".","..", and files strating with a dot
test it on your terminal . once you found the right command, write in down here
what is the directory that contains the the configuration files for the system? write it down here
copy all the .txt files in the /root/txt directory to the /root/txt_copy directory what command did
yuo use?
3.1.3
3.1.4
displays the 10 newest files in the current directory. write the command here
go to the /root/txt directory . whats is the command to display all the files ending in .txt
3.1.6
Write a command that can display the alphabet in the terminal lowercase, a to z each letter should be
sepad by a space . your command should not be larger tan 15 character long (spaces included):)
3.1.7 ‘’’holberton’’’
Créate a file called exactly “holberton” (with the “and the’) in your home directory.the output of is
should be
$ ls
10-help-text_disabled*holbertonschool/olleh*txt/
3.1.8 betty is the man change you user to the user Betty. Write here the comando you used:
Change your user back to the root user. Who is the owner of the file
/root/txt/jennieAndJayLoveASM.asm?
3.1.10
Change the owner of the file /root/txt/jennieAndJayLoveASM.asm to Betty write down your command
here
Traducción
nivel 3.0
3.0.0
ssh en la máquina. Una vez que haya iniciado sesión, escriba el código de registro que utiliza
y apellido por tu apellido. Deberías ver este mensaje después del éxito.
pwd significa "directorio de trabajo de impresión". Este comando muestra la ruta completa del
directorio en el que se encuentra actualmente, denominado directorio de trabajo
¿Cuál es la ruta del directorio de trabajo actual en el que se encuentra después de que acaba de iniciar
sesión? escriba aquí
ve al directorio holbertonschool escribiendo cd holbetonschool una vez que hayas hecho eso, responde
estas dos preguntas
3.0.4
3.0.5 nano? Los verdaderos programadores usan emacs. instala emacs en tu servidor
Fortune es un programa simple que muestra un mensaje pseudoaleatorio de una base de datos de citas.
Instale y ejecute el programa fortune escriba el adagio (cita o frase) aquí (si es muy largo, solo la primera
línea)
Mkdir sanfrancisco
Cp /root/holbertonschool/holberton.txt sanfrancisco
¿Cuál sería el comando que usaría para enumerar todos los archivos y directorios del directorio actual,
incluir los archivos ocultos, ".", "..", y los archivos con un punto?
pruébalo en tu terminal. una vez que haya encontrado el comando correcto, escriba aquí
> ls -a
3.1.1 etcétera, etcétera, etc.
¿Cuál es el directorio que contiene los archivos de configuración para el sistema? escríbelo aquí
> /etc
copie todos los archivos .txt en el directorio / root / txt al directorio / root / txt_copy que hizo el
comando
tu uso?
3.1.3
/bin/ls
3.1.4
lo último y lo mejor
muestra los 10 archivos más nuevos en el directorio actual. escribe el comando aquí
ve al directorio / root / txt. ¿Cuál es el comando para mostrar todos los archivos que terminan en .txt?
ls *.txt
3.1.6
Escriba un comando que pueda mostrar el alfabeto en minúscula de la terminal, de la A a la Z, cada letra
debe estar separada por un espacio. su comando no debe ser más grande que 15 caracteres (espacios
incluidos) :)
echo \ {a..z}
Cree un archivo llamado exactamente "holberton" (con el "y el’) en su directorio de inicio. La salida de
debe ser
$ ls
PS
su Betty
chown jennieAndJayLoveASM.asm
3.1.10