Linked Questions

11
votes
4answers
682 views

How to find required information in man [duplicate]

The man command brings up a nice manual for many programs, but how can I use it more effectively? For example man gcc brings: NAME gcc - GNU project C and C++ compiler SYNOPSIS gcc [-c|...
5
votes
4answers
1k views

Is it possible to access source code or a config file of a terminal command, to read how it works and even customize it on local computer? [duplicate]

I am trying to understand Linux and I am often solving my problems on a case by case basis without actually learning how to come up with the answer myself, which of course, I prefer not to do. For ...
0
votes
3answers
4k views

How can I use the ls command to find out a folder's owner and group, and what rights they each have? [duplicate]

Just switched completely from Windows to Ubuntu and am happy. I have a problem; there is a folder called /root. I want to know how I could use the ls command to find out the owner and group ...
-3
votes
1answer
2k views

Using GREP command [duplicate]

I have tried to use GREP command but i couldn't figure out exactly how it works. Can someone help be. I want to know how i could use this command to search for the phrase 'Failed password for root' in ...
0
votes
2answers
680 views

Apt-get install -y [duplicate]

When you run the commandsudo apt-get install -y Vivaldi Vivaldi being an example, but what does the `-y` Argument achieve?
0
votes
1answer
629 views

No manual entry for command [duplicate]

By following this Q&A I started using command instead of which when checking for the existence of a program. But man command returns: No manual entry for command Why there is no manual for it ...
0
votes
3answers
99 views

Pipe for three commands [duplicate]

In the manual of sudo I need to search for -k so I tried this: man sudo | grep '\-k' But it would result a paragraph be half-written on the output: sudo -h | -K | -k | -V Similar to ...
0
votes
2answers
73 views

What would be the difference in output between “man ifconfig” and “man ifconfig | less”? [duplicate]

I am stuck currently on this question while learning Linux. Can anyone help me?
0
votes
0answers
72 views

Open a file with… in a Linux terminal [duplicate]

How can I open a file with another program than the default one with a command line in the terminal? For example I want to open a PDF. To open it with the default PDF viewer I just write xdg-open ...
1
vote
0answers
16 views

How can I know whether a command parameter has help or not? [duplicate]

A command has help file. cd --help A command has options. ls [-Option(s)] [file ...] Some options (command parameters) has help as well. $ git describe -h usage: git describe [options] <...
113
votes
4answers
73k views

How can I search within a manpage?

Is there a option to search within manpages?
39
votes
6answers
168k views

Where can I find the location of folders for installed programs?

I'm new to Ubuntu and would like to know where I can find the location of program files for programs installed from the Ubuntu Software Center or the Terminal.
52
votes
2answers
11k views

Why is there a /bin/echo and why would I want to use it?

I noticed that there is a binary executable /bin/echo on my Ubuntu MATE 17.04 system. I thought, that's odd, because $ type echo echo is a shell builtin Cursory testing suggests that /bin/echo does ...
39
votes
3answers
10k views

How do I make man pages open in a web browser?

How can I make manpages (from the man command) open in a web browser for easier navigation?
31
votes
2answers
2k views

What is the difference between `man` and `man (#)`?

Just saw someone referencing man 7 regex on Stackoverflow. I tried man regex and got very similar output - there appear to be slight differences. So what is this magical number 7? Searching man 7 ...

15 30 50 per page