how to get ptree visualize tool? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I saw a tutorial which use "ptree" tool to draw the tree graph (shown below)
but when I use the same tool, the result is not the same as above
my OS is ubuntu 11.10, does any one know about it??
google the keyword "ptree" does not return useful information
thank you

The command ptree on your second machine is a completely different tool which has (by coincidence) the same name as your ptree on the first machine.
On the first machine you are using a tool which parses an ascii representation of a tree and prints it in a graphical fashion.
On the second machine you are using a tool from the package adacontrol which is about the language Ada and can print the logical nestings of ASIS statements.
I guess these two tools are not the same.
Maybe you can find out where the tool on the first computer came from?

Related

Why does running "neofetch" in two different terminals give different results? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 days ago.
Improve this question
When I run "neofetch" in Hyper terminal I get different results than in the standard terminal. Looking at the images, you can see the DE is different, the WM Theme and other stuff. I guess I'm just confused as to why some things are different.
Thank you
Regular terminal
Hyper terminal
I always get the same results for each terminal respectively, it's just that each result is different for each terminal window.

Linux terminal has odd gap between words and cursor [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm trying to work in my terminal (I'm using the standard what I believe is a debian terminal on a chromebook) and for a while now I have had a really annoying gap between the words im typing and the actual typing cursor, the space also seems to gradually increase as I type more. I've decided to just deal with it for a while now after multiple google searches led me only to dead ends and I can no longer recall what actually caused this problem in the first place, but it's starting to frustrate me.
If anyone else gets this issue a simple change in font gets rid of the extra space.

Linux command needing translating [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have just started learning the Linux system and I need some help to translate the following to English:
grep WARNING readme.txt
and
grep WARNING readme.txt > warnings.txt
This is a homework question that i have researched myself but having trouble learning exactly what it means.
thanks in advance.
Try making a file on your computer named readme.txt. Put some lines of text in there, and make sure that some lines say "WARNING" while other lines do not.
Then run your first command and observe its output.
Then run your second command and observe its output and observe what was written to warnings.txt.

Why do different environtments contain different command line options when calling man -ls? (environments: codecademy, cb.vu) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Why do different environments contain different command line options when calling man ls?
codecademy
cb.vu
Does it mean that I should just use man command with options before using the bash options for each new environment which I use?
There's nothing magical about ls - it's a program just like any other program. Specifically, one that' been around for a long time. as such, different environments may have slightly different versions or even different forks of it. It's usually safe to assume the common options (such as -l) would be available anywhere, but when in doubt - you should double check.

Linux How to execute a command when a certain type of file is modified? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I would like to execute "lessc ~/less/app.less > ~/stylesheets/styles.css" everytime I modify a .less file on my machine. Is it possible ?
If you are looking for a generic approach, Linux kernel has a feature called inotify that monitors file system changes.
You will have to write a small program to make use of the interface. inotify has bindings for all major languages, including perl and python .
Take a look at incron, a crontab-like system for inotify. You can set up rules to trigger any commands you want, based on events in the filesystem.

Resources