answersLogoWhite

0

Do Unix commands work in Linux?

Updated: 10/3/2023
User Avatar

Wiki User

14y ago

Best Answer

The ones that are listed as part of a standard (such as Posix) will work in all UNIX systems (but not all systems, such as Windows command prompt).

A lot of UNIX vendors add commands that only work in their version of UNIX, so they aren't as portable across systems as others.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Most of the basic command-line utilities have the same name and perform the same task. However, the command switches may be very different. You should always read the man page of any utility that you know you want to use switches with if you do not know of the differences between most Unix ones and the ones used in Linux.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Some will, some won't. Linux has enough differences from Unix that it would be very difficult to document which commands do not work, or work differently than they do on Unix.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Do Unix commands work in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why does Linux and unix share more commands than windows xp and unix?

Because Linux evolved from UNIX, but Windows evolved from DOS.


What are Unix commands?

Commands you use in a Unix based computer OS to achieve certain things. Similar to MS/DOS commands in Windows. Mostly used in computers running the Linux OS. unix command


How do you find out what DOS Commands are available in Linux?

There is none. For starters, you have it backwards, DOS actually copied most of its commands from Unix (The rest came from CP/M.), which Linux is inspired by. Commands like "cd" and "dir" were Unix commands long before DOS even existed.


Is the architecture of Linux based on DOS?

No. Linux is a free, open-source version of UNIX. Many of DOS's commands were based on UNIX commands, but the underlying operating system is much more powerful than DOS.


How do you find files in Linux and Unix?

Linux and Unix and their variants have several different ways of locating files. each of the below commands can be used to locate files.findlocatewheriswhich


Why most of the time you use Linux to execute Unix commands?

Because Linux is actually more popular in most fields these days than certified Unix.


Every unix and Linux system contains full documentation of unix commands in the pages?

Man (or manual) pages


Is UNIX based on Linux?

No, but Linux is based on Unix since Linux is a Unix clone.


Are Linux commands entered via the command line case sensitive?

Yes. Just about everything to do with Linux on the command line is case sensitive, including commands and file names.


Where can one find information on gettimeofday?

"gettimeofday" is a command used in Linux and Unix, thus not capitalized. If one wishes to find information on it, the person should look for a manual or a list of Linux/Unix commands with definitions.


What are the various mount table enteries in unix?

This can vary depending on the Unix/Linux distribution. Your best bet is to use the 'man mount' or 'info mount' commands.


WHY DO YOU THINK LINUX AND UNIX SHARE MORE COMMANDS THAN WINDOWS XP AND UNIX?

Because Linux was modeled after Unix, and designed to be a suitable free replacement. Windows is targeted at a slightly different market, and was primarily designed to be operated using a GUI, not the command line.