Posts

LINUX - MANAGING KERNEL MODULES

Image
 LINUX - MANAGING KERNEL MODULES Objectives Completing this activity will help you to use content examples from the following syllabus objectives: 1.2 Given a scenario, install, configure, and monitor kernel modules Enter  lsmod | less  to examine what modules are currently running Briefly scan through the list of installed kernel modules. Press  q  to quit. Enter  lsmod | grep bluetooth  to filter the module information for bluetooth content. Verify that there are no results. You don't yet know the name of the relevant module, so this isn't necessarily definitive proof that it isn't loaded. Search for the appropriate module. Enter  uname -r  to retrieve the kernel version of the system. Enter  cd /lib/modules/ [kernel version] /kernel/drivers Remember to use tab completion to fill the kernel version automatically. Enter  ls | grep bluetooth  and verify that there is a bluetooth directory. Enter  cd bluetooth  to chan...

LINUX - MANAGING FILES AND DIRECTORIES

Image
 LINUX - MANAGING FILES AND DIRECTORIES Creating Text Files Create the software list file by using the Vim text editor # vim software_list.txt # Press i to enter into insert mode # Type  Apache HTTP Server MySQL Eclipse OpenVAS # Esc # wq # cat /software_list.txt Open the file in Vim and correct a spelling error Enter  vim software_list.txt  to open the file. Remember that Vim opens in Command mode. Use the  arrow keys  to move the cursor down to the first instance of the text " Friefox ". Position the cursor under the " i " in " Friefox ". Press  x  to cut the letter " i ". Move the cursor under the letter " F " and press  p  to paste the cut letter. Verify that the line now correctly says " Firefox ". Use the search functionality built into Vim to find and correct the other instance of the spelling error Enter " /Frie " to search for the next occurrence of the misspelled name. You use the  /  to create a command pr...