Free Linux like "tail -f" for Windows [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there alternative to hoo-wintail (costs $49.95) for Windows, which can color specific lines according to pattern in monitored file.
Thanks

I found two options:
BareTail
Tail for Win32
Neither of them uses Cygwin. BareTail apparently has an annoying startup screen. Tail for Win32 is completely free, and open source.

multitail acts like tail -f on multiple files at a time, and it will color lines according to the file type. It's available in Windows as part of Cygwin, which will cost you $0.

Text utilities from gnuwin32 contains tail.
This distribution is a zip file, you can only use tail.exe from this zip.
http://gnuwin32.sourceforge.net/packages/coreutils.htm
It has a dependency. (dep is dependency,bin is actual distribution) Download both of them,extract. Copy
libiconv2.dll
libintl3.dll
from dep to same directory as tail.exe
http://sourceforge.net/projects/gnuwin32/files/coreutils/5.3.0/coreutils-5.3.0-dep.zip/download
http://sourceforge.net/projects/gnuwin32/files/coreutils/5.3.0/coreutils-5.3.0-bin.zip/download
Then tail.exe works normally. But as you say in comments it gives error for "tail -f filename"
Interesting thing is: If you install using their setup package
http://gnuwin32.sourceforge.net/downlinks/coreutils.php.
This error does not exist. But I saw same error when I was trying to use from zip distribution only.

Have you tried this?
"A Windows version of the UNIX 'tail' command. Includes features such as pager or SMTP notification of specific items found within the files being monitored"
http://sourceforge.net/projects/tailforwin32/
HTH

I can recommend LogExpert an other alternatives

Free version of Kiwi Syslog Viewer will do the job.
It has a tail function, and will open very large files quickly and easily.

Related

Sealing Data using TPM In Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'd like to perform a TPM Seal operation in windows. I'm familiar with C++ programming but have no idea what libraries I'd even use.
I'm currently stuck with the following two questions:
Can I perform this action using e.g. WMI and a powershell script? This http://msdn.microsoft.com/en-us/library/windows/desktop/aa446799(v=vs.85).aspx indicates that I can use TBS To Submit a Command, but I don't have the faintest how I would set up the parameters in e.g. WMI.
Can I use the tbs.h/tbs.lib from the Windows 7 SDK to perform a TPM_Seal operation?
Is there a TSS API Like http://trousers.sourceforge.net/ where I can call this from some C++ Code?
The method through which I do this is not a big deal, but I am using TPM 1.2 on windows, and all of my clients are windows.
You can use TPM Base Sevices for sending commands to the TPM. So you need to assemble the commands yourself.
The TPM commands, structures and flows are defined in 3 documents:
Part 1 - Design Principles
Part 2 - Structures of the TPM
Part 3 - Commands
First you need to figure out which command you want to send. Then you have to lookup the command's reference in Part 3 and assembled the needed structures as described in Part 2.
The TPM_seal command for example is defined in section 10.1 on page 72 of Part 3. Line 1331 shows you how the command has to look like. After issuing the command you can evaluate the returned structure according to line 1332. (All numbers apply to revision 116.)
This can be really tricky. However, you can have a look at other implementations. If you just need a few commands it's not that hard, especially when you can be sure that some cornercases don't happen.
I would suggest you start looking at IBM's software TPM. This project also provides libtpm and some utilities. This is one of the lighter implementations I know.
You can also try whether TrouSerS for Windows is stable enough to fit your needs. There you would have a highlevel TSS API.
If Java is an option, have a look at jTSS. It supports Windows.
I was able to do this without much issue with JTSS. There is an example # https://security.stackexchange.com/questions/60841/encrypting-a-symmetric-key-or-small-file-using-tpm-and-windows-tbs

How to improve one's bash/command-line skills? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Unfortunately I come from the Windows world and quite a newbie to Linux. I see people who are really productive due to their skills with BASH. Any pointers, tutorials, bools or suggestions to improve one's command-line skills? Something like http://www.commandlinefu.com/.
Check out superuser.stackexchange too, lots of good stuff there!
This is what I reference at least a few times a week:
Advanced Bash-Scripting Guide
And here is an actual List of Bash online-tutorials!
I would also like to emphasize what #serk's answer says:
Remove your GUI and you'll be forced to do everything via BASH
This is Very good advice! (and a well earned competing answer +1 vote ;)
In /etc/inittab change the runlevel to 3 from 5 and consequently you have to learn the shell because runlevel 3 means no GUI at all!
Remove your GUI and you'll be forced to do everything via BASH. That will force you to do the same tasks via the command line that you would have normally done via the GUI.
In addition to what's already been listed you can run man <command> to give you the "manual page" for a particular program. These are usually pretty good.
Many people you likely work with have customized bash and tools like vim/emacs to varying degrees. To see how people have customized things, you can go to their home directories and check out their "dot" files. "dot" files are hidden so to view them you'll have to run:
ls -a
Standard "dot" files/directories:
.bashrc
.bash_profile
.vimrc
.screenrc
.inputrc
Common dot file names:
.alias(es)
.function(s)
People sometimes also write common scripts and put them in bin or scripts directories.
You can learn a TON of stuff by checking out what others have done.
If you are just checking out linux on your own, you can look for these types of files online.
Since you're coming from windows, you may be using cygwin. If so, you can check out C:\cygwin\bin and C:\cygwin\usr\sbin for typical bash programs. You can also use cygwin on windows in general to allow you to continue to use bash when using your windows computer.

Can you recommend a good SSH syncing utility? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can you recommend a good SSH file sync utility for Windows? For example, I have some C++ sources that I need to compile remotely. I need this utility to be simple and most of all responsive, so I can compile my sources instantly after saving, without having to wait for the sync to be triggered.
WinSCP supports synchronization from both gui and command line.
Use rsync. See this. There is even an instruction to set automatic backup.
for source-code, you could use something like git or subversion, paired with an ssh-connection using port-forwarding.
in all cases you would need to trigger the sync yourself except you have a tool that watches the directory you're working on.
try this, SSHSync for windows
http://code.google.com/p/sshsync/
A command line applications that allows intelligent Secure FTP transmissions. SshSync only support pull type transfers, but it allows use of a Private Key to ensure that authentication is secure. A text file that contains a list of files always processed is used to check that only 'new' files are retrieved.
Sounds like a job for a Continuous Integration tool.
install cygwin and use rsync over ssh.
It seems to me that one way to solve your problem would be to simply use a network drive. Edit your files from the network drive, and whenever you save, any other systems connected to that drive can also access your changes, including your build server. That's what we do at my office — everyone's home directories are on NFS/CIFS shares, so we edit on our local computers, but run a script to trigger a build on any of several build servers, even multiple platforms at once. We don't have to sync anything before being allowed to compile our latest changes.

What's a Windows text editor that matches this criteria [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
My Situation: I love e editor, however I'm on a new computer and my license is being used on my old one. I can't exactly afford another license, so I'm looking for a free editor that meets the follow criteria:
Decent syntax highlighting
Ability to view a directory and its contents on the side panel, without the need to create it as a 'project' (Very Important)
Easily themable (I like dark themes)
Tabs
Also would be nice:
S/FTP support
Code snippets/bundles
Multi-line editing
And is not (Simply listed because they're common suggestions, but I've tried and not found them to meet my criteria):
Vim/Emacs
Notepad++
Crimson/Emerald Editor
Programmer's Notepad
Wordpad/Notepad :P
Thanks. Oh, and as a reference, here's a picture of my current setup: Link
Edit: Thanks all to those who suggested. All 3 (JEdit, Cream, and PsPad) are solid candidates for anyone looking at this thread.
You're willing to spend all this time and effort asking about and evaluating other editors which will almost certainly not have all the features you want, yet you can't shell out $35 for another licence?
When I'm making decisions like this, I always value my time at $100/hour so if this were going to take me more than 20 minutes, I'd just buy another licence.
Time is the one commodity you can't recover; you can always make more money...
You may scoff at this, but Cream is a very un-Vimlike offshoot of Vim. Here is an article written specifically for Textmate (and e) fans who want to try it.
jedit. I believe that it does everything on your wishlist.
PsPad. Excellent free text code editor.
Also does FTP site based editing as if it was in a local folder. very handy.
When you register e, the license is bound to you, and not to one specific computer. This means that you can use you license on as many computers as you like. There is also no limit on platforms, so it will also be valid on future versions for Linux or any other OS.
http://e-texteditor.com/blog/2007/licensing
There's no need to buy another license!
Pick your poison here: http://en.wikipedia.org/wiki/Comparison_of_text_editors
I would like to recommand Gedit. There was Windows version.
I haven't ever used Mac but I think Textmate must be the best text editor. When I'm on Windows, I really like e-Text editor. But later, I have to move on to Linux(Ubuntu) for an requirement. I searched for Textmate/e-Text editor like text editor for Linux.
I found out, Gedit is not a bad one. Here is my Gedit...
By your requirement, Gedit already have a decent syntax highlighting and Tab. Didn't have Project pane but Document List and File Browser combination is not bad, I think.
Easily themable? Gedit haven't many ready made themes. But you can easily create your own themes by creating xml color schemes base on default themes (In ubuntu 8.04, default themes directory is /usr/share/gtksourceview-2.0/styles).
As for me, Embedded terminal, Word completion and Code snippets are also important. Gedit have plenty of useful plugins for those feature.
There were many customization tutorial for Gedit. You may need to spent your time on customization. :)
try Komodo edit, its free and can do the things you mentioned afaik.
http://activestate.com/Products/komodo_ide/komodo_edit.mhtml
The sidebar folder feature is called "live folders, and its on the right side bar. It also has vi emulation, dark themes, tabs, sftp support etc..
You also might want to take a look at EditPlus.
The e text editor license is per user not per machine. So, you don't need to buy another license to use it on a different machine, just copy the license.

better command for Windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
While I grew up using MSWindows, I transitioned to my much-loved Mac years ago. I don't want to start a flame war here on operating systems. I do, however, want a terminal a litle closer to what I'm used to.
I'm not asking for full POSIX support - I don't have the patience to install Cygwin - but I miss tabbed terminals, being able to easily cut and paste, and my good friends ls, mkdir, rm, et al. (For these last ones, I could always put .bat files on my path, but that's going to get old fast.)
Anybody have a terminal application for MSWindows XP ?
I'm using powershell, its awesome to keep you from going crazy, and it has rm and mkdir and ls.
Tabbed terminals is still not in powershell, and copy paste is similar to cmd, but its way better than cmd.exe.
Some more options:
MSYS: a Minimal SYStem providing a POSIX compatible Bourne shell environment, with a small collection of UNIX command line tools. Primarily developed as a means to execute the configure scripts and Makefiles used to build Open Source software, but also useful as a general purpose command line interface to replace Windows cmd.exe.
GNU utilities for Win32: ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools.
PowerCmd is great, with a ton of features including tabs, cut/copy/past, etc.
Console is also a great replacement and is a bit more stripped down than PowerCmd (which can sometimes be a little too feature rich.
Also, with both of these, if you have powershell installed, it is possible to run powershell from withing either.
If you are a bit of a Pythonista then iPython is tough to beat. It has some of the more common shell commands coded in (i.e. ls, pwd, cd etc.), can also run any other shell command by prefixing with '!' (i.e. !latex file.tex) but also is a full Python shell with history, tab-complete, multiline editor support, logging etc. etc.
Moreover, you can install iPython back on your UNIX boxes as well as Windows meaning your environment can follow wherever you go.
There is a new-ish open source Console Emulator called cmder. It looks really nice and has some advanced features that make it nicer to use. You can also use powershell with it. Best of all, it's portable!
I've never found anything I like more than Cygwin.
I also went ahead and installed Cygwin/X w/ Openbox so I can get something like this:
It's got multiple workspaces inside the main Openbox window so I can easily have up to 20 non-overlapping xterms that I can easily cycle through.
I know you said you don't want to install anything, but I strongly suggest you give Services For Unix a shot:
http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx
I use Console with unxutils
Console for the tabs and easier to manage select/copy/paste
unxutils for ls, rm, grep, uniq, sort ... and other goodness.
PowerShell is amazing, however for anything other than the most basic commands there is a learning curve when switching from bash etc.
I went back to using cygwin.
PowerShell is worth looking into.

Resources