Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

How to fix Linux filename tab autocomplete that is appending a space instead of trailing slash on directories?

For some strange reason my filename autocomplete is behaving differently than normal. Given the following file structure ./foobar/file.txt, if I want to delete file.txt, I type rm ...
2
votes
1answer
50 views

Display the command being executing currently

I don't recall to have explicitly placed anything in my .bashrc file recently, but from yesterday I am able to see the command being displayed at the prompt before getting executed. I don't know how ...
1
vote
2answers
62 views

ps aux |grep 'asdf' grep: asdf: No such file or directory

For some reason a while back, the behavior of my command line changed, and I don't know why. Using OSX, now Mountain Lion(although this behavior was present before the switch). Using standard ...
0
votes
1answer
18 views

sqlite fts quoting problem

I can do this in sqlite tool: sqlite> select caption from notes_fts where notes_fts MATCH '"perl install"'; but cannot from the Linux shell i.e., this fails: sqlite3 sqldb "select caption from ...
2
votes
1answer
30 views

How to switch PulseAudio inputs and outputs from command line?

At work I use to use an USB headset which gets detected as separate audio output and input (for the mic) devices. At home I use conventional analogue headset which is plugged into my laptop built-in ...
2
votes
1answer
16 views

RIPEMD-160 file digest

How can I make a file digest under Linux with the RIPEMD-160 hash function, from the command line?
6
votes
2answers
100 views

Command line input while a running script displays strange symbols

If I use the bash shell cli and run some program which doesn't return immediately, then I input some letters (basically typing the next command before noticing the previous didn't finish) and the ...
2
votes
3answers
41 views

How to echo (a (executable-)string) to the prompt, so that the cursor flashes at the end of the line?

How to echo (a (executable-)string) to the prompt to make the cursor sit at the end of the line? So that I can hit Enter to execute or Ctrl-C to throw away the line. Is this possible at all? I ...
3
votes
2answers
74 views

How do you configure the MTU for all network adapters via a script?

NOTE: This is for RHEL/centOS. Currently my way of configuring the MTU is via GUI using system-config-network and setting the MTU to 4096. I would like a non-interactive script to do this instead. ...
1
vote
1answer
37 views

How to make FreeBSD variant of cal start weeks on mondays?

Can week start day be changed in cal output? Is it hardcoded? Notice: not the ncal.
0
votes
1answer
28 views

rexecd daemon for Ubuntu

How to start rexecd daemon/server on ubuntu-11.10 ? If I try to run the command /usr/sbin/in.rexecd then an error appears as rexecd: getpeername: Socket operation on non-socket rexecd is remote ...
2
votes
0answers
29 views

How can I debug POST requests with python's BaseHTTPServer / SimpleHTTPServer? [migrated]

I found a script on this site for running a simple server via the command line with python. I added some print lines in because I'd like to print out the GET and POST parameters via the command line ...
1
vote
4answers
132 views

Console Text Editor with Windows-like keyboard shortcuts (ctrl-z, x, c, v)

Ok, I realise that I risk a religious war asking a question about text editors, but here goes. Requirements Mostly used for config file edits Text based not GUI Available for Raspian flavour of ...
2
votes
1answer
117 views

How to Connect to Wireless Automatically? (Non-graphical)

I'm trying to set up my Arch Linux so that, through non-graphical means, I can connect to a wireless network through profiles on my system. I have tried net-auto-wireless, and it does everything I ...
2
votes
2answers
53 views

MySQL Linux Client Timeout/Keepalive

Is there a way to set a keepalive in the command-line MySQL client on Linux? Our network recently moved to a VLAN setup, and our systems department no longer has control of the firewall. The ...

1 2 3 4 5 52
15 30 50 per page