From my friend:
Linux is a kernel in Unix, so yes both ways.
Others have already said it, but here are a few more facts to show you that your friend is just full of it.
Linux is not a kernel in Unix,
Linux is a kernel in GNU. GNU is is one of those ubiquitous acronyms. It stands for
GNU's
Not
Unix. GNU is a project started by Richard Stallman in 1983 to write a Unix workalike OS that was free of Unix code. The project made a lot of progress, but was not able to go live until 1991 when Linux Torvalds wrote the Linux kernel.
Read and be wise.
UNIX is a bit older. The name is now a registered trademark of
The Open Group. The two Unix flavors, AT&T and BSD, along with IBM's AIX have been unified into the Single UNIX Specification. Since
MacOS X 10.5, MacOS X has been certified UNIX 03. Other developers who have certified UNIX 03 operating systems available are Hewlett-Packard, IBM, Oracle (Solaris), and Fujitsu (also Solaris).
Microsoft has been involved with Unix since the 1970s when it licensed
Xenix from AT&T. Microsoft Xenix on the Radio Shack TRS-80 Model 12 was for a time the most popular Unix in the world. Today, Microsoft continues to support Unix.
Interix is an optional full-featured POSIX/Unix environment for Windows NT-based systems. It runs on top of the Windows kernel as part of Windows Server 2008 and Windows 7
SUA (Subsystem for Unix-based Applications).
Windows has nothing to do with Linux. Windows NT is not based on Unix or a Unix-workalike. Windows NT is POSIX-compliant and OS/2-based. Microsoft split from IBM over disagreements about OS/2. It ported the Windows APIs to the OS/2 kernel. OS/2 was the work primarily of a group of former developers from Digital Equipment Corporation (DEC) lead by Dave Cutler (also from DEC). Their work was heavily influenced by their experience with DEC's VMS and RSX-11.
I almost forgot. Apple developed a distribution of Linux, more as an experiment than anything else. However, it is available. Apple's
mkLinux ported Linux to the Mach microkernel. It is available
here.
Having worked with Linux, Apple chose UNIX. Furthermore, Apple has since doubled-down on UNIX. It is now taken custody and purchased essential UNIX technologies such as
CUPS.
There is some cross-pollination between Linux and UNIX.
CUPS and
GCC are two obvious examples. However, the notion that UNIX will migrate to Linux is a pure fantasy.