What do you mean by Commands in Linux environment?
Linux commands are commands entered into a Linux terminal (command line interface) and it performs accordingly. For example: if you entered 'pwd' into the terminal prompt and pressed ENTER it would return the current working directory be it /home or /etc
'ls' will list all files and directories the specified directory. If no directory is given, the current one will be used as default.
the best way to learn Linux commands is to try them out for yourself which you can via installing Linux or downloading a live Linux CD, booting into it and type in different commands (as a normal, non-root user -- root has all kinds of super-duper powers and can break things easily).
AnswerIn fact, the 'commands' are programs. They can be stored in different directories, usually:/bin
/usr/bin
/usr/sbin
For example, when you type 'date' into a command line, the program /bin/date is launched. Programs in Linux don't usually have .exe in name. This program prints current date on users screen.
Answerusually/usr/sbin
/usr/bin
just type:
which command
at the prompt where command is what you are searching for and the Linux style computer will tell you.
i.e. :
%which CD
returns:
CD: /usr/bin/CD /usr/share/man/man1/CD.1.gz
so it says that the command CD is at /usr/bin and the manual is at /usr/share/man/man1.
There are many different commands available in Linux. Some of the most basic are:
Which command would you use to change to the usr directory using an absolute pathname?
To change to the /usr directory using an absolute pathname, you would use the command cd /usr. This command specifies the full path to the usr directory from the root of the filesystem. Ensure you have the necessary permissions to access that directory.
What does the General Public License gpl allow you to do with Linux software?
As an end user, it allows you to do anything you want without restriction.
For people who redistribute, including end users who modify the kernel: It allows you to give it away or sell it to whoever you like so long as the source code is made available, including for your modifications. The GPL also places a few more restrictions on distributors to make sure they don't keep users from their freedoms.
What is the relationship between Microsoft and Linux?
Microsoft and Linux have no direct relationship. Microsoft has frequently attacked the reliability and cost effectiveness of Linux in order to promote their own Windows Server products. They do not release any software for Linux directly, but have made several "deals" with various commercial Linux vendors, such as Novell, Xandros, and Linspire, to license Windows media codecs.
What command line to heart beat stop and start in Linux system?
To stop heartbeat in Linux the command line will be
service Heartbeat stop
To start heartbeat in Linux the command line will be
service Heartbeat start
What is the root folder or root directory?
The Root folder and Root directory is the Main location for the Linux system. Only users with super user privileges can access the directory. ANY changes made successfully in the root directory will be system wide. its the quickest way to destroy the operating system!
What tool is used to perform automated installs of Red Hat Linux?
Kickstart is such a tool you can use to automate installations.
How do you install flash player to Firefox Linux?
For the most part, your distribution's package manager will have it available, assuming that it doesn't adhere to the "free [libre] software only" philosophy.
What is the difference between bsd and linux os?
Command set and command switches.
Both are based on the UNIX operating system, so they have the core of the operating system in common.
How has Linux evolved since it was first developed?
The first several years of Linux development were mostly revolutionary than evolutionary. In the first 5-10 years of Linux, new big features were being implemented every year. Now Linux is extremely mature, and is improved upon little by little as new devices are created, and new protocols are accepted.
Below are links that describe the history of Linux!
.blogspot.com/2005/11/complete-concise-history-of-gnulinux.HTML
https://netfiles.uiuc.edu/rhasan/Linux/#In%20The%20Beginning
http://vodpod.com/watch/46377-revolution-OS-1hr-25-mins
no spyware, virus free and it won't slow down as much a windows does when you have used it for a period of time. It amazes me that young kids who just myspace, email and browse the web do not take Linux seriously. They are always complaining that windows is slowed down, this is because of spyware and other screwed up mess. I just bought a new laptop with windows 7 and it is already slow, because why? I think windows is a virus and would like to get Linux or mac or something other that stupid garbage windows. The graphics of Linux was a little flaky when it came out, however it has evolved to a serious competitor of windows for a while now with out really competing with garbage windows. To tell the truth I am not sure how someone became so rich putting out this type of trash.
What is the typical number of virtual consoles started with Linux system?
4 By default. Expandable up to 36.
Why is GNULinux called a unix-like operating system?
GNU/Linux is a 'Unix-like' operating system because it was based on Unix, and is similar in many ways.
Can you send faxes from Linux?
Yes you can, many people have built fax servers based on linux.
Hylafax is the more popular fax service. The other option is to just get an online fax service.
It depends on what printing subsystem you have installed. It could reasonably be "print", "lp", or "lpr"; the exact options it takes depend on what the default settings are and which subsystem you're using.
Should the more command on Linux be used on binary files?
No. It could emit characters that corrupt your terminal.
What does the command fileinfo do?
The Linux command fileinfo will give the user a brief description of the file type information his/her screen. The type of information it provides typically includes which packaging of a program was used, the specific version that was run and its build identification, and the operating system on which it was run.
What is the maximum hard disk size on Linux?
Linux is not limited in and of itself as to the size of it's hard disk. However, the file systems it uses all have different maximum capacities.
ext3 - 32 TB
ReiserFS - 16 TB
XFS - 1 PB
JFS - 16 TBs
FAT32 - 1 TB.
Since a hard drive can be divided into more than one partition, there is no real limit as to how large of one you can use.
Why Linux is not very popular?
I answer this question with love becaus (tear) I use Linux on my desktop.
Linux is not very popular because it is hard to use for most people and has poor, even non-existant marketing.
Also, Microsoft has agreements with most computer manufacturers to install Windows prior to its sale, so it would require additional knowledge and effort for consumers to pick out a Linux distribution.
In markets other than Desktop PC's, however, Linux is fairly popular. If you own a Tivo, a multimedia device, some cell-phones, and other computerized equipment, it is likely that you are running Linux on those devices. Linux is also 'popular' in server environments because it has excellent server software.
How do you use the bg and fg commands?
bg is used to run a command in background and fg bring the background command to foreground.
What does a asterisk mean in Linux?
It would depend on the context. It is usually used as a wildcard, or a pattern that will match everything.
What does the Linux command netstat-r do?
It will display the content of all routing tables, or a routing table for a particular address family.
How many maximum different filesystems can be defined on a disk with four partitions?
Assuming one of them is an extended partition on an MS-DOS partition table: Eight. If the partitions are all primary partitions: Four.
How do you write a shell script that displays the time every 15 seconds?
Try the following:
while true
do
date
sleep 15
done
What does the 'B' in BAMF Linux not slang stand for?
It is what is called a "recursive" acronym. This basically means the application or package, in this case, is referred to in the acronym itself. It is therefore the "BAMF Application Matching Framework." I suppose you could say it is the Bash Application Matching Framework, referring to the UNIX shell itself, but the two are mostly independent.