3
votes
2answers
114 views

Edit tree to output in custom format?

I'd like to get a custom output from the tree command, but unlike this question, I don't have a fixed format. I'd like to be able to give the command the format in an argument (for instance perhaps ...
-1
votes
1answer
87 views

How to use the “source” command to do parallel computing?

For example, I have an executable called ex01 (C++ program). And I have a text file that contains a set of invocations of this program with different arguments. The text file looks like this: ...
4
votes
2answers
126 views

printing .cpp file from command line using emacs

The goal is to print a set of *.cpp files on a network printer, but... in a way that the (color) printer prints the files like they appear in the c++ editor including the colors and highlighting. And ...
-1
votes
2answers
380 views

source script as command [closed]

For some reason (?), often when I write scripts nowadays they do not work, or work only in part, and then I try with . or source and they work perfectly. I'm unsure what is causing this as the scripts ...
9
votes
2answers
569 views

What languages are used to build Unix commands?

Examples of commands I'm referring to are ls, pwd, and cd. Also, how are these built? Do you have an example?