What is the size (in bytes) of an SSH login request?
In fact I just want to know what is the size of the login SSH request when it is send from the client to the SSH server.
For a bandwidth point of view.
If it is a regular user/password login.
...
Hello,
I'm familiar with Regex itself, but whenever I try to find any examples or documentation to use regex with Unix computers, I just get tutorials on how to write regex or how to use the .NET specific libraries available for Windows. I've been searching for a while and I can't find any good tutorials on C++ regex on Unix machines.
...
Here is how i run dos2unix recursively on all files:
find -exec dos2unix {} \;
What do i need to change to make it skip over files under .svn/ directories?
...
I have the following looop
for i in $(cat numbers.txt);
do echo $i;
wget -a output.txt --no-check-certificate http://localhost:9001 --post-file=netev.xml;
done
but the netev.xml has a fieled which is defined by the variable $1, this $1 needs to corrospond to value of i for that iteration......
how can i make this work?
thanks
...
Hi, I am in Mac.
How to get NSString (Unix style path) from FSSpec
Regards,
Dhana.
...
I need a more-or-less portable programmatic way for querying the the dynamic library path list. For Linux, I can concatenate the $LD_LIBRARY_PATH and the contents of /etc/ld.so.conf (processing the include directives as needed and possibly filtering by architecture), but that doesn't work e.g. on FreeBSD.
Ultimately, I need a Python fun...
I am trying to open a log file and manipulate lines if required. For example
2010-01-31 00:05:59,400 -0500 | [VHX4077ff8Ze1sTnE-op51V] | [TB-bce11b:-16a2-5ed9f542] | [6C7CA345F63F835CB353FF15BD6C5E052EXX8E7A | 1000107@Superfly | 31933782 | 172.9.8.3 | DEVICE_ID_CREATED]
I need to edit column 5 and remove everything before the Superfly...
How do you setup server to server SFTP to use public-key authentication instead of user account and password?
...
How can I do this:
*(int *)CMSG_DATA(hdr) = fd2pass;
Without GCC raising this:
error: dereferencing type-punned pointer will break strict-aliasing rules
In a way compatible with these options:
-Wall -Werror -pedantic
...
You know, the regular "svn commit". "svn up."
When I did svn co, it was linked with SSH.
svn co +ssh or something.
How would I link this with Windows? I'm using Windows and I'd like to put some code i this SVN. What tools do I use to get started? Can I checkout normally, with the Linux syntax?
...
I have an application that consists of two processes (let's call them A and B), connected to each other through Unix domain sockets. Most of the time it works fine, but some users report the following behavior:
A sends a request to B. This works. A now starts reading the reply from B.
B sends a reply to A. The corresponding write() cal...
CREATE TABLE DMS_POP_WKLY_REFRESH_20100201 NOLOGGING PARALLEL AS
SELECT wk.*,bbc.distance_km ,NVL(bbc.tactical_broadband_offer,0) tactical_broadband_offer ,
sel.tactical_select_executive_flag,
sel.agent_name,
res.DMS_RESIGN_CAMPAIGN_CODE,
pclub.tactical_select_flag
FROM spineowner.pop_wkly_refresh_20100201 w...
How can I generate XSLX document on UNIX with WIN newLine symbol?
...
enter code here
I need the count of records of a data base table from unix.
I am calling one sql script from unix and need the record count to any log file .
...
For ex : from date : 10/02/2010
How to convert equal time stamp for 10/02/2010 00:00:00 in Perl
I cant use local time or time .. is there any other way to achieve this ..
...
Hi,
I need to extract a set number of lines from a file given the start line number and end line number.
How could I quickly do this under unix (it's actually Solaris so gnu flavour isn't available).
Thx
...
How would I go about reading a string from stdin and formatting as such to stdout?
For example:
If I receive someone's name:
John Doe 03 17
I want to create user name for him as such:
jd0317
Although it can change to for someone with a middle name:
Jane B. Doe 05 18
Then it would be:
jbd0518
I assume you would read the line and then...
I'm basically writing a ksh script that wraps over the dsjobs command to give my command-line-wary colleagues a simple interface from where they can view job logs, start/stop a job etc in case the clients at the Windows end crash (they often do).
I've pretty much finished the script except a snag: the stageinfo option in dsjob doesn't g...
I just wrote this backup script:
#!/usr/bin/bash
# the number of days to do the backup for.
days=5;
# the files to backup.
location[0]='/opt/aDirectory/'
location[1]='/extra/anotherDirectory/'
# the location to copy the file to
copyLocation='/users/JoeBlow/Backup/backup-'$(date | tr ' ' '-')
# Log stuff
mkdir $copyLocation
echo "mad...
I'm trying to fork 3 different child processes from a parent (and running this on a UNIX box), and I want to have this requirement :
The parent must wait till all the 3 children processes have finished executing.
I'm using wait for the same .. Here's the code snippet :
#include <unistd.h>
#include <sys/signal.h>
#include <sys/types.h>...