Programming :: Usually Make Multiple Dir Using -p Option?

Apr 21, 2010

(i) I usually make multiple dir using -p optionex: mkdir -p dicttest/audrep/tdriver/testNow after creating this dir's i stay in current dir instead i want to go directly to test dir how can i acheive this.(ii) When i execute which command as followswhich testerm i will get the location of testterm now i want to open this filewhen i did in this wayhich testterm | vi The file dosent get opened how can i acheive this ?ex:

linuxx86:110$ which testterm
/view/rdl110_linuxx86/vobs_usrrdl/sc/testterm
linuxx86:110$ which testterm| vi

[code]....

View 3 Replies


ADVERTISEMENT

Programming :: Any Option To Make GCC Case Insensitive

Jul 11, 2010

I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.

View 1 Replies View Related

Programming :: Make A C App Do Multiple Tasks Simultaneously?

Oct 22, 2010

I have been working on a project for a while now that involves a rather complex daemon that has to be simultaneously running different tasks. For example one of these tasks is to receive IP packets from the Netfilter queue and place those packets into one of several internal queues. While other tasks involve taking IP packets from those internal queues and processing/manipulating them and finally returning them back to the Linux network stack.

As I as I have no previous C experience before starting this project I just spawned a new thread each time I needed the daemon to be doing something else while those other tasks continued to run. Is there any other way of doing this or is this pretty much the only way of doing this? Because C is procedural I could not figure out any other way of doing accomplishing what I wanted. Should I have done it some other way or is this the correct and only way I could have gotten my C app to be running multiple tasks at the same time?

View 6 Replies View Related

Programming :: Make Multiple Calls Using PJISP?

Apr 12, 2011

I have a problem in making multiple calls using PJSIP. I registered different accounts that implements IAccount and added that in the CallManager. When i try to make the calls from the same CallManager, I could able to make the first call. When second call is made the first call got cut and it is alerting and the same for the thrid call..Could anyone help me in this regard.

Note: Calls has to be made from different numbers to different destinations. Is it possible to make multiple outbound calls simultaneously from the same instance of CallManager?

View 1 Replies View Related

Programming :: Make An AWK Script That Goes Over The File Multiple Times?

Mar 11, 2010

Is it possible to make an AWK script that goes over the file multiple times, every time doing something different to it?

View 19 Replies View Related

Programming :: Make Delays Between Multiple Commands In An Alias (ircII)?

Sep 21, 2010

Okay so I have an alias that looks like this:

Code:
ALIAS sorigin {
MSG sorigin Test1

[code]...

View 1 Replies View Related

Ubuntu :: Mod With The Option Multiple Alternate Sources Download?

Apr 5, 2010

i need a mod with the option multiple alternate sources download.

View 9 Replies View Related

Ubuntu :: No Option To Boot / Make It Possible?

May 8, 2010

I'm sorry to post so much, but every time I solve one problem another comes up! xD

Anyways, I created an install CD for the newest Ubuntu, and the CD works. I used it to install Ubuntu, but when I went to reboot to complete the setup, it just went back to Windows normally. Then when I booted from the CD directly, bypassing Windows entirely, my monitor displayed "No sync" and refused to display anything until I turned off all power to the computer and restarted into Windows normally.

How can I make it so that it will boot to Ubuntu?

View 2 Replies View Related

Software :: Make The Kernel With -g Option ?

Jul 6, 2010

I downloaded kernel 2.6.30 for my project. But I want to see the all symbol and debugging information. So, I try to use option "-g" with make file I don't know how...

I just know the make kernel "make all"

If I want to use "-g" option for vmlinuz with whole symbol for debugging, how can I put that "-g" option into the "make"

Do I have to modify the "Makefile" ? or "only command is possible like make -g something...."

How I can compling the kernel with -g option....

View 1 Replies View Related

Fedora :: Can Not Find Option To Make Task-bar Transparent

Jan 10, 2010

i am sorry, but i can not find the option to make the taskbar transparant.i have kde 4.3.4

View 8 Replies View Related

Ubuntu :: Make Windows XP The First And Default Option On Grub 2?

Feb 7, 2010

I was wondering how I can make Windows XP the first and default option on my Grub 2. I use Ubuntu 9.10 through a semi-dedicated partition on my second hard drive, if that helps. I use Grub 2 just cause I have a grub.cfg file, and here it is.

Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates

[Code].....

View 4 Replies View Related

Ubuntu :: Make Nautilus Always Launch With - No-desktop Option?

Nov 5, 2010

If I am using LXDE or another non-Gnome desktop and want to use Nautilus as the file viewer it needs to be launched with the --no-desktop option (so nautilus does not load it's desktop image under the other DE).

I know there is a way to make it so whenever nautilus is launched it will not load the desktop (even if you do not pass the --no-desktop argument) but I do not recall how I did this last time! I believe it was a gconf value. Anyone know what this setting is/how I can accomplish what I am looking to do?

View 2 Replies View Related

Ubuntu :: Command To Make Download Option In Script?

Feb 11, 2011

I was making a download option in a script but I cant seem to get the command right
Code:
tar cjf /tmp/file.tar.bz2 --exclude="config" ./
My archive ends up with a file-1.tar in it.

View 3 Replies View Related

Ubuntu :: Any Option To Built Solution To Make Backup

Apr 20, 2011

As I checked some online backup solutions I have found information that all of this which I checked have only clients for Win or Mac. But I'm looking for solution with Linux client.As I have read some info on one of the Googled page Linux probably is ready for being an online backup solution as is.So my idea is to create automatic (in the background) backup of my files (photos and docs) with my outside hosting server. I have unlimited shared hosting server with ftp access. Is there any option to built such solution to make backup synchronisation between my Linux comp and shared hosting? What should I get to know to start with such option?

View 1 Replies View Related

Ubuntu :: Make The Noapic Option Is Selected When Starts After An Install?

Oct 13, 2010

To make Ubuntu work on my computer I need to select the noapic option NOW How do I make certain that the noapic option is selected always when ubuntu starts after ubuntu has been installed?I would like to install Ubuntu 10.10 on my computer togheter with windows 7

View 4 Replies View Related

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies View Related

Software :: Provide DESTDIR Option During Make Install Process Of Jhbuild?

Nov 4, 2010

Is it possible to provide DESTDIR option during make install process of jhbuild? Default it installs in location provided by prefix.

View 3 Replies View Related

Ubuntu :: Select An Option To Make The Open Folders On Shutdown, To Restore On Startup?

Jun 17, 2011

I've recently upgraded to 11.04.Till now, I could select an option to make the open folders on shutdown, to restore on startup.There was an option to restore running applications

View 5 Replies View Related

OpenSUSE Multimedia :: How Do I Make VLC Work - Whenever Load Disc Doesn't Give Option To Play

Jun 5, 2011

I am using Suse 11.4, with the Gnome desktop. I have downloaded the VLC player, but cannot work out how to make it play CDs in the CD drive. Right clicking on the Audio Disc icon that appears on the desktop whenever I load a disc doesn't give me an option to Play using VLC. Is there a way to make VLC the default player for CDs?

View 9 Replies View Related

Programming :: Programming To Multiple Video Cards

Jun 24, 2009

I've browsed the internet, but haven't found a satisfying answer. Hope this forum can help me in the right direction.I'm exploring the possibilities of creating a program that manipulates (writes to) two different video cards.I program in C and hope to avoid high level libraries like Xlib to keep the mem footprint as low and the performance as high as possible. Windowing is not important no desktop environment will be used. Be able to write two pixels (one to each screen) to would do.

How would I go about?To give an idea of the solution I'm looking for:One screen will show thumbnails of images on the hard drive. Clicking an thumbnail on display A will show the selection full screen on display B. On a laptop; preferably thumbnails on the laptop screen and the selected image on the external monitor.Is this possible with just low-level libs or do I need X or some third-party software to make life easy?

View 14 Replies View Related

Programming :: Sed.exe Unknown Option To 's'?

Feb 21, 2011

I'm running sed in WinXP on a text file using a script file. Every time I run it I get an unknown option to 's' error:C:Program FilesGnuWin32in>sed -f jagerize.sh input.txt>output.txtsed: file jagerize.sh line 22: unknown option to 's' I've tried two different implementations of sed, with the same result. Deleting the offending line in the script file still produces the same result (as the next line has the same syntax). I'm guessing the problem has something to do with WindowsXP, but I'm a complete newbie with sed and Linux.Here is the script file I am using:

#!/bin/sh
#
# Jagerizer 1.2

[code]...

View 1 Replies View Related

Ubuntu :: Can't Make Multiple Displays (two Screens) Work

Feb 6, 2010

I used to use nvidia and Twinview to drive an LCD and CRT monitor as one big area. I've changed over to using the nv driver, and I gather that xinerama is deprecated now in favour of xrandr. But I can't get xrandr to even report anything about my two displays, and can't get any picture on the CRT. This is despite both being fully detected by X (according to the log file).

I've just changed over from using the nvidia driver to the nv driver. I did this because I discovered that the frequent system crashes while watching video was caused by the nvidia driver, partly because my card is a GeForce FX 5200, not supported by the current nvidia driver which contains bug fixes for the problem. So I've used Synaptic to remove all the nvidia drivers and add-ons, and installed nv and the libgl1-mesa-dri and libgl1-mesa-glx drivers.

I moved my old xorg.conf file aside and on a second X display ran X :1 -configure to generate a clean new xorg.conf and started from there. I'm doing all these experiments by modifying xorg.conf, and then on a second console running up X on display :1 to try it out. Another odd thing: xrandr doesn't report any "outputs" (since I'm using the nv driver, I'd expect to see DVI0 and VGA1), instead it just reports this:

Code:

# xrandr
Screen 0: minimum 640 x 200, current 2560 x 1024, maximum 2560 x 1024
default connected 2560x1024+0+0 0mm x 0mm

[code]....

View 5 Replies View Related

Ubuntu :: Make Multiple Text Files Into .lst Wordlists?

Sep 20, 2010

Make multiple text files into .lst wordlists?

View 7 Replies View Related

Software :: Alias Make To Automatically Use Multiple Cores?

Jan 27, 2010

Newbie question here. I just realized that I can tell make to use multiple cores to compile by doing PHP Code:makewhich is just awesome on a quad core with hyperthreading (I just compiled 2.6.33-rc5 in under 5 minutes!) I know aliases are possible, though I've never had much need. What I would like to know now, is if it would be safe to alias make to mean PHP Code:so that by default I use 6 of the procesors when building or if there would be occasions that compiling on multiple processors would be a bad thing

View 10 Replies View Related

Software :: Make A GUI Interface That Uses Multiple Programs And Commands?

Jan 11, 2010

I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?

View 3 Replies View Related

Programming :: Gcc Error With -mtune Option

Apr 7, 2010

I am trying to compile a hello world program to run on a powerpc processor. I used GCC 4.4.1 from Ubuntu 9.10 on a X86 (PC) platform.

Which value should I use to indicate powerpc architecture?

View 3 Replies View Related

General :: Multiple Monitors - Make Open Programs Appear In Taskbar ?

Aug 4, 2010

Normally when a program is open an entry is placed on the taskbar in order to easily find it, which is useful when a lot of programs are open. In Ubuntu 10.04, when I moved a program to the other monitor (I'm using 2 monitors) the taskbar entry also moves to the taskbar on that monitor.

Now I switched over to Ultimate Edition, which is Ubuntu 10.04 with a lot of stuff added to it. When I drag a program to the other monitor, the entry in the taskbar disappears, but it does not reappear in the taskbar of the other monitor. So now the only way for me to find a program on this monitor if its hidden behind other windows is to use alt-tab.

View 2 Replies View Related

Programming :: [bash] Option Followed By Argument List?

Feb 6, 2010

I'd like to pass the following arguments to a bash script in any order:

Code:
myscript -l <country> -r <file1> <file2> ... -o

I read the argument list in a switch shift loop. I figured out how to read the filelist but only if -f is the last option.

how to position the file list anywhere in the argument list?

View 5 Replies View Related

Programming :: Setting ACL As Mount Option Using Awk And Sed Script

Apr 24, 2010

I am creating a script for making a public folder in linux. The idea behind is to allow any user to write files in this folder and further each of those files can be used by any user. For this purpose I am using acl. This first requires to set acl as mount option in /etc/fstab which I need to do with help of (awk and sed) command available in linux.

The line below is the fstab entry which I need to make change in.
UUID=e9a3db4b-d8c0-40b4-a661-131e13afea1e
/ext3 relatime,errors=remount-ro 0 1

I want my script to identify this line (most probably with / which denotes the mountpoint) and then add (acl,) without brackets in options. Currently I use the command as below
sed 's/realtime/acl,relatime/' /etc/fstab
but the above command is in reference with (realtime) what I am planning is that my script should be able to find the line which has / and then go to options and add acl there.

View 3 Replies View Related

Programming :: Can't Understand The Value Returned By Semctl Using GETPID Option

Oct 18, 2010

I have got a program using semctl(). I cant understand the value returned by semctl using GETPID option and its difference with the actual pid obtined by getpid()as in the following code:

Code:

int semid,retval;
semid=semget(0*20,1,0666 | IPC_CREAT);
retval = semctl(semid,0,GETPID,0);

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved