Skip to main content

All Questions

0 votes
2 answers
49 views

Is there a way to interact with a shell but from an app or separate program?

I am trying to find a way to both receive the output of a shell and then return output, but from a different front end interface? I am trying to incorporate the Linux terminal into a potential ...
James Lindner's user avatar
1 vote
1 answer
318 views

How to create a list of links?

So I have a website links that go like this: site.com/1 site.com/2 site.com/3 etc, up to 1000. How to create a list of this using bash or any programming language on linux? I know the question is most ...
Borie Poven's user avatar
2 votes
4 answers
572 views

Duplicate a file multiple times, write to duplicated files, sort the files, count position of specific lines after sorting

Before I go to more in details, I want to point out that I already asked a certain part of this question -> You can find it here. I received some nice answers, but I need to do more so I'll repeat my ...
Osman Altun's user avatar
4 votes
3 answers
2k views

Is multi-line alignment possible with tput?

I would like to position the cursor at a specific row/column and print a multi-line file/command that stays aligned to its first coordinate, so that tput clear tput cup 5 15 ping www.google.com would ...
Radvansky's user avatar
2 votes
2 answers
595 views

How to format textutil -excludedelements

I use Geektool on the Mac to display various information on my desktop. One feature of Geektoool is the ability to use shell mode to launch custom scripts or commands. I am not versed in any type of ...
Dean's user avatar
  • 31
2 votes
2 answers
1k views

Show a sliding window of output from a program

I want to run a command (rsync -av) and only display 10 lines of output at any time. I have found a similar post, but I don't want to redirect it to a file. I want the output to be displayed ...
Vince's user avatar
  • 381