The command-line is the interactive interface to your shell.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

rlwrap: mysql autocompletion not working

When I connect to my database normally, autocompletion works fine. I have a table called booking. When I type the letter b and pres TAB the name of my table gets autocompleted: SELECT * FROM ...
0
votes
1answer
56 views

Am I running Bash?

I am using OS X 10.8.5. I am trying to figure out if the terminal is running bash. When I type in the following it says "getent" command not found -- but the error message seems to be coming from ...
0
votes
1answer
18 views

How can I get sublime text to run from the command line?

I am trying to get sublime text to run from the command line using this tutorial. It says to run this command: ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl ...
0
votes
1answer
53 views

What command will generate average lines per minute?

I'd like to know how many average lines are written to a file per minute. Could someone help me with a command or code to generate this number?
0
votes
0answers
25 views

How to use grep command to find the matching pattern and some more characters? [duplicate]

I have a compressed JS code and I want to find a pattern, but since the file is compresses, it has only a line, and the match pattern is all the file. The output is too much large. grep -r ...
0
votes
2answers
42 views

how to run .dump command in linux? [on hold]

I want to create dump file of sqlite database from java but I can't run the below command from linux. I got the help of windows and I tried with linux but it appears one terminal nothing more than ...
4
votes
1answer
19 views

Is there a command such as xwininfo, xdpyinfo, xprop, or xlsclient that will tell me what font an X client window is using?

I'm trying to find a command that will report what font a given X window is configured to use. Does such a command exist? Looking through these tools I did not see an option that would give me this: ...
3
votes
3answers
73 views

What is a “non-option argument”?

I am trying to understand info who but completly fail at the term »non-option argument«. Can someone please explain this term to me in simple words or an example? UPDATE: from ' info who' ...
3
votes
0answers
44 views

Connect to a Bluetooth device via Terminal

I'm using Mint 15 w/ cinammon. I bought a set of bluetooth speakers and i'm tring to connect to them via terminal. Via GUI i can see them normally and i am connected to them. I want to make a small ...
2
votes
1answer
41 views

Piping fragments of a document through various commands

I want to send, maybe using escape sequences such as $$$, fragments of an article through various commands, possibly with modifiers. The stdin would be replaced by the corresponding stdout. (Deleting ...
1
vote
1answer
23 views

Obtaining XWindows GUI menu item/widget names from the command line

I have just learned about dogtail, and it can allow enumeration of menu items/widgets of a GUI application from the command line; for instance (via Testing/Automation/DogtailTutorial - Ubuntu Wiki): ...
3
votes
3answers
57 views

Command line options of rackup are not shown in ps output or procfs

As you know if you wish to get command-line runtime arguments for running command you can parse ps -e or /proc/<pid>/cmdline. But I have encountered issue when this method returns only command ...
1
vote
1answer
49 views

How can I finding the Modify/Access/Change time of a file or directory? [closed]

I am using Debian 7.2 and would like to know the shell command for finding the MAC time of a file or directory. I tried man -k "MAC" and got a lot of hits about macros. I then tried man -k "MAC ...
0
votes
1answer
36 views

In which way is a commented line active in a program file?

To solve the bug reported here the solution seems to be commenting, not just adding a certain line in a file - as explained here and here. That is - to make that bug disappear in Xfce, a certain line ...
1
vote
4answers
61 views

How exactly do I create a sed script and use it to edit a file? [duplicate]

I know how to edit a file using sed one step at a time, but how would I create an actual sed script and then use it on the file to do the same things that the individual sed commands would do? For ...

15 30 50 per page