Ubuntu :: Source Command Not Found?
Mar 3, 20109.10 Bash shell.
Code:
Linux $ sudo source ./vars
sudo: source: command not found
Linux $ sudo . ./vars
sudo: .: command not found
[Code]....
9.10 Bash shell.
Code:
Linux $ sudo source ./vars
sudo: source: command not found
Linux $ sudo . ./vars
sudo: .: command not found
[Code]....
Can any body tell me where can i found the source code for echo command. so that i can download it such that it can help me for further studies on echo command
View 8 Replies View Relatedi ran into a problem when i installed mplayer on suse 11.1 from source, it works just fine BUT it has no GUI.When i try to use the command "gmplayer", it returns 'bash: gmplayer: command not found
View 3 Replies View RelatedI installed a program with Yast (Kmess), but when I try to run it, bash gives me back this message:
Code: kmess: command not found I checked into Yast and it seems to be installed correctly!
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.
View 4 Replies View Relatedi am getting this error after executing a command..i think my ubuntu is lacking some of the packages..can anybody tell me how to fix it..here is the description-->
$ apt-get source smplayer
Reading package lists... Done
Building dependency tree
[code]....
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?
View 2 Replies View RelatedI am trying to install ubuntu on an old machine and no matter what version I try to install I get this same error.
"No installable Kernel was found in the defined APT sources"
The versions I have tried are (9.04server. 9.10desktop, 10.04 server).
I have swapped both the CD drive and HDD drive becuase, well i don't know why, but I have. This didn't work.
I have read [URL] and have tried changing my BIOS settings so that i have my config is:
IDE Primary Master : Maxtor 6Y080L0 (HDD)
IDE Primary Slave : HL-dt-st-sl8480b (CD-DRIVE)
This didn't work.
I have also tried doing the instructions posted by migraineman on the second page of the thread mentioned above but this also didn't work.
My specs are:
Cyrix 6x86 Processor
80Gb Maxtor HDD
LG-GCE CD-ROM Drive
319Mb RAM - 8Mb Shared
whenever i try to do anything with yum, say yum update, i get this
Code:
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
InstallMedia. verify its path and try again the thing is i cannot find this in /etc/yum.repos.d or in the PackageKit thing.... what to do?
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
I want to edit the environment with a bash script, a part of my script is showed in the post. Its not everything, but the rest is working fine. At the begin of my script I've the follow line Code: #!/bin/bash
set -e First I tried with this solution. Code: sudo chmod 777 /etc
sudo rm /etc/environment
echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ruby/bin"' > */etc/environment
sudo chmod 755 /etc
source /etc/environment Error, source not found
The second solution was this:
Code: sudo chmod 777 /etc
sudo rm /etc/environment
echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ruby/bin"' > */etc/environment
sudo chmod 755 /etc
. /etc/environment
This one didn't give an error, but if I try this:
Code: ruby -v got an error
so the environment didn't worked.
If I use both commands
Code: source /etc/environment
Code: . /etc/environment
In the terminal, without a bash script, it works, so if I do
Code: ruby -v
It works and showed the right version.
I am Vamsi from Alcatel-Lucent. We have a software to configure the wireless broadband devices to the Linux machine. Till now, it was running on FC-5. When we need to add any new device, we used to add it in airprime.c, sw.h and usb-serial.c under /usr/src/linux/drivers/usb/serial directoy.
Now we are trying to upgrade the system to FC-12. But I am not able to find any kernal files under /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/drivers/usb/serial directory. I saw in some websites that the kernal files can be found at: /root/rpmbuild/SOURCES/linux-2.6.31/drivers/usb/serial. But in my system, there is no rpmbuild directory.
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.
View 5 Replies View RelatedI've just not long got things going and found that when I run updates or the software manager it says that it couldn't be found. My current source address is. [URL]
View 11 Replies View RelatedI'm using OpenSUSE11.2, and want to upgrade to OpenSUSE11.3 from internet. But there is not F4(Source) in boot menu. In my computer, F4 is keyboard menu. What shall I do?
View 1 Replies View RelatedI am trying to install NIC driver, at last when I am using command make the following output is coming. How to come out from this error:
Makefile:65 *** Linux source not found. Stop.
I recently downloaded grub2 source code for my F13 installation and it compiled and installed perfectly, but when I rebooted nothing had happened and grub was still version .97. Is there something I didn't do?
View 1 Replies View RelatedI have made a full install of Slack 13.37.0. When I try to run the installer of the NVIDIA GF 8400GS card (NVIDIA-Linux-x86-180.29-pkg1.run) downloaded from [URL], I receive an error message. It says that the kernel source cannot be indetified/found. /lib/modules/2.6.37.6-smp/source and .../build links to /usr/src/linux-2.6.37.6-smp, which contains the full kernel source (can be compiled), including the header .h files in include/linux. The same NVIDIA installer can be run successfully on my previous Slack 11.
View 6 Replies View RelatedI'm trying to install the projectM visualizer and I'm running into some problems. Initially, I tried to install it by running "sudo apt-get install libvisual-projectm", which seemed to work... except there's no launcher for it in my Applications menu and "projectM-pulseaudio" returns "command not found". From there, I decided to try to build it myself, by following this guide (<- link). It went well until the "make" command, which returns the following error:
[Code]....
Whenever 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 doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.
make: arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
code....
where i get the tee command source code?.
View 2 Replies View RelatedWhat 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 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 RelatedI 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]...
Where is the source implementation of the free command?
View 2 Replies View RelatedI 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 Related