Question:
UNIX and, or LINUX help?
Rick James Pop
2010-09-25 21:04:52 UTC
I have a good knowledge of commands in most languages, but I know nothing about UNIX or LINUX. Where do you insert the commands? Is it only compatible with Linux? I'm really lost...
Six answers:
JPT
2010-09-25 21:09:32 UTC
It would be helpful if I knew the question.





http://www.linux.org/lessons/beginner/index.html
arriola
2016-11-16 13:30:15 UTC
Unix/Linux's purpose is to be a Open source working gadget which may be configured to precisely what's mandatory of it. case in point, you could configure it to run as a Server, a laptop, Print Station, and extra. numerous the Open source utility is likewise loose and broadly accessible, generally for the only purpose of recuperating the distributions of Unix/Linux as an entire, and to furnish in basic terms as a lot overall performance, if not extra performance, than a number of the living house windows and Mac structures accessible. it is likewise a heck of a lot much less complicated to get carry of 600 copies of a loose utility gadget, then to pay Apple or Microsoft for 6 hundred Keys of an working gadget. As to your type, while you're interpreting to be in touch into the computing device international, you will at last come throughout a gadget with Unix/Linux, and the understanding to troubleshoot this way of gadget is going an prolonged way including your employers. you additionally can ought to restoration a shopper's gadget that runs Unix/Linux. Cheers.
?
2010-09-25 21:17:07 UTC
Unix and Linux are operating systems, not programming languages. There are various ways to run programs in these systems, either in a shell, or in some GUI environment.
2010-09-25 22:22:10 UTC
type ctrl + alt + (F1 -> Fwhatever), and it will probably change to your first TTY. from here you need to log in, then you can use the shell using commands like



cd (directory): change directory

pwd: print the current directory

ls (directory): print the files in the directory



cp (file) (destination): copy a file from one place to another

mv (file) (destination): move or rename a file

rm (file): remove a file



those six are probably the most commonly used commands. you can also use a terminal emulator from Xorg. look for xterm, Terminal, rxvt or Konsole, they're the most common ones.
Ron Guilmet
2010-09-25 21:34:22 UTC
if you mean command line like the DOS prompt, in Linux it's either called the Terminal or Console



that's where you enter commands like 'ls' listing directories
koppe74
2010-09-27 06:11:32 UTC
Unix and Linux is operating-systems -- like Windows or OS X -- not a language per se. It's a platform for running applications (programs) on (like web-browsers, spreadsheets, databases). Of course there are some tools for handling the system (like moving around files), but first and foremost you run other programs (applications) on top of an operating system. Of course the programs must be made for the particular OS, you can't run a Windows program under Unix/Linux or vice-versa (at least not directly).



The different shells (bash, zsh, tcsh, pdksh, ...) -- the command interpreters -- comes with a built-in "programming language" to make so-called "shell scripts" (simple programs to do routine tasks or repeat an operation on multiple files/directories).



Apart from the shells, Unix/Linux comes with lots of commands and utilities for doing various things on your system:

Copying (cp), renaming/moving (mv) and deleting (rm) files

Creating (mkdir) and removing (rmdir) directories, and changing into them (cd)

Listing files in a directory (ls)

Listing processes (running programs) on the computer (ps, top)

Killing processes (kill)

Adding and deleting users and groups

Editing files (nano)

Installing/uninstalling programs

Finding files in directory-tree (find)

Find a string in a file (grep, egrep, fgrep)

Disk usage (df, du)

Compressing files (gzip, bzip2, compress)

Making archives (tar, cpio, ar, zip)



There are a number of commands -- filters -- that may do interesting things on text-files:

Number lines (nl)

Sort (sort)

Concatenate multiple files (cat)

Reverse a file (tac)

Replace characters (tr)

Cut-out columns (cut)

Merge two files (paste)

Find differences between two files (diff, comm)

Lines at beginning (head) or end (tail) of files

Write only screen-fulls (more, less)

Break to a certain width (fold)

Remove duplicate lines (uniq)

Split a file in pieces (split)

Count character, words and/or lines (wc)

In addition there are two "universal" filters, working on lines (sed) or columns (awk).



In addition, Unix/Linux usually comes with at least a C-compiler, and probably a C++-compiler and assembler too.



Unix and Linux also comes with servers for various Internet-services, like POP (mail), SMTP (mail), HTTP (web) and FTP (files).



There are also possible to run a graphical user interface -- X -- that looks a bit like Windows.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...