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
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.
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?
The title says it all. Is there a way to make the loginwindow process start a user session by running a command when remotely logged in via SSH as an admin on Mac OS X?
When the machine is at the login window (no user is currently logged in), I want it to open up a user's session as if I had clicked on the username and entered a password.
Solutions that don't involve scripting the GUI are highly preferred, but this Apple KB page may be of interest for those who go that route.
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?
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.
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.....
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?
I am looking for a command-line tool for Unix (ideally, available in a Debian / Ubuntu package) for extracting all MIME parts from a multipart email message (or the body from a singlepart with an interesting content-type, for that matter).
I have been using the mimeexplode tool which ships with the Perl MIME::Tools package, but it's not really production quality (the script is included as an example only, and has issues with what it regards as "evil" character sets) and I could certainly roll my own script based on that, but if this particular wheel has already been innovated, perhaps I shouldn't.
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?
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.
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.
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
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 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?
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?
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've been happily using grep for many years without any issues, but since today it quit working. During the past hour I tried this and that, but enough is enough, I'm posting the bastard here:
On the simplest command like
grep 'aaa' file.txt
I'm getting this: grep: aaa: No such file or directory
So grep does not interpret the first argument as the pattern as it should, but treats it as a path.
Please help me, I'm going crazy '-(
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.
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
I downloaded a perl file from some webpage by opening it in my browser and saving it. But the saved file has a file name xxx.pl.txt. How can I save it into a file with pl as its ext?
Also how to change a file's ext?
Can I do these in command line?
Thanks and regards!
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!