After installing Splunk, why am I receiving the following error: “failed to start splunk.service: unit splunk.service not found”


if you are sure that you’ve installed splunk in opt directory then go to bin directory like this: cd /opt/splunk/bin/ now run this command from your bin directory: ./splunk start or ./splunk restart root@aryan-VirtualBox:~# cd /opt/splunk/bin/ root@aryan-VirtualBox:/opt/splunk/bin# ls root@aryan-VirtualBox:/opt/splunk/bin# ./splunk start The splunk daemon (splunkd) is already running. If you get stuck, we’re here toContinue reading “After installing Splunk, why am I receiving the following error: “failed to start splunk.service: unit splunk.service not found””

Visual Studio Code – Keyboard shortcuts for Linux


General Ctrl+Shift+P, F1 Show Command Palette Ctrl+P Quick Open, Go to File… Ctrl+Shift+N New window/instance Ctrl+W Close window/instance Ctrl+, User Settings Ctrl+K Ctrl+S Keyboard Shortcuts Basic editing Ctrl+X Cut line (empty selection) Ctrl+C Copy line (empty selection) Alt+ ↓ / ↑ Move line down/up Ctrl+Shift+K Delete line Ctrl+Enter / Ctrl+Shift+Enter Insert line below/ above Ctrl+Shift+\Continue reading “Visual Studio Code – Keyboard shortcuts for Linux”

Generating a new SSH key


Generating a new SSH key Open Terminal. Paste the text below, substituting in your GitHub email address. $ ssh-keygen -t rsa -b 4096 -C “your_email@example.com” This creates a new ssh key, using the provided email as a label. > Generating public/private rsa key pair. When you’re prompted to “Enter a file in which to save theContinue reading “Generating a new SSH key”

Build Automation Gradle Interview Questions


What does the command ./gradlew do when it is run from within a Gradle project’s directory? – It runs the Gradle Wrapper. What does a smoke test do? – Tests large-scale, basic things like whether or not the application runs. What can you use to take advantage of pre-built Gradle tasks created by the GradleContinue reading “Build Automation Gradle Interview Questions”

Terraform Interview Questions


You are testing out a new environment and need to ensure you are using the right syntax to reference resources. What are two commands that can help you discover and test the correct interpolation syntax? – terraform console – terraform show How would name a Docker image resource for reference later? – resources “docker_image” HowContinue reading “Terraform Interview Questions”