Hello i want to show the number of lines, words and characters of all configuration files
"/ Etc / * conf" (command "wc"). How can i modify the command to not view the messages
error.
Hi Guys,
I am trying to add a prebuild even command line which essentially sets
Build Action = None
For a list of files before the solution is packaged up for release. How would I go about adding this & what command would I use to exclude a number of files in the web solution ?
i.e. \script\some-script.js [Set Build Action = None] etc
\script\some-script2.js [Set Build Action = None] etc
?
I want to pass a command as a command line argument from one batch file to another
e.g.
first.bat
call test.bat "echo hello world" "echo welcome "
test.bat
set initialcommand=%1
set maincommand=%2
%maincommand%
%initialcommand%
Hi guys, today i wanna ask you a question about internet network command.
pathping = tracert+ping, so what is the difference between ping and ping in pathping command??
Thanks for read!^^ Goodtime!
In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow?
It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 2008 installation.
Question: What command do you type in to the "Run Application" box on ubuntu to open the terminal?
Info:
I'm having horrible horrible driver issues on my netbook. I might be able to solve some of these problems if I could just get to Terminal, but all I have is my keyboard, no mouse, so i need to know what command to type in to run application (Which I can get to with alt-f2) to open terminal.
Thanks,
~N
I'm trying to run a .jar file on my centos box, but it says "java: command not found".
What's the best or easiest way to solve this? I was hoping for a yum command but not sure that that will exist for java?
What command can I use to print out the commit id of HEAD?
This is what I'm doing by hand:
$ cat .git/HEAD
ref: refs/heads/v3.3
$ cat .git/refs/heads/v3.3
6050732e725c68b83c35c873ff8808dff1c406e1
But I need a script that can reliably pipe the output of some command to a text file such that the text file contains exactly the commit id of HEAD (nothing more or less, and not just a ref). Can anyone help?
I'm writing a web application in which i use several thirdy party commands calling them with the exec function in PHP (for example, I render Latex formulas through a command-line program).
My question is: what are the security issues of executing external command-line programs in php? What I have to be aware of? Can you give me a list of points to check?
Thanks in advance.
I just starting using a Mac and have been frustrated that command line options are required immediately following the command so that this works:
ls -la /usr
but this doesn't:
ls /usr -la
ls: -la: No such file or directory
Is there any way to change this? Or can someone tell me why the placement of options is agnostic on most Linux platforms, but not on Mac?
I have installed xfig on my computer(MacOSX) but in order to complete the instalation I need a make install inside the source directory of xfig.
I used the command
whereis xfig
in order to find the path of the source of xfig (as I cannot find it otherwise) but when I type this command I get no answer as i.e:
hcp249:~ madalinahodorog$ whereis xfig
hcp249:~ madalinahodorog$
why dont I get some answer?
how can I find the path to the source of xfig?
thank you in advance,
madalina
This question is related to http://stackoverflow.com/questions/54989/change-windows-hostname-from-command-line, but I'm in a different situation. The netdom tool will not work on a computer not joined to a domain. I've tried setting the hostname from the registry, but I was wondering if there was another way from the command-line.
I'm writing a MATLAB script which solves for the eigenmodes of a defined polygon. MATLAB's PDE toolbox lets me define the geometry using the command pdepoly() but I need to export the geometry description matrix manually to the workspace through the GUI before I can decompose, mesh, and solve the pde. Does anyone know either a command to export the geometry to the workspace or a better way to define this geometry description matrix in MATLAB?
Many Thanks
Hi
I need to deploy my COM dll as a COM+ application. I used to do that from Component Services manager (dcomcnfg.exe). But my requirement is to deploy it from command-line. Is there a command to do that?
Thanks.
A function I'm using has "display()" in it (or other things that display messages on command window), so it outputs a lot of things (x 1200) on command line when I run my code, which makes things hard to track and observe.
Is there a way to suppress the output of this specific function? Ending the statement with semicolon obviously doesn't help.
Hello,
I am trying to build an oracle stored procedure which will accept a table name as a parameter.
The procedure will then rebuild all indexes on the table.
My problem is I get an error while using the ALTER command from a stored procedure, as if PLSQL does not allow that command.
I started learning vim today and installed it using
sudo apt-get install vim
Now, when I try to do something like :5dd it gives me the not an editor command error. I'm not sure why this is.
Am I doing anything wrong? I looked at tutorials and everywhere I look I see that 5dd is a valid command.
I generated spring roo project and modifies .jspx files to my styles. Unfortunately, when i used the backup command, spring roo was auto-generated files to the original one. Thus, my .jspx files are noy my styles. How should i do to recovery my files back from this command.
I have a small command line javascript routine that I usually run from the command line using cscript in windows. I'd like to be able to pass in arguments hopefully along the lines of...
%:cscript doSomethingToFile.js FileInQuestion.txt
Any insight on how to do this? Thanks much.
I need a bash command that will convert a string to something that is escaped. Here's an example:
echo "hello\world"|escape|someprog
Where the escape command makes "hello\world" into "hello\\world". Then, someprog can use "hello\world" as it expects. Of course, this is a simplified example of what I will really be doing.
I want to get the alert message for every execution of the scp command. If some one access my file using the scp command, that time I have to receive one mail. How can I achieve this. Please help me.
I'm trying to remove the carriage returns (\r) from a file with the following command on AIX, but it's also removing my last line. Any suggestions?
sed -e 's/\r\n/\n/g' ./excprule > ./excprule.tst
Command sequence:
dev1: sed -e 's/\r\n/\n/g' ./test_file ./test_file.tst
dev1: diff test_file.tst test_file
diff: 0653-827 Missing newline at the end of file test_file.
26a27
Trailer 25
What is Get-Command -CommandType Script? What kind of commands does it cover? Help about Script tells “-- Script: Script blocks in the current session.” but I am not sure what kind of script blocks it means. Are there cases when Get-Command -CommandType Script actually returns anything?
I've found many useful Bash commands that can execute OS X behaviors from the command line such as:
screencapture -x -C $FILENAME
Is there such a command that can check if the screen saver is active?