Skip to main content

Questions tagged [shell]

A shell is software that lets users interact with the operating system, usually by typing at a command-line.

3 votes
1 answer
201 views

I was working with a command like this: ssh another_host <<EOF set -x command_a command_b run_framework command_c ... EOF The odd thing was that only commands up to and including run_framework ...
Jeenu's user avatar
  • 407
0 votes
1 answer
136 views

The sed command that I use is: sed -i 's,oldvalue,newvalue,g' *.txt When I use the above sed command with each of the below examples (1, 2, and 3), the results contain errors. Example 1 Old value: ...
Renesah's user avatar
  • 119
2 votes
2 answers
76 views

How can I use Awk to match multiple lines and then concatenate other fields? 1 Gen 1 75 1 Gen 1:1 10 1 Gen 1:1 11 2 Exo 1:1-2 13 2 Exo 1:1-2 14 3 Num 1:1-4 ...
wsteinbr's user avatar
2 votes
1 answer
173 views

I have a list of files (builddir/foo.s builddir/foo.i builddir/foo.ii) that happens to come from brace expansion of builddir/foo.{s,i{,i}} . I would like to symlink them into the current directory ...
Bulletmagnet's user avatar