I'm on Windows 7 Powershell and have ncat from http://nmap.org/ncat/
I'm trying to send "foo" to some network device
PS> ncat -u 192.168.1.255 6061
foo
but it sends "foo\n" (66 6f 6f 0a) and the line-feed makes the device not recognize the command.
there's a -C option to add a carriage return, but that's no help.
I made a text file containing "foo" and did
PS> cat .\test.txt | ncat -u 192.168.1.255 6061
but that also adds CRLF
Generally speaking, I'm interested in something that can load quickly and, depending on what I want to do, can choose to launch a Virtual Machine that is tailored to my desired activity. So, something that loads to (preferably) a command line, then if I want to run my Windows 7 machine that has all of my programming junk on it, I can simply enter the command to launch some VM player and close it when I'm done.
As you know we can enable spell checker on single line Text-Boxes with following way :
http://www.picfront.org/d/7yiJ
And we have to enable it every time for checking words.
Now , my question is ; How we can enable it forever as it doesn't need to enable each time ?
When I open Terminal it periodically tells me 'You have new mail.', some of which comes from testing web applications that I am running on localhost, which try to send it.
I find the command line mail application impossible to use.
Is there a way to read this mailbox from the OS X Mail application?
Checking a larger subnet than I normally do; mapping out a cluster suite in a university for a traffic mapping project (permission attained), and I was wondering something.
NMap usually prints its progress periodically, but I'm unclear to what that 'periodically' is, because the cirrent scan printed a line for basically every 100th of a percent up to 1% done, then one at 1.5%, and has said nothing since.
I suspect that it changes at different 'levels' but does anyone have an actual answer?
What would be the easiest way to download the most recent modified file from a directory on a remote ftp server with a script on the command line on windows?
Is there a way to start windows "explorer" process from command line?
Because of some problem in my Vista OS, explorer process crashes frequently (i can not see TaskBar after that) but using the open windows i can access the cmd.exe ( ctrl+alt+delete does not work). If there could be a command to start "explorer" process again or to start the Task manager then that would help a lot.
Thanks
Is there a way to start windows "explorer" process from command line?
Because of some problem in my Vista OS, explorer process crashes frequently (i can not see TaskBar after that) but using the open windows i can access the cmd.exe ( ctrl+alt+delete does not work). If there could be a command to start "explorer" process again or to start the Task manager then that would help a lot.
Thanks
Edit: explorer command starts the explorer process, but alt+ctrl+del is still not working, any help?
Hi,
The windows XP sigverif tool is useful for identifying non-signed executables, but does not seem to be amenable to scripting -- is there a command line equivalent?
Hello,
I can't find anything on Google that could help me to use aptitude to install only security updates using command line on Ubuntu.
I tried this: https://help.ubuntu.com/community/AutomaticSecurityUpdates but it installed everything and not only the security updates!
How can I just install security updates?
I am have imported .reg file to registry using command line utility (as admin).
regedit /s myregfile.reg
To remove MyTree I have used following command but it does not work.
regedit [-HKEY_LOCAL_MACHINE\MyTree] // suppose to remove MyTree
Can anybody suggest me solution to it?
This is driving me nuts!
Is there a way to quickly insert a line to an existing Word 2007 table? In Word 2003 there was a specific button for this - it was quite easy to splice and dice existing cells in an existing table.
I am looking for a screen capture tool that is controllable from the command line. Ideally I would pass the filename, and possibly some options (capture mouse pointer or not, etc..), then it would take control, allow the user to select a region of the screen, and then save it to the specified file and disappear.
screensnip.exe /output c:\users\public\pictures\screenshot.png /hidecursor
user draws rectangle on screen
control passes back to batch file, script, etc....
I have a local folder on my mac that I want to sync with a webdav server.
There are a lot of files in my folder and I would need that after I edit some files or add/remove folder to be able to sync the changes to the webdav server ignoring what it is on the server and always using my files.
Is there any script or tool that I can use from command line to do that?
And mounting the resource is not a solution.
If a Windows server (2k3/2k8) is set to "download but not install" updates, is there a way to check from the command line.. perhaps a log file or something I can check with powershell, to see if there are any updates actually waiting to be installed? I'm trying to prevent having to manually log on to each server to check, even though they want the "trigger" pulled manually. We have an automation system in place I can use (CA Autosys) - just not sure what to have it look for.
This is one of those things I don't quite do often enough to memorize. I thought it would be nice to have the answer here so I (and maybe others with as poor a memory as me) can star it.
What command-line options to I use to un-tar a tar.gz file into a specific directory, on Linux?
How can I paste some text that I yanked at the end of the line? Currently I'm doing it by pressing $p. Is there any way to do this with a single keystroke?
I'm looking to find a way to update some Windows Defender settings via command line, gpo etc.
From my research it looks like windows defender creates a hidden scheduled task named 'MP Scheduled Scan', but modifying this task does not seem to make a difference as to what shows up in the Windows Defender UI.
I have also done some process monitoring to see what data Windows Defender uses and I can see that it reads/writes to the 'HKLM:\SOFTWARE\Microsoft\Windows Defender\Scan' ScheduleDay key, but if I attempt to modify this key, I get an "Error Writing the new values contents" error message.
Is it possible to set Microsoft Word to display some text left-aligned and other text right-aligned on a single line? Here's an example of what I mean:
| Chickens, turkey and duck 30 |
| Cows 240 |
| Pigs and boar 83 |
| Sheep Not applicable |
where the vertical lines denote the sides of the page.
The full justify option won't work because I don't want anything in the middle of the lines. The table of contents option has the formatting I want, but only supports page numbers, which does me no good.
I would like to know how to disable and enable Microsoft Security Essentials from the command line.
This is a common procedure on build machines in order to speed-up the build process.
I want to parse my sources.list to extract the list of repositories. I have:
## Some comment
deb http://some.vendor.com/ubuntu precise stable
deb-src http://some.vendor.com/ubuntu precise stable
deb http://some.othervendor.com/ubuntu precise experimental # my current favorite
I want:
http://some.vendor.com/ubuntu precise stable
http://some.othervendor.com/ubuntu precise experimental
So I need: only lines with deb at the beginning and until the end of the line or a # character but excluding it.
So far I have:
grep -o "^deb .*"
But how to match # or LineEnd and excluding the #?
I am looking for a way to move all files and subfolders within a given directory to somewhere else and after the movement delete the original folder. For example, suppose in current path, there is a folder called FOLDERA, I am trying to move all files and subfolders from FOLDERA to the current path and then remove FOLDERA, but I need to do this with a command line. I try MOVE command but I find that it can only move the files. Anyway to do that? Thanks.
I'm using Powerpoint's Motion Paths to move images around in my slides. The problem is, on subsequent slides I need the previously-moved images to appear in their Motion Path destinations and I can't seem to get them to line up perfectly. The resulting effect is a smoothly moving image that suddenly "jumps" a few pixels on a slide transition.
How can I get images to appear exactly at the end of their Motion Paths in subsequent slides?
Hi, I'm running ubuntu on my notebook and I need a way to check (from the command line) if the power cable is connected. Is there any system file that keeps log of this? or is there a bash command that will help me?
I need this for a script that will behave differently depending on whether the power cord is plugged in or not.