Start Mysql in kali linux failed [closed]

When I call systemctl status mysql.service this is the output ● mysql.service – MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2020-01-23 17:30:16 EET; 15min ago Process: 3395 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE) Jan 23 17:30:16 Hussein systemd[1]: mysql.service: Service RestartSec=100ms expired, scheduling restart. Jan 23 17:30:16 Hussein…

Details

How do I create multiple files names from list.txt in bash also change the text of that newly created file?

I want to create multiple files at a time using names from a file list.txt, as well as the text in each files. Suppose I have a list.txt containing some id. numbers, now I want to make separate files using that ids as the name (e.g. EOG090W002U_M0.ctl, EOG090W00C1_M0.ctl, EOG090W00DC_M0.ctl). Also, the contents of the files…

Details

Grep different kinds of patterns

I have a file that looks like this: 1>>>PROKKA_00001 Transcriptional regulator PadR-like family protein – 137 aa >>tr|E5G076|E5G076_ARAHY Ara h 1 allergen OS=Arachis hyp (619 aa) 37.3% identity >>sp|P43238|ALL12_ARAHY Allergen Ara h 1, clone P41B OS= (626 aa) 37.3% identity >>tr|N1NG13|N1NG13_ARAHY Seed storage protein Ara h1 OS= (626 aa) 37.3% identity >>tr|Q6PSU6|Q6PSU6_ARAHY Conarachin (Fragment) OS=Arachi…

Details

replace strings in columns basing on another file values

input file: col01 20083d70-1bf0-40f4-9df9-6247d587c085 text text col02 d233d76d-e60d-442e-9b44-f0e1dc9ebefb text text col03 20083d70-1bf0-40f4-9df9-6247d587c085 text text col04 20083d70-1bf0-40f4-9df9-6247d587c085 text text col05 b26063fa-93e4-414d-82f2-7c2924c81cc6 text text col06 dc3e2f9b-05bf-49b4-a63e-c4bc09524eb3 text text col07 d9f5cf1d-a8f9-488d-b088-b7ad00b67ec6 text text col08 b26063fa-93e4-414d-82f2-7c2924c81cc6 text text col09 d9a558ff-494a-4ada-8ec2-e9b2f9178599 text text col10 b26063fa-93e4-414d-82f2-7c2924c81cc6 text text col11 b26063fa-93e4-414d-82f2-7c2924c81cc6 text text col12 4d78f804-18f6-4cc8-98a3-c4aedc60aebf text text col13 0fe487fe-2ff2-4ca4-adf8-de3c19115dde text text col14…

Details

How do I create multiple files names from list.txt in bash?

I want to create multiple files at a time using names from a file list.txt, how can I do it? Sample list.txt: EOG090W002U EOG090W00C1 EOG090W00DC EOG090W00DE EOG090W00E5 EOG090W00HR EOG090W00MH EOG090W00MS EOG090W00PB EOG090W00U4 EOG090W00UK EOG090W00WM EOG090W00WR Suppose I have a list.txt containing some id. numbers, now I want to make separate files using that ids as…

Details