Software :: Difference Between Source And Dot Command
Aug 11, 2010What is different? When I execute the "man source", and "man ." are same. Is it same? or not? If it is different, what is it?
View 2 RepliesWhat is different? When I execute the "man source", and "man ." are same. Is it same? or not? If it is different, what is it?
View 2 RepliesI 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 ?
View 5 Replies View RelatedWhat is the difference below these 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)?
Can any one tell me what are the differences, pros and cons when I install something from source versus installing that thing from rpm.
View 1 Replies View RelatedIt 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.
View 1 Replies View RelatedVery 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.
View 14 Replies View Related1) 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.
i want to find out the difference between installing software straight from source and from an RPM.
View 6 Replies View RelatedWhat is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?
View 2 Replies View RelatedWhen 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.
View 4 Replies View RelatedWhat 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?
View 1 Replies View RelatedWhat is difference between lvreduce and lvresize command?
View 2 Replies View RelatedFor 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.
View 2 Replies View RelatedWhat is the difference between ext2online and resize2fs command?
View 3 Replies View RelatedIt sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
View 3 Replies View RelatedExample: In rc2.d I have S99test. In it: Code: #!/bin/sh mplayer -playlist "/music/Thom Yorke - The Eraser" Reboot; hear the loveliness; press pause (lirc setup)...still loveliness.
Login as root; "pkill mplay";hear nothing; "/etc/rc2.d/S99test"; more loveliness; press pause...silence! I know that i the former case, mplayer is assigned (for lack of a proper term) to a session, e.g. tty1. Not so in the latter. But why should a program like mplayer not receive (or ignore?) input from lircd, simply because it doesn't have a session? And how can I get mplayer (or any program run from boot scripts) to work with other programs (like lircd)?
so i have a few shell scripts that execute wonderfully when i type them at the command line but they fail when they are run from cron.
for example, if i run a script from command line that contains
Code:
shopt -s nullglob
to prevent problems with for f in *.mp4 type loops, it works fine from terminal command line but when called from cron, it gives an error->
Code:
/home/centralsqwall/Videos/videochecker.sh: 91: shopt: not found
a couple other random errors as well...
so there is some difference in the shell from cron and the terminal?
i'm running ubuntu 9.10, #!/bin/bash
what are the commands i should be using to echo my environment or simulate cron environment from the terminal?
If I have a script called runScript I can 'run' it in serveral ways. I understand the basic difference between
Code:
./runScript
and
Code:
source runScript
. Recently however I have come across
Code:
. runScript
What does this last one do that is different to the others?
i am using red hat linux 2.4 . I have 3 folders dir1 dir2 dir3 I have tarred them like this.
1.tar cvfz tarball_1.tgz dir1 dir2 dir3
2.tar cvfz tarball_2.tgz dir1 dir2 dir3 2>& /dev/null (So that it does not display any error message or operation details to the user)
[usr@machine]$ ls -lrt
-rw-r--r-- 1 usr grp 199843988 May 17 13:39 tarball_1.tgz
-rw-r--r-- 1 usr grp 199837488 May 17 13:53 tarball_2.tgz
But can any one explain the size difference as seen in list output...
I just wanted to know the difference between Using Sudo mechanism over using Power breaker utilities.
View 4 Replies View RelatedI 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?
View 3 Replies View Relatedso the safest way to go about this is to assume I know nothing. I mean, I have a rough Idea of what a kernel is, no idea what a shell is, etc. I do consider myself computer savvy, but know NOTHING about linux and thats why I'm Diving in, hopefully not too much, this is just to give you an idea of what we're working with here.
After several install attempts I kept getting a blank screen. Whether it be black,white, or the default gnome desktop (without any icons, and simple things like ctrl+alt+backspace just doesn't work, or anything else for that matter) I was ending up with a blank screen. Driver for moniter....maybe....but I did succesfully install it once, and it worked like a charm...shutdown properly, and the next day after work...Boom, same thing after startup.today I started from scratch and re-installed....samething, until I hit the power button, went from the dvd(iso) and did a fail safe, now my resolution is much better than it was the first time..Actual questions.....what did I do to fix it when failsafe never worked before?
Is there a way to save these settings, so I don't run into the problem again, because I don't even want to turn of my computer at this point?If i'm trying to dive in and learn the command line actions, is there any substancial difference between gnome terminal or hitting "c" to bring up the command line?
9.10 Bash shell.
Code:
Linux $ sudo source ./vars
sudo: source: command not found
Linux $ sudo . ./vars
sudo: .: command not found
[Code]....
where i get the tee command source code?.
View 2 Replies View RelatedI just need to develop a new command for deleting a file in LINUX Character mode , same like as windows instead of deleting the file , it should move to a folder name trash .I just started reading the source code of coreutil , need to write a code for the new command "delete".Am a MS student with BITS , want to do my dessertation in this , can anyone help me out .
View 6 Replies View RelatedWhere can I find the top command source code... I got it from "http://procps.sourceforge.net/index.html" but it seems for Solaris. where can I get the source code for top commend running on Linux????
View 3 Replies View RelatedWhenever I compile Dreamcast games, I must source a certain .sh file before running make. I like to use the Netbeans IDE, so I must run these commands in a terminal
Code:
$ source environ.sh
$ "/usr/local/netbeans-6.9.1/bin/netbeans"
However, this forces me to run netbeans from the terminal when I'd like to run netbeans from a launcher or alt + f2. This method forces me to keep the terminal open when I run netbeans. The problem is, source is a shell builtin command and cannot be run from a launcher (as far as I know).
I am trying to run a script to setup environment variables and then run other commands in a make file. But the source or the dot operator (shell is bash) does not seem to take any effect as the subsequent command didn't pick the environment up. Do I have to put every lines of the environment setup in the first script into the makefile instead?
sample setenv.sh
#!/bin/sh
export MYDIR=/somedir
sample makefile:
all: source ./setenv.sh
echo $(MYDIR)
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.
[Code]...