Join us in building a kind, collaborative learning community via our updatedCode of Conduct.

All Questions

Tagged with
3
votes
0answers
940 views

zsh - prompt redraw after executing command

I just started using zsh and I'm configuring a few things. I've chosen the vi bindings as I'm more familiar with those. As many people before me, I soon found it would be useful to have some visual ...
2
votes
0answers
74 views

Replace argument N in previous command

I've recently migrated to ZSH, and I'd like to get a bit more efficient at substituting arguments in commands. Specifically, I'd like to replace argument "N" in the most recent invocation of command "...
2
votes
0answers
145 views

Downloading and building O3D

I'm trying to get a program called O3D into my computer by following the instructions on O3D's wiki.I tried to download the project to my directory but the prompt gave me this answer:gclient is ...
2
votes
0answers
319 views

Dummies guide to mailutils

As a prelude to learning more about postfix and dovecot (as a pure hobbyist) I'm trying to understand the mailutils package. I'm using Davmail so I have the server set up at localhost and my mailutils....
1
vote
0answers
85 views

unable to start a bind shell with ssl on ncat

Ncat: Version 7.10i tried this with other version as well no luck.this is the cmd i gave to start listener. If I don't start the bind shell then this listener works without any issues and if i don'...
1
vote
0answers
132 views

Why does fish shell create a hidden process in iTerm2

I've moved from bash to fish shell in iTerm2. However, whenever I start iTerm2, I receive the following error message:A session ended very soon after starting. Check that the command inprofile ...
1
vote
0answers
64 views

Aliasing a binary in zsh

I have the following binary:~/wren/wrenThis is an interpreter for a scripting language. Running it like:cd ~/wrenhttp://superuser.com/wren myscript.wrenwill execute the script. I would like to create an alias ...
1
vote
0answers
176 views

Bash - log every input and output and write to file

I am often on assignment and sometimes I forget to document my work. E.g. write down output from different one off tools.Is there a way to automate that via .bashrc? So I open up a new shell, it ...
1
vote
0answers
188 views

In fish shell, which command is equivalent to bash's compgen?

compgen is a useful command, and fish is an excellent command shell. But I cannot find an equivalent in fish.I write one by myself:function compgen --description 'Print a list of documented fish ...
1
vote
0answers
83 views

Recursive search occurs instead of last command when using up arrow.

I'm using an internal product "shell" based on spring shell. When I press the up arrow to get my last command, instead I get (reverse-i-search)`': Retrieving the last command works for all my ...
1
vote
0answers
555 views

Getting complement of two text files on the Unix command line

Is there a fast Unix-based utility (ideally written in C) for getting efficient, streaming intersection/union of tab-delimited text files?For example, allow queries such as "give me the all the ...
0
votes
0answers
129 views

How does one add shell parameters while executing commands with su?

The situation.I am debugging the environment of a restricted user who is relagated to a special shell. In order to do this, I need to run a command as that user in their full context using su like ...
0
votes
0answers
40 views

Update icon in Context Menu on menu open or mouse hover

Its hard to find any practical advice on using native Windows Shell methods in modifying shortcut menus, such as Shell Extensions, Shortcut Menu Handlers and Verbs. For example, I want to add a new ...
0
votes
0answers
23 views

Equivalent of unix command “type” in command prompt

In Unix or Linux, type <arguement> provides information about how argument would be interpreted if used as a command. Is there any equivalent in command prompt (or in power shell as well). I ...
0
votes
0answers
68 views

What is the equivalent Linux shell command in Windows Command?

I have a Linux command written as below:$ ((cat file1.csv file2.csv | qs +) ; (cat file3.csv file4.csv | qs +)) | qs + |qs total | qs flip | qs meanWhat is the equivalent code for Windows Command ...

153050per page