General :: Difference Between Source And Dot Command In Linux
Jun 14, 2010
I have written a set of aliases in a file.When i tried to dot it( "Prompt> . filename" ). It said " Permission denied. "But, when I sourced it ("Prompt> source filename"). It worked perfectly.Linux manual has one entry for both the commands. Then what am I missing ?
What is difference between BSD and Linux exist?when i want install bsd i see some details that exist in linux like partition type,swap partition and etc.if PC-BSD is free why in pcbsd.org it have price?what is good for desktop pc?
Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??
One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?
I am looking for the opinions of some linux users as to why they prefer using open source software and what they perceive as the main differences between it and proprietary software. In particular, I am curious as to what meaning, if indeed any, users and contributors ascribe to the open source community and how they view it on a less technical level.
1) A 13-years old boy wasn't impressed by KDE 4.x. Its own Window$ looks also nice and pretty and have similar functionality.
2) Open Source? How to explain a difference between open source and freeware? Do we really benefit running open source programs instead of freeware? Most of us will never read a line from a source. We want, we require easily accesible binaries.
So why a common window$ user find worthy to run Linux? What can Linux offer? Linux should be as different from window$ as it is possible.
3) Twm window manager is definitely something strange - in the way the vi editor for notepad users. Twm is for some reasons better than any other wm. I started both kde desktop and xfce desktop under twm. Both desktops can be iconyfied. It is your choice which at this moment you prefer. But you can work with both. Full democracy. No more discussions which is better.
4) When finally developers of KDE, GNOME will make these desktop almost perfect they will be obsolete. In fact they are today obsolete. It is about 20 years working in the same manner. Windows, buttons, mouse's click - I think it's enough. At least I am really bored.
5) NextGen UI. Not GUI but UI. A core of the nextgen UI will be an AI engine. Also see p. 4, we may think about VUI - virtual environements, you can run all your preferable GUI simultaneously. Or any other today predefined UI (eg. cli).
6) What about windows (parts of a graphical screen)? Nothing. If AI will be in the core you will need windows only for watching video and playing games.
Finall remarks: It is not a project only an idea. My intuition tells me that there is a time for changes. Time for swimming in deep water.
When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
After I upgraded from 10.04 to 10.10 I can choose between the following OS's when turning on my computer (see picture):
What is the difference between linux 2.6.35-22 and 2.6.32-25? The 2.6.35-22 option froze once on login, I have never experienced any trouble with the 2.6.32-25 option.
So what is the difference between the two? Do i need both? If not, which one should I remove and how?
What is the difference between *.xml and *.xml in find command in Linux/macThe results of:find . -name *.xml and find . -name *.xml are different. But why?Also, is locate '*.xml' better than find? Which one is the most commonly used?
I am trying to install NS2.29 on ubuntu 8.04 and when I try to do the following command:sudo ./install (it works) and if I try to redirect as follow sudo ./install |tee output.it give me the following message "tee: output.txt: Permission denied".
For searching a file or directory i normally use grep command. kindly can you guide me the difference between grep and find command. I have used both but that are the difference between them ? are the same or grep is new as comapird to find command.
hope you will know the net send command of windows.in the same way we are working on linux red hat 5.0 we want to know the equivalent command of net send for linux if any body know then please tell us? we are here only when we not found on google so please do not give the suggestion of searching on google.
I've recently started learning linux OS, and the most confusing for me is the notation in man pages or command synopsis. I was looking for some kind of guide describing it, but couldn't find any. Thing get even worse when there is no standard notation and it looks different from one command to another. In other words, I just want to understand what all these brackets '[ ]', dots like '...' pipelines '|', italic or UPPERCASE words, etc mean at all. I can't tell the difference between [DIRECTORY...] and [FILE]... What does it mean when there are three dots inside the brackets or outside of them? And so on. To conclude, all I need is a comprehensive description for the notation syntax adopted in linux world.
Running Ubuntu 10.10. My desktop environment is screwed up and won't let me use the keyboard or mouse at the login screen. How can force a command prompt during boot?
Here's a method:
Alt-SysRq-e - Requests kernel kill all processes except init.
I am not especially cli adept so could someone tell me the best way to use the diff command to get the difference between a string of text and the contents of a file instead of between the contents of two files?
1)Say an application is written and is having source files. 2)A file called source rpm package 3)A rpm package
In case of (1) we need to compile using either the make or if we know using appropriate compiler with proper libs included. Can I know what's the difference between (2) and (3)?
It is my understanding that building from source is slightly faster since the created binary will be specific to the current kernel/system. This seems to have the drawback of when the kernel is upgraded the source compiled package will no longer work...but this is not always the case. So what kernel upgrades will cause a package from source not to function? Side bar to that, I have a package that is only available in source format that I need to install on numerous hosts. It seems that the upfront work of creating my own RPM for this package is worth it to make managing the package more efficient, and I think I have two choices: src-rpm and standard binary rpm. If I build a src-rpm and I distribute that for installation will a kernel upgrade 'break' the package since it is actually being compiled for a specific kernel at the time of install? So far I have found a lot of information, and have spent time reading the rpm docs, etc, but I don't feel like I have a good grasp of what the specific portability differences are between source, src-rpm, and rpm.
My laptop has a dead battery. Even when it's fully charged, if the power cable is pulled out it only lasts for about 4 minutes before it dies. I'm running Ubuntu Lucid Lynx 32-Bit. What I want to do is create some sort of script or program that will immediately set my computer to go into hibernation once it detects that the power cable has gone dead. I'm willing to look into all ways of doing this. I can program in C, but I'm not familiar with the API used to manage Power Management in Linux.