123 Answered Questions for the topic Linux

Linux C Unix

07/23/21

Write a C program with the parent process and a child process communicating with each other using a pipe.

Write a C program with the parent process and a child process communicating with each other using a pipe. The child process will execute the shell command provided by the user via command line... more
Linux C Unix

07/23/21

Write a C program where two child processes are created using fork().

Write a C program where two child processes are created using fork(). The parent process and the two child processes communicate with each other via a pipe. More specifically, the first child... more
Linux C Unix

07/23/21

This exercise shows the idea of how to use one user-defined signal handler to handle two signals.

This exercise shows the idea of how to use one user-defined signal handler to handle two signals. The two signals chosen for this exercise are SIGINT and SIGQUIT. Read (or Google) the descriptions... more

NEED HELP ASAP!!!

using linux using bash script (#!/bin/bash) How to prompt the user to enter the age. If the age is greater than 18, then print you are eligible to vote else print you are not eligible to vote.

05/05/21

Write a shell script

Write a shell script which will automatically get executed on logging in. This shellscript should display the present working directory and report whether your friendwhose logname is aa10 has... more

Linux help Assignment Urgent help!

For this assignment you will write a program that allows a user to entertiming data (minutes and seconds) and then print out some information aboutthe entered data.- the program reads input... more

Linux assignment help

For this assignment you will write a program that allows a user to entertiming data (minutes and seconds) and then print out some information aboutthe entered data.Context:A drop of sweat dripped... more

Linux Programming Help

For this assignment you will write a program that allows a user to entertiming data (minutes and seconds) and then print out some information aboutthe entered data.Context:A drop of sweat dripped... more

Help with using VIM editor in Linux

Edit hello.cpp using vimUse vim editor to edit hello.cpp, to have a custom message then recompile the program and run it again.(I dont know what im supposed to type please help)

Help with Computer Science assignment

#1.Create the Hello World program using vi. Save it in your home directory. Instead of the using the “Hello World!” in cout, replace it with “Hello, your name!”Compile the program using g++. This... more

Linux urgent question please answer ASAP

Your menu will be surrounded by a loop, either the until or while loop, so that when one option is concluded it will go back to the main menu until the user selects an option x to exit.... more

Linux Assignment Urgent Help

INSTRUCTIONSThese three activities are three little shell programs to create and review, one called svi.sh and the other uon.sh, the other is the command_menu program at the bottom of page 456.... more

computer science question

Create this sample file, you can call it student... more

02/04/21

Linux assignment lab question

Using awk, write the command that would print the line that contains the word "selected". This file has a lot of junk in it. So, you are just searching for the lines that contain the word... more

UNIX Assignment

Log on to your UNIX system1. Give three different commands to get back to your home directory.2. Show the names of all hidden files in your home directory. Show your session.3. Write down the... more
Linux

01/25/21

combining two sed -s

$ sed s/,/' '/g file.txt| sed s/'\.'/,/gI want to replace numbers into the SI format. ex: 1,000,000.53 would become 1 000 000,53, becomes ' ' and . becomes ,Is there a way I can combine this?
Linux

08/08/20

What is the relationship between man pages and info pages?

How to create a file in Linux from terminal window?

What's the easiest way to create a file in Linux terminal?

07/05/19

Exploring Docker container's file system?

I've noticed with docker that I need to understand what's happening inside a container or what files exist in there. One example is downloading images from the docker index - you don't have a clue... more

07/05/19

How to count lines in a document?

I have lines like these, and I want to know how many lines I actually have... 09:16:39 AM all 2.00 0.00 4.00 0.00 0.00 0.00 0.00 0.00 94.00 09:16:40 AM all 5.00 0.00 0.00 4.00 0.00 0.00 0.00... more

Merge / convert multiple PDF files into one PDF?

How could I merge / convert multiple PDF files into one large PDF file? I tried the following, but the content of the target file was not as expected: convert file1.pdf file2.pdf merged.pdf I... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.