I am looking for a command line mailers which support SSL and authentification, so far I tried blat but it doesn't support SSL.
Any suggestions?
Thanks
Hi,
I am trying to set up command-line access for my windows machine to a svn respository on a Unix box. The guides online all have the keypair method of accessing the repository. However, I don't personally like storing my keypairs, so I'm trying to figure out how to do this.
Thoughts? Suggestions?
hi , i have problem in my network when I wrote telnet command from any pc to the router
black screen come then i cannot do any thing .. but when I connect to router from Sun System its ok ...
could anyone solve this problem ....
I found 3 numbers for the Total Physical Memory:
In the Task Manager under the Performance tab: 1978 MB
In Computer Properties: 2 GB
And running wmic computersystem get TotalPhysicalMemory /format:list in the command line: 2074554368 Bites
Number 1 matches Number 3 except Number 1 is rounded. When I convert Number 3 to GB 2074554368 / 1024 / 1024 / 1024 I don't quite get 2 GB. I get 1.93207932 GB.
Why does Number 1 and Number 3 not match Number 2?
I have read that setting something to realtime is a big no-no, so I am not going to do that. But I do have an application that I need to make sure always has the highest priority on my system as it is critical for the rest of the applications I am running. Is there any danger in setting the priority to high, which is one level below realtime?
Also, how would I be able to do this by changing the shortcut target? What is the command?
Is it possible to change the default terminal emulator on Windows (7 and 8 in particular) from cmd to, for example, Console2 or ConEmu? In essence, I want all command line tools, whether launched by double clicking, from "Run" or by other processes to use the custom terminal.
This is a trivial matter on Linux, is it even possible on Windows?
It would be especially helpful if this could be done via a script.
For some reason my localhost is not recognized.
I have this in my hosts file as I've always had:
127.0.0.1 localhost
::1 localhost
I did do a flushdns, not sure if that caused it. Then I tried a /registerdns in the command prompt.
I still have the same issue.
Is there a built-in command or a less verbose way of achieving this?
find /var/foo -maxdepth 1 -type d
Or should I just make a tiny shell script or function if I'm doing this sort of thing often?
if i write this command in linux "dd if=/dev/sda1 of=/dev/sda2" it will copy the whole /dev/sda1 partition bit by bit to /dev/sda2 ......is there any way in WINOWS not in linux that i can just only copy the contents of one partition to another partition not the whole partition.....
That I know:
In command line, use TAB to autocomplete the commands.
You need just to select a text to copy it, and use mouse middle button to paste.
Which other "untold" secrets Ubuntu hides?
obs. I don't know which of the items I told are for any Linux or Ubuntu specific.
Is there a way to unzip a zip file into a directory, but only do so for updates files?
I have a huge directory of files there, and only about 20% are different.
Preferably using command line, but it's optional.
Thanks.
Hi all,
I've a directory containing around 2.8 lacs of files. I want to move them to another directory.
If I use 'cp' or 'mv' then I get an error 'argument list too long'.
If I write a script like
for file in ls *; do
cp {source} to {destination}
done
then because of 'ls' command , its performance degrades.
How can I do this?
When I'm specifying an argument for make like PREFIX_PATH=/some/path/to/prefix/ I sometimes experience very slow completion for my directories (a few seconds). It's annoying when I've got several variables to specify.
To get around the problem I've been typing out the variables first to get regular completion speed, then hitting home' to insertmake` that the start of my command line. What is happening and how can I fix it?
I am looking for a command line tool to join 2 video files, however I want the videos joined split screen frame by frame instead of one after another.
Any ideas?
Seems this is not possible with ffmpeg.
When you drag a file to the Unity launcher, only the applications that are supposed to open that file will remain active, while all others become deactivated.
Is it possible to configure Unity to ignore that setting and open the file, no matter what extension the file has, with any of the applications on the launcher?
I'd be glad to get an unsupported file type from the application when I make a mistake instead of losing a bunch of time configuring what application can open what file (that's because it is no longer possible to add a custom application/path in the Open with... menu)
I have two files huge.txt and small.txt. Huge has around 600M rows and it's 14Gigs, each line has four space separated words (tokens) and finally another space separated column with a number. Small has 150K rows with a size of ~3M, a space separated word and a number.
Both Files are sorted using the sort command, with no extra options. The words in both files may include apostrophes (') and dashes (-).
The deisred output would contain all columns from the huge.txt and the second column (the number) from small txt where the first word of huge.txt and the first word of small.txt match.
My attemtpts below failed miserably with the following error:
cat huge.txt|join -o 1.1 1.2 1.3 1.4 2.2 - small.txt > output.txt
join: memory exhausted
What I suspect is that the sorting order isn't right somehow even though the files are pre-sorted using:
sort -k1 huge.unsorted.txt > huge.txt
sort -k1 small.unsorted.txt > small.txt
Problems seem to appear around words that have apostrophes (') or dashes (-). I also tried dictinoary sorting using the -d option bumping into the same error at the end.
I see two ways out of this but don't know how to implement any of them.
1) Any tips how to sort the files in a way that the join command considers them to be sorted properly?
2) I was thinking of calculating MD5 or some other hashes of the strings to get rid of the apostrophes and dashes, and do the sorting and joining with the hashes instead of the strings themselves an dat the "translate" back the hashes to strings, but leave the numbers intact at the end of the lines. Since there would be only 150K hashes it's not that bad. What would be a good way to calculate individual hashes for each of the strings? Some AWK magic?
See file samples at the end.
Thank you!
sample of huge.txt
had stirred me to 46
had stirred my corruption 57
had stirred old emotions 55
had stirred something in 69
had stirred something within 40
sample of small.txt
caley 114881
calf 2757974
calfed 137861
calfee 71143
calflora 154624
calfskin 148347
calgary 9416465
calgon's 94846
Say fileA is a sym link to fileB. I have only fileB at hand and want to find all files that are sym links to fileB. Is there a command to show this in *nix?
I use the following commands to sync folders. Each command requires me to type in the password. How can I group these commands to only enter the password once? Thanks.
rsync -ave ssh /opt/lampp/htdocs/new/folder1/ [email protected]:/home/folder1/
rsync -ave ssh /opt/lampp/htdocs/new/folder2/ [email protected]:/home/folder2/
rsync -ave ssh /opt/lampp/htdocs/new/folder3/ [email protected]:/home/folder3/
Hi,
I'm looking for a command line tool for windows that will go over a directory tree (recursively) and output a list of all the files in there, and a checksum for each file (can be CRC, MD5, whatever).
Esentially, what I want is to compare 2 big directory trees in 2 machines. I'm planning to take the outputs of running this tool in both, and diffing them to make sure they're identical.
I appreciate any ideas.
I'm a Windows user and am just getting my feet wet with Python and some other languages. I keep having to deal with the Command Prompt, and it doesn't bother me, but I'm sure there are some free alternatives out there that look a lot nicer and probably pack a bigger punch.
Any suggestions would be nice. Thanks!
So I want to run apache benchmark but while it's running, I need to run htop to see the memory and cpu usage. How can I do that? Putty (My ssh client) won't let me type in a command until ab is done running.
Ideas?
I have a few hundred family images and they were all sent to us with borders that I would like to remove. Thankfully the borders are all the same size of 20 pixels and they are all .jpg so this will probably make things easier but im looking for a way to "batch process" all of them quickly so I dont need to open photoshop for each image and do it individually. Command line is preferred, the only big problem is they are mostly different sizes.
Here is an example
Is there a way to use the built-in windows file compression tool in command line? Instead of RightClick/Send To/Compress (Zipped) Folder.
Windows Server 2003 Enterprise Edition
Thanks!
I'd like to ask how is it possible to add quotes in VB.
I'm trying to run command which contains quotes..
example:
Shell("cmd.exe")
SendKeys.Send("cd "c:\users\abc def" ") <<<<--- this line
SendKeys.Send("{ENTER}")
there is an syntax error.
the problem is that I need to add quotes to some commands as there is a space in folderpath.
As a beginner in VB I'm not really sure how to describe the poblem correctly so I hope you can see the it in my example :/
Thank you all in advance