linux

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Where do you copy the environment files for the BASH shell from?

/etc/skel

How do you list the total number of inodes?

df -i

How many inodes are available?

df -i

How many inodes are being used?

df -i

Find the default shell of a user.

echo $SHELL

What are the 3 modes of the vi editor?

escape insert command

Why is the user unable to create more files?

there are no more inodes available on the system

less

less <filename> q-quit (view a file)

What is the command to make a directory structure?

mkdir -p

What is the command to view logs in real time?

real time logs view (tail -f)

Components of Linux.

shell and kernel

How do you find the kernel version?

uname -a

How do you check the system uptime and how many users are logged into the system?

uptime and who

tail

view lines at end (defaults at 10)

head

view lines from beginning (default at 10)

What environment files are needed for the BASH shell?

.bashrc and .bash_profile

How do you change the default shell?

/etc/passwd

What is the system error log file?

/var/log/messages

What is the security logs file?

/var/log/secure

/opt

Add-on application software packages.

/run

Contains dynamic, non-persistent application runtime data.

/srv

Data for services provided by this filesystem.

/dev

Device files.

/lib

Essential shared libraries and kernel modules.

/bin

Essential user command binaries.

/media

Mount Point for removable media.

/mnt

Mount Point for temporarily mounted file systems.

/usr/bin

Regular user commands and utilities are located here.

/boot

Static files of the boot loader.

/usr/sbin

System administration binaries, for root use, are here.

/sbin

System binaries.

/tmp

Temporary files are stored here.

/var

This directory contains dynamic configuration data, such as FTP and websites.

/proc

Virtual filesystem documenting kernel and process status as text files.

How do you check the distribution or version of the OS?

cat /etc/issue or cat /etc/RedHat-release

cat

concatenate

cp

copy

What is metadata?

data about data

How do you check how much space a filesystem is taking up?

du -h <file system>

/usr

Contains installed software programs and libraries.

/etc

This directory contains static, persistent system configuration data.

/

This is the system's root directory.

/home

User home directories are located under this directory.

mv

move

What is an inode?

place where metadata is stored

What is the dmidecode command?

prints hardware information


संबंधित स्टडी सेट्स

PSYCH 100 - Module 49 -- Mood disorders

View Set

Nurs 472 Final Prep U Quiz Collection

View Set

American Red Cross Basic Life Support Final Exam

View Set

Abnormal Psychology: Positive Emotions

View Set

Art: A Brief History - Chapter 3: Art of Ancient Egypt

View Set

International Business Chapter 13 Brian Rawson

View Set

I&B Exam 1 Book Self-Assessment Questions

View Set

Senior Practicum Basic Physical Care

View Set