Search Results

Search: Posts Made By: spynappels
2,105
Posted By spynappels
Ok, let me check a few details with you. ...
Ok, let me check a few details with you.

XXX, YYY and ZZZ will always be IP addresses, right? You want to map how long it took to copy files from specific remote servers (xxx,yyy) but not others...
2,105
Posted By spynappels
Can you provide some sample data to work with? If...
Can you provide some sample data to work with? If we can see the format the date is in, it becomes easier to see how to accomplish what you are looking for.

A sample of what you want the finished...
8,065
Posted By spynappels
I would suggest you learn about using the Bash...
I would suggest you learn about using the Bash (or other) shell on Ubuntu first like previously suggested, much of what you learn will transfer to any Unix-based OS which also has the Bash shell...
Forum: Ubuntu 10-08-2012
10,149
Posted By spynappels
I know I'm late with this, but on an Ubuntu...
I know I'm late with this, but on an Ubuntu Client, you have the option of using
ssh-copy-id name@remote-server
which copies the key for the user on the client to the authorized keys file of the...
Forum: Ubuntu 10-08-2012
8,149
Posted By spynappels
For Ubuntu Server Edition, the Apress series of...
For Ubuntu Server Edition, the Apress series of books by Sander van Vugt are pretty good, I'm not sure if they have been updated for 12.04 LTS, but the previous versions are very good and probably a...
2,049
Posted By spynappels
I guess from your description that there will...
I guess from your description that there will more than just a single entry in your actual log file? Could you post a larger extract from your log to work with?

Corona's solution will work for a...
2,719
Posted By spynappels
You need to be more specific in how they did not...
You need to be more specific in how they did not work. Did you get error messages? What was the output if any?
4,740
Posted By spynappels
Either way shown will work, you just need to...
Either way shown will work, you just need to redirect the output to a file using >> filename, so for example:

for i in /ersdg3/ERS/ERS_INPUT_LOGS/RIO/LOGS/RIO_02-Aug-2012/*.LOG
do
wc -l $i |...
4,740
Posted By spynappels
Have you tried RudiC's solution?
Have you tried RudiC's solution?
Forum: Solaris 08-03-2012
10,108
Posted By spynappels
on Solaris, you can background a command with the...
on Solaris, you can background a command with the & at the end, but you should also nohup it like this:

nohup <<command>> &

Screen is a very nice utility too, very helpful.
2,719
Posted By spynappels
You could get a list of the files with a specific...
You could get a list of the files with a specific datenumber sequence by using something like the below:

for file in $(ls | nawk -F"_" 'substr($NF,1,8) == "20120420"') ; do
mv $file...
2,484
Posted By spynappels
I would agree that (n)awk is a more elegant...
I would agree that (n)awk is a more elegant solution.
Forum: Ubuntu 08-02-2012
2,475
Posted By spynappels
Ok, sorry for being a bit stupid, but are you...
Ok, sorry for being a bit stupid, but are you trying to connect TO an Ubuntu Desktop 12.04 node FROM another node using a SSH client on the other node?

I will presume that OpenSSH Server has been...
1,972
Posted By spynappels
Try setting the permissions on the...
Try setting the permissions on the authorized_keys file to 0600 instead. That is the recommended permissions for that file.
Forum: Ubuntu 08-02-2012
2,475
Posted By spynappels
Can you please give some more information? ...
Can you please give some more information?

Ubuntu Server or Desktop?

Console or SSH login?

CLI or GUI login?

I have seen this before and it has to do with the way it tries to do DNS...
Forum: IP Networking 07-20-2012
17,009
Posted By spynappels
What is your exact tcpdump syntax? what format...
What is your exact tcpdump syntax? what format are you capturing in?

You could try capturing to pcap file using tshark, and seeing if tcpreplay will replay the file.
Forum: IP Networking 07-09-2012
12,641
Posted By spynappels
Ok, that sounds very much like there is a saved...
Ok, that sounds very much like there is a saved session there.Do you not use the PuTTY GUI at all?

I suspect that instead of running
putty.exe <serverA>
you ran
plink <serverA> "hostname"
you...
13,805
Posted By spynappels
Please don't cross post the same question across...
Please don't cross post the same question across multiple forums, it dilutes effort.
11,619
Posted By spynappels
I think the first thing you should do is set up...
I think the first thing you should do is set up key based authentication, so you do not need to enter the password every time you log in to a server. As you are looking for a script solution rather...
2,173
Posted By spynappels
Or you could use double equals signs (==). ...
Or you could use double equals signs (==).

Here is a useful if reference for Bash, should be good for other shells too.
Introduction to if...
15,389
Posted By spynappels
Do you transfer the file from a Windows box to a...
Do you transfer the file from a Windows box to a Unix box using WinSCP? It does some funky stuff changing DOS format to unix format. I noticed this when using pscp, and scripts were failing because...
10
3,558
Posted By spynappels
The expression date -d @<seconds-since-epoch>...
The expression date -d @<seconds-since-epoch> converts the seconds-since-epoch value to human readable date.
In the Bash shell its not a variable.;)
10
3,558
Posted By spynappels
How about a variation of the following? ...
How about a variation of the following?

var=$(date --date=20120305 +%s)

var=$(($var-86400))

date -d @$var +%Y%m%d

Substitute the first date with a variable from elsewhere in the script...
Forum: IP Networking 07-06-2012
12,641
Posted By spynappels
Can you clarify how you connect through PuTTY...
Can you clarify how you connect through PuTTY though? Do you use a saved session with additional default commands executed on ServerA on login?

---------- Post updated at 04:22 PM ----------...
Forum: Open Source 07-06-2012
262,436
Posted By spynappels
Ubuntu here, as it's what I started using....
Ubuntu here, as it's what I started using. Although I've worked on Debian and CentOS servers a lot too, but for the desktop, definitely Ubuntu.

I really like and get on well with Unity too,...
Showing results 1 to 25 of 82

 
All times are GMT -4. The time now is 04:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy