0
votes
2answers
84 views

I'm on Windows. How to get time of a remote linux host [closed]

I'm trying to find a Windows command that retrieves the current time of a remote Linux\UNIX host. I know I can use ssh but I'd like to know for alternatives that do not require user and password. ...
1
vote
2answers
54 views

How do I show listening open ports from the shell?

I always have to google this and ServerFault is never the first result. Typically I want to do this on a unix box, but I'd also like to know how to do it on a Windows machine from CMD.exe.
1
vote
1answer
38 views

Windows process management tools

Unix has tools like upstart, angel, god, etc to keep processes running constantly on system start and can restart processes that have failed. Does windows have the ability to do this natively?
0
votes
0answers
121 views

Custom certificate/key pair does not work on OpenVPN clients

I have setup very basic OpenVPN network on Windows Server 2008. My clients are IP Cameras having Unix OS and built-in feature of openVPN connectivity. Initially I used a common client certificate/key ...
0
votes
1answer
946 views

SFTP without password prompt (from linux to windows)

I'm using freeFTPd as a sftp server on windows machine. From my linux machine(ubuntu) I want to do a SFTP from to windows and i want to bypass entering password as i'm trying to do this with scripts. ...
1
vote
2answers
487 views

Is it possible to export Windows event logs from multiple servers to a non-windows host, without running event manager on each of the Windows servers?

I want to export event logs from Windows to a non-Windows host. I was considering using Logstash, but that would seem to require that I install and run Logstash on each server. Is it possible to do ...
1
vote
2answers
100 views

Resolving hosts on Unix and Window

Any Unix program (command) to connect to a domain uses a method 'gethostbyname' from RESOLVER. First thing what this method does is reading /etc/nsswitch.conf Where it finds a line: 'hosts: files ...
0
votes
0answers
274 views

Troubleshoot telnet connection from Windows 7 to UNIX

I am trying to connect to an Asterisk server in USA. I am using telnet < IP Address > 5038 from India to USA. The person in USA is able to telnet to the IP address and port from USA , but I am ...
0
votes
2answers
239 views

ssh + along delay after typing the password between win to linux

I installed two Linux machines with Linux version - 5.5.1.0-01 Something is very strange if I perform ssh between Linux to Linux after I type the password I get the prompt of the second Linux machine ...
5
votes
3answers
1k views

What equivalent technologies to Microsoft's forthcoming ReFS exist for Linux/Unix?

With the announcement and write-up of ReFS (Resilient File System) on places like arstechnica, I am curious to know what technology, or technology stack, exists for Linux/Unix for a similar outcome. ...
2
votes
2answers
333 views

Executing a Telnet command in an ssh command

I want have a Telnet command inside the ssh command for executing the Telnet command at the remote machine (172.202.230.22). I tried with the command ssh Administrator@172.202.230.22 telnet ...
0
votes
1answer
93 views

How to convert text file from Windows line breaks to Unix ones on Windows? [duplicate]

Possible Duplicate: How to convert text file from Windows line breaks to Unix ones on Unix/Linux? Basically the same question as How to convert text file from Windows line breaks to Unix ...
0
votes
0answers
78 views

Windows 2008 Server remote install

I have an unmanaged unix box setup in a datacenter. I need to install Windows Server 2008 from my ISO I uploaded to another server. I have no idea what I'm doing. Can I partition part of the drive ...
0
votes
1answer
182 views

import configuration file when batch start ? (OS=Windows)

I write batch file and it has a large number of variable so i decided to put all variable on text file (conf.txt) and import it at the beginning of batch file so please i need the command line do this ...
0
votes
2answers
562 views

Which DHCP clients use which options?

I would like to use my DHCP server to give information about some local services like ntp, using DHCP options as explained in the dhcp-options(5) manpage. Does anyone here know, or is there a good ...
1
vote
4answers
2k views

Which common charecters are illegal in Unix AND WIndows filesystems?

Hi I am looking for a character in Unix and Windows filesystems that is not allowed in file and directory names and I was wondering if there is such a character (I have noticed that * and % are ...
0
votes
3answers
344 views

Accessing large log files on a unix machine with textpad

I'm interested to access large log files on a unix server with textpad. (textpad for history reasons, i personally prefer ofcourse less awk grep etc) but I have many personal who rather be using ...
0
votes
4answers
730 views

best opensource firewall

We implemented Untangle opensource firewall on our network and interested to know various other firewalls with GUI interface. Can someone suggest which are the best opensource firewall implemented. I ...
0
votes
5answers
188 views

Virtual Machine for software renting service

I am currently trying to figure out which solution would be best for software renting service (with proper licensing and stuff). I know its kinda stupid and so on, but I just have to develop it. Long ...
0
votes
5answers
145 views

6 servers only 2 ups

i have 6 servers - 2 unix and 4 wins. Connected 2 ups on 2 servers with com port. Is there any way to connect other 4 servers that if electricity go down all 6 servers will go down with other 2 same ...
0
votes
4answers
512 views

how i can make batch file in windows read the output of somthing from unix bash file?

i want to make incremntal backup for repository by the following command :- svnadmin dump myrepos --revision 1001:2000 --incremental > dumpfile2 but i want to copy the output on windows box as ...
0
votes
2answers
809 views

Passwordless ssh from Windows to Linux to run scripts from command prompt

What am trying here is ..... I Have some scripts that needs to run in Windows Command (command.exe) and not from Cygwin. The scripts needs to access a specific Linux machine from Windows command ...
5
votes
1answer
151 views

Crazy idea: Identify if system is idle when it's a black box

I need to be able to tell if a series of servers have anyone active on them, and if not then to automatically shut them down (turn off the VM). It's not a trivial task, because I have 1000+ server ...
0
votes
2answers
143 views

store the last part path of file in variable?

store the last part path of file in variable? i have path for example :- $1=/path1/path2/path3 i want to store path3 in variable x=path3 how i can do it in :- 1-windows 2-unix
0
votes
2answers
4k views

transfer file from unix to windows? [closed]

i want to transfer file from unix server to windows 2003 server i download copssh on windows 2003 and openssh is already installed in unix ... i execute the following command :- scp -r /file_in_unix/ ...
3
votes
1answer
729 views

how i can pass a file directory (path) as parameter?

how i can pass a file directory (path) as parameter to batch file in windows operating system bash file in unix operating system
2
votes
3answers
822 views

Get the return value of bat file in Windows in Unix?

I have the following case :- I write a batch file bbb in Windows 2003 and put a return value = 3 by exit /b 3 then I execute this batch file from Unix by this command :- ssh -l admin host 'cmd /c ...
2
votes
4answers
955 views

Automatic deployment and configuration for Windows servers

I'm an experienced UNIX and Linux sysadmin who is about to start working for a mixed UNIX/Windows shop. I've been deploying servers automatically using tools like Puppet, Chef, FAI, etc. I haven't ...
0
votes
1answer
2k views

Can i automate a script to get EMC grab reports from different servers

Here is my issue, we have 170 unix servers , 80 ESX servers and many Windows (2003/2008)s pread across 3 EMC Clariions and 2 VMAX in which I want to perform host grabs on all the servers prior to ...
0
votes
2answers
1k views

Copying windows shared folder files on unix into Unix

I am on a unix box with Sun OS 5.0. Now I have a shared folder on a Windows server on my LAN. I have some files on Windows to be copied into my unix by running a script on unix itself. So windows box ...
0
votes
1answer
229 views

Tool for Copying windows shared folder files on unix into Unix

I am on a unix box with Sun OS 5.0. Now I have a shared folder on a Windows server on my LAN. I have some files on Windows to be copied into my unix by running a script on unix itself. So windows box ...
0
votes
1answer
235 views

Script to replace user permissions?

I am moving resources from Mac and Unix boxes onto our windows storage server. I need to replicate permissions from Mac and Unix using the users active directory equivalent. So: File A On Location A ...
11
votes
5answers
3k views

What are the practical differences between Interix and Cygwin?

Both Interix and Cygwin appear to provide a Unix-like user environment in Windows. What are the practical differences between the two, in terms of, for example: Unix-like "feel" Performance Package ...
2
votes
2answers
2k views

How to make Batch-file automatically stop on error

Do anyone knows if there is a Windows Batch-file equivalent to Unix Stop on Error "#!/bin/sh -e"? (shell-error-handling@turnkeylinux.org)
1
vote
1answer
703 views

Which filename encoding should I use to be compatible with Windows, Mac and Linux

I'm using a Linux server as fileshare. These files are accessed by Windows computers with a Samba server, accessed by Macs with a netatalk server (afpd) and also trough ssh an sftp for Windows, Macs ...
2
votes
4answers
465 views

finger for Windows

Ok probably a bit of an odd question, but is there a way to enable "finger" like functionality on a Windows network? we'd basically like the ability to find out where a user is logged in on a network ...
1
vote
4answers
2k views

What actual or de-facto alternatives to WMI exist for Linux and Unix?

I've recently been introduced to WMI, and find it really cool. Maybe my brain's just not in gear, but what similar tools exist for *nix like WMI?
1
vote
2answers
195 views

Unicode versions of common UNIX text tools to run on Windows

I can't afford the MKS toolkit (also think its a bit overkill for my needs). So I was wondering is anyone knew of the standard set of unix text tools but that can handle unicode files under Windows. ...
1
vote
2answers
724 views

Sync a folder on a remote UNIX server from Windows with rsync

I am trying to sync the contents of a directory on my Windos machine with a UNIX server. I have spent a long while reading the rsync documentation and have come up with the following command: rsync ...
1
vote
3answers
1k views

Is it possible to get Samba automatically convert linebreaks in files from dos to unix?

I have a shared over samba directory which i access from my windows development box. Problem is that when i create and edit files they are saved with dos linebreaks. Is there any way to configure ...
9
votes
4answers
179 views

Books or Webpages on the Windows Philosophy

For *nix, I found that Eric Raymond's The Art Of Unix Programming expressed the ideas behind the Unix philosophy pretty well. The whole book is online, I recommend this chapter to see what I am ...
2
votes
7answers
541 views

Windows cron jobs

Does Windows have an alternative to cron jobs? I'd like to schedule a task to run every morning at 6. EDIT: I want to do it on the command line for use in a batch script.
5
votes
6answers
365 views

Does Windows have symlinks?

I have been doing something on Unix that required a symlink. I want to port my application to Windows. Does Windows have symlinks? EDIT: I should be more specific. I'd prefer XP. I'll install Vista ...
5
votes
7answers
7k views

Should I use a login banner and if so, what should it say?

Are interactive login banners worth having? The general consensus is that they are, but what should the banner say? Some things that are being considered (no particular order): ownership of the ...
3
votes
6answers
238 views

Is there a Windows equivilant to the Unix/Linux which statement?

The Unix which statement is very useful in determening which path is used for program run from the command line, and it would be very helpful to have something similar in windows.
7
votes
5answers
322 views

Failed line of communication… rebooting for morons?

I work at a large corporation where we use many legacy systems. To note some of the systems: HP-UX 10.20, Windows 2000, VMEBus systems, systems designed 30+ years ago that do not communicate via ...
27
votes
4answers
22k views

How to convert text file from Windows line breaks to Unix ones on Unix/Linux?

Is there a quick way to convert text file from Unix line breaks to Windows ones in Unix environment? I thought there could be a standard utility.