119 Answered Questions for the topic Linux

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
Linux File Editor Vim

07/04/19

Convert DOS line endings to Linux line endings in vim?

If I open files I created in Windows, the lines all end with `^M`. How do I delete these characters all at once?

07/04/19

Print a file skipping first X lines in Bash?

I have a very long file which I want to print but skipping the first 1e6 lines for example. I look into the cat man page but I did not see any option to do this. I am looking for a command to do... more
Linux Grep

07/03/19

How can I use grep to show just filenames on Linux?

How can I use `grep` to show just file-names (no in-line matches) on Linux? I am usually using something like: find . -iname "*php" -exec grep -H myString {} \\; How can I just get the... more

06/30/19

What killed my process and why?

My application runs as a background process on Linux. It is currently started at the command line in a Terminal window. Recently a user was executing the application for a while and it died... 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.