|
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.
Started by alexeit on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
And such (or don't have unix2dos installed):
tr -d '\r' < infile > outfile to go from Windows -> Unix
awk 'sub("$", "\r")' unixfile.txt > winfile.txt to go from Unix -> Windows as tr can not go from Unix to Windows....
|
|
I want to know what is actual difference between Unix and Linux.
Do they share a same kernel ? Is Linux built over Unix Can programs written for Linux work over Unix and vice versa
Started by Xinus on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at superuser):
So no, Linux and commercial Unix don't runs on all versions....
One was Linux , which is a clone, written to act like Unix recovered from the delay, at least, not in terms of popularity.
Of "free Unix" emerged in the 1990's.
|
|
What are the most useful resources for a DB2 DBA working on Unix or Linux?
Books Web sites Tools etc.
Started by Kevin Beck on
, 11 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
Index.jsp
If you need UNIX implementation-specific syntax the Rosetta Stone for UNIX is handy: http.
|
Ask your Facebook Friends
|
In unix/linux how to you find out what group a given user is in via command line?
Started by Alex Argo on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Groups
or
groups user
This one shows all the groups they belong to
id userid
or just study /etc/groups (ok this does probably not work if it uses pam with ldap) .
|
|
What is the best command line you use or you have ever seen in Unix/Linux shell ?
Started by Nadir SOUALEM on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at superuser):
Locate is quite usefull
Another one not to run without care:
:(... .
Kinda hard to accomplish anything if I can't see what I'm working on .
Well, if we go by usage, mine would have to be ls .
Kill -9 -1 beats everything...
I like sl from the sl package.
|
|
What is the difference between Linux and Unix ?
And what exactly is AIX ?
Come up with a comparison of these operating systems.
Started by Sachin Chourasiya on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
As a result, ....
AIX is a proprietary operating system made system.
Linus developed a clean-room implementation of UNIX called Linux sometime around 1991, I believe: Linux is a free, open source OS inspired greatly by Unix.
|
|
Derived from this question :
If opensolaris, freebsd, openbsd, netbsd are not UNIX, what is then?
What confuses me more, is the fact OSX1.5+ is UNIX, while prior version of OSX weren't
What is the difference between UNIX and UNIX-like?
And what is the...
Started by Oscar Reyes on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at superuser):
On Linux :
A Linux-based system in ....
It was a closed-source OS, so many people cloned it's functionality to create UNIX-Like OS's like BSD and Linux is possible as to whether or not a certain OS is "Unix-like".
|
|
Is it useful for a Unix admin to use Linux on his work computer?
The situation is that, a new young Unix admin with little to no experience is accepted to work. Is it useful for his supervisor to force him to use Linux on his work computer instead of ...
Started by Kz. on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at serverfault):
You can always use the command line remotely opening a terminal in your a unix desktop....
If he's really displaying a lack of engagement with the unix-isms underlying Linux administering Linux/Unix servers.
For the position.
|
|
In Windows environment there is an API to obtain the path which is running a process. Is there something similar in Unix / Linux?
Or is there some other way to do that in these environments?
Started by lsalamon on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
So you could use getpid() to get the pid, so it is not 100% reliable .
Wall -Werror -g -ansi -pedantic process_path.c -oprocess_path
In unix/linux, you can use the ps to it
In Linux every process has its own folder in /proc.
|
|
Assume a legacy Linux application listening on a UNIX domain socket /tmp/foo .
In addition to communicating with this legacy application over the UNIX domain socket mechanism I want to be able to connect to it via a TCP-connection on port say 1234.
What...
Started by knorv on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Easiest to the Unix domain socket /....
Turns out socat can be used to achieve this:
socat TCP-LISTEN:1234,reuseaddr,fork UNIX-CLIENT:/tmp,range=127.0.0.0/8 UNIX-CLIENT:/tmp/foo
These examples have been tested and work as expected.
|