General :: What Is The Source File For Sh
Mar 2, 2010This machine has sh as the shell default. Where is the source file for this shell? I only have .bashrc under my directory. How do I have it sourced automatically at login in?
View 5 RepliesThis machine has sh as the shell default. Where is the source file for this shell? I only have .bashrc under my directory. How do I have it sourced automatically at login in?
View 5 RepliesI had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies View RelatedI am trying to compile C source file to generate .trb file (turbo file) which will then burn on trubo sim using TP2. When I comiple the code following error is occuring. before going through belwo error I was getting error 'Unknown MCU atmega128', known MCU are: (list appread), then I change the configuration and set the MCU to supported list then following error is occuring.
XXXXXXX@MYN8G5R52S /home/my-aip/my-aip
$ make
avr-ld -o my-aip.elf my-aip.o -L../../turbo-devel/lib -T turbo.lds -d -r --emit-
relocs -R ../../turbo-devel/lib/public_calls -lformlib -laes -lm -lc `avr-gcc -p
[code]....
Now strange thing is that whats so ever the value is of atmegs.. is I am facing same issue.
I am about to decompress a source file $$$.tar file? In what place do you decompress a tarball? I do know that I will be entering ./configure, make.
View 3 Replies View RelatedI am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,
[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root
[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....
RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)
What next step need to be taken to install the rpm file from the source file.
When I try to execute my script its getting error
.........................................
tape_restore.sh: 40: source: not found
tape_restore.sh: 41: source: not found
tape_restore.sh: 42: source: not found
.................................
But in Redhat I can run same script . My script as follows.
**************************************************
SCRIPT_HOME=/home/dhanushka/project/mChoise_Recharge/scripts/scriptfw
TAPE_DRV=/dev/st0
[code]....
i just uppgraded to Centos 6. Linux 2.6.32-71.29.1.el6.i686 on i686. now im getting some troubble whit this file: wget [URL]... i create a downloads directory and download the source file and--
mkdir $HOME/downloads
cd $HOME/downloads
But when i try to build courier-authlib whit this comand: #sudo rpmbuild -ta courier-authlib-0.63.0.tar.bz2. I get this:
[code]...
what can be the reason?
I just downloaded the blueman source file to get bluetooth tethering in my linux so that I can use internet (that's the only medium for me) but i dont know how to install from source code. And i cant even get online now! (I am posting this via operamini) Any installation instruction with screen shoot for offline mode installation for blueman? Or is there any other way to connect a pc for the first time via dialup using a phone because I don't have broadband.
View 7 Replies View RelatedI am IT Manager. Currently I am responsible for a mostly IBM shop, running a mix of AIX, OS/400. VMware, and Windows.
My P-series running AIX and Oracle and my AS/400 both back up to tape drives daily.
But my VMware system is not being backed up, the virtual machines are, but my tape drive just broke down.
I just ordered a server grade machine with an i5 CPU, running 3 2TB SATA drives in RAID5, this is going to be my new backup server.
I am hoping I can put Linux on it, and some sort of open source file replications, real time backup software that will back up my Windows servers, and my Windows desktops in real time.... any sort of animal exist?
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.
View 1 Replies View RelatedI want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?
View 2 Replies View RelatedI had Ubuntu for awhile, now I installed Fedora12, I'm trying to follow directions to install a program from source code (tar.gz file) I have the February 2010 issue of Linux Format, and am trying to follow it step by step. I copied gnurobbo off their disk to my desk top, which copied it. Then I did the cd command, then I did the ls command and it didn't show me anything but a line saying desktop and a few other things like pictures movies etc. so I did cd gnurobbo-0.64 and it says no such file. I have been trying this for a few times and I think I'm going crazy.
View 3 Replies View RelatedI am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies View RelatedI need to fgrep a list of things which are in a file. The file in which I will do the SEACHING is a large text file and I need fgrep to output each item from the list as a file with the item from the list as the file name.
Its kinda like this:
./script list.txt largefile.txt
output would be
jack.txt
screen.txt
blah.txt
I have a problem about to open zebra service after install quagga by command(./configure ; make ; make install ) and add service port ("/etc/services")
#service zebra status
zebra dead but subsys locked
and can't telnet to zebra
"telnet: unable to connection to remote host: connection refused"
I following a manual http://www.quagga.net/docs/docs-info.php but it's not perfect.
trying to use a source file, but it does not seem to be working. I tried this website [URL] after running rpm -ivh <rpm-name>.src.rpm nothing is in /usr/src/redhat/SPECS I have searched for .spec files , can not find any.
View 2 Replies View RelatedCan anybody share a link or steps for Php 5.3.3 and Apache 2.2.19 source file compilation
View 3 Replies View RelatedI'm trying to understand how deb packages work. Are there source debs?I assumed there were, but from[URL].. I see that source is distributed in a GZipped file.
View 3 Replies View RelatedSince the time I have moved to Ubuntu..I am finding it difficult to do work on images.... since in Windows I was using Photoshop.. But I tried running photoshop using wine and stuff but either didn't work or caused a lot of problems. So I found a new solution GIMP that is very close to Photoshop but not exactly like that.Now I got another solution that is some modification to GIMP called GIMP shop.
I downloaded the Linux version and I got a file gimp-2.2.8.tar.bz2 I was always confused in how I can install these source... there is no help on their website. installing these source files.... since I need to do many images manipulation and editing for my work.
I'm trying to download ubuntu 10.04 for PS3. when I download it, it gets to about 180 MB and then gives me an error saying the source file could not be read.
View 4 Replies View RelatedIm usign photorec to recover some files that i lost during a format to my hard drive.
The program works like a charm but put all the files on differents folders. i use the find command to put on a list the jpg files but how i use the cp or the mv command to move that files in the list to another folder?
I am running a Fedora 10 Virtual Server and get have a feeling I have been hacked. I needed to fix a source file that I had definately not changed myself. It was a PHP file concerned with usernames and passwords so that made me even more suspicious. I have been investigating and found the following. If you need other information give me the command I should run and I will update, I am no expert in this area and use the server to host my website and SVN. I am the only person that has access to the server.
Code:
# lsof -u nobody
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
[code]....
Does anyone know where is the source code for file command?
View 2 Replies View RelatedI am trying to organize a log file by user id and source IP. The data I have is in the form of the following:
Code:
user1,127.0.0.1
user2,127.0.0.2
[code]....
I need to install it on laptop along with linux, which of the two files should i download and burn?
View 1 Replies View RelatedI am following instructions from [URL]... i've gotten to the point where it says
[code]...
No such file or directory. I hate installing from source for this exact reason, something always goes wrong. and i'm left scratching my head. But I really want this boot loader.
How to build .deb package from deluge-1.3.0_rc1.tar.bz2 or from deluge-1.3.0_rc1.tar.gz downloaded source files?
and
How to install Deluge-1.3.0_rc from deluge-1.3.0_rc1.tar.bz2 or from deluge-1.3.0_rc1.tar.gz downloaded source files.
How to edit source.listfile with Deluge auto-update?
OS: Ubuntu 10.04 Lucid Linux
Desktop PC, Intel Core2 Due.
How to Reset File enigma_active.so to Source Code Is in the compressed file Makefile
View 7 Replies View RelatedIs it possible to pass arguments to a source file in a bash script? For example
#!/bin/sh
#
. /dir1/dir1/funclib -a -b
How would you check for the passed arguments in funclib without getting confused with any arguments passed to the main script?
I'm investigating how to copy a file located in my file system into another device. I googled to find a solution for my case but I didn't find anything. My original problem was to find a way to permit my code to move a file into a USB device. I wonder If is there a way to implement the cp command or some mechanism that permits my code to interact with between the file system on my computer and the second one on USB external driver (FAT32) ?
View 3 Replies View Related