• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 38 páginas
Examen

TestOut Linux Pro practice questions Solved 100% Correct | Verified Solutions

Document preview thumbnail
Vista previa 4 fuera de 38 páginas

TestOut Linux Pro practice questions Solved 100% Correct | Verified Solutions

Vista previa del contenido

TestOut Linux Pro practice questions Solved 100%
Correct | Verified Solutions

-Type in vi /etc/pref_shell to enter document
-change csh to tcsh

-:wq to save and exit - ✔✔You have just added a custom script to change and export
the SHELL environmental variable as the C-shell. However, you decide to change from
the C-shell to tsch.


Your task in this lab is to:


-Open /etc/pref_shell in vim
-Modify the environmental variable line SHELL=/bin/csh to read SHELL=/bin/tcsh
-Save changes


-Use the set command to view a list of variables or use echo $variableName to show
each one


/root
en_US.UTF-8
/bin/bash

linux - ✔✔View the currently set environment variables to find the values below


HOME
LANG
SHELL

,TERM


use cat /root/.bash_profile or vi /root/.bash_profile to view contents



PATH - ✔✔View the contents of the /root/.bash_profile file. What is the last word in
the file?


Use cat or vi to view file contents for /etc/shells


/bin/ksh - ✔✔The /etc/shells file contains a list of shells that are available on the
current system. View the contents of the file and answer the following question.


Of the shells listed below, which are not available on the system?


/bin/sh
/bin/bash
/bin/ksh
/sbin/nologin


Use fdisk -l to display info
-Id swap volume by looking for 83 Linux Swap at the end of an entry line


1st
5th
9668
473632

,1st

1st - ✔✔Use fdisk -l to answer the following questions about the partition table.


Which physical disk is the swap area on?


Which disk partition is the swap area on?


What is the beginning cylinder for the swap area?


What is the allocated size of the swap area in blocks?


Which physical disk is the boot disk on?


Which disk partition is the boot disk on?


Use:

mkfs -t ext3 /dev/sdb1 - ✔✔You've installed a new hard drive and created a partition
on the drive. Now you need to format the partition before you can save data on the new
hard drive.


Your task in this lab is to format the /dev/sdb1 partition with the ext3 file system.


Use:
mkfs -t ext4 /dev/sdc1

mkfs -t ext4 /dev/sdc2 - ✔✔You've installed a 3rd hard drive and created 2 partitions
on the drive. Now you need to format both partitions.

, You task in this lab is to format the partitions with the ext4 file system.


Use:
mkswap /dev/sdb2

swapon /dev/sdb2 - ✔✔You recently upgraded your computer and added an entra
512 MB of RAM. Consequently, you want to increase you swap space by adding a new
swap area. The second hard disk has an unused partiton (/dev/sbd2) that you want to
format for the swap area.


Your task in this lab is to:
-Create a swap partiton on /dev/sdb2
-Activate the swap partition


Use:
mkdir /mnt/disk



mount -t ext3 /dev/sdb1 /mnt/disk - ✔✔You recently installed and formatted a new
hard drive in your system. It's device file name is /dev/sdb1. Now you want to mount
the volume.


Your task in this lab is to:
-Create the /mnt/disk directory
-Mount /dev/sdb1 to the /mnt/disk directory with the ext3 file system.


Use:
umount /root/newdrive

Información del documento

Subido en
13 de enero de 2025
Número de páginas
38
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
QUINTER
3.6
(73)
Vendido
425
Seguidores
105
Artículos
39867
Última venta
1 día hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes