It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
First question is, what would pipeline (|) mean in windows cmd?
Second question is, what would be the linux equivalent of windows pipeline?
In Windows cmd, a | causes the output of one command to become the input of a second command:
command1 | command2
Linux shells use the same syntax, with the same meaning.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have written a shell script, it takes many commands. On pressing TAB key shell should list the commands. How to make it?
Br,
Praveen P B
It depends on the shell you're targeting. For bash, you'll want to read the chapters on programmable completion in the Bash Reference Manual.
Basically, you write a script for it and have users source it somewhere (usually by placing it in /etc/bash_completion.d/ or similar; examining existing scripts there is probably a good idea, too).
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to get data with comma separated when running shell script.See sample output;
value1,value2,value3
Is there any ideas?I'm using centos 5.5.
IFS=',' read v1 v2 v3
IFS is the separator variable built in bash.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to monitor a process in windows to check what actions it performs on a particular file including renaming it, or encrypt it. I want to generate events for these actions.
its easier to monitor the file than the process. Take a look at FileSystemWatcher class. http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
can anyone tell me how can i build console based menu in which i can navigate by direction keys to select options. Code should be in bash or shell script.
Look at pdmenu. It is pretty simple to use.
Or in case you need go deeper there is whiptail tool. It also allow you to build dialog box and so on. But it is a little bit harder to use comparing to pdmenu.
What about the dialog command?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have command line script, i need to execute it by programmatically with parameters.
How to execute script from coding? Can anyone guide me?
With Regards
Vadivelu
NSTask allows you to do this.