Programming :: How To Integrate Ls Command In C++
Aug 19, 2010I just create a simple c++ program on linux is there a way to intergrate linux command such as ls, du, df and etc on my c++ program?
View 1 RepliesI just create a simple c++ program on linux is there a way to intergrate linux command such as ls, du, df and etc on my c++ program?
View 1 Repliesintegrate a macro from MS Word to Open Office? It is a script I need for music. I cannot upload the file here nor give you the link, because I'm not let.
View 9 Replies View RelatedI would like to finish some work on some audio sound treatments... based on user voice.
I have an issue with how to integrate the area of a sound.
find in the jpg how to bash program would work. someone code the program in Perl or Python or Bash ?
The idea is to put always the maximum peak to 1000 or 100, so that we have an arbitrary unit (based on the max value)
Ref: [URL]
[URL]
GTK library to integrate the cube and other 3D window geometry?
The code and the binary are both there.
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I am writing a perl script which uses the matlab compiler to compile a .m file.
I am using the system("mcc �m file.m"). I have matlab installed and both script and exe are in the same drive.But i get the following error .
'mcc' is not a recognised as an internal or external command ,operable in program or batch file.
I am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?
View 3 Replies View RelatedI'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:
This is what i have after my BEGIN
Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'
suppose i store the history number of a command say :
1004 cat file
Then now i want to run it like : !1004 but by using a variable.
command=1004
!$command
i am getting errors like :
command=1004command
Does anyone knows anyway to integrate Sunbird with Ubuntu 10.04? i'm not looking for integration of Sunbird with Thunderbird. that's accomplished with Lightning... What i for is something like an alert when i have an event or even integration with the time/calendar Ubuntu standard application.
other thing is: I installed Sunbird well not realy it's a standalone How can i add it the lists of known applications? like when i type Firefox in terminal Firefox pops up.
I'm running Ubuntu 10.04.I installed KDE 4.4 and removed Gnome.I want Firefox to integrate properly in KDE.I installed this Firefox themeand followed the instructions at the bottom of that page to get a KDE style file picker.I also installed the Plasma Notify extension.My problem is that if I download a file and right-click>open containing folder in Firefox's download window the containing folder does not appear, but instead a window appears asking me to choose an applicationWhen I was using Firefox with Gnome doing this opened Nautilus with the directory containing the downloaded file.I tried to fix this by choosing Dolphin in the Choose Application window
View 4 Replies View RelatedIs there any way to integrate LDAP with DNS? What I mean is if there is any way to ask an LDAP server with the standard LDAP API and the LDAP server reverts to a DNS server if the requested information is not present in the database.
View 2 Replies View Relatedhow can I integrate a kde application in gnome? I mean like this[URL]...
View 1 Replies View RelatedAs you all know, one of the new features in 10.04 is the mail icon in the top right corner, through which you can access Empathy, Gwibber and Evolution. Is there a way to integrate Thunderbird into this menu, so that it can be accessed quicker and that there is a notification coming up when a new mail is received like it is the case with evolution?
View 9 Replies View Relatedi've got prozilla installed on my ubuntu 64 bit. then i installed flashgot. i tried to integrate them but prozilla isn't on the list.
View 1 Replies View RelatedOS: Ubuntu 7.04 (before you tell me to upgrade to a newer release, my computer does not support any later release- If I cannot learn on 7.04, I cannot learn the same on a newer release)Computer: P3 800mz, ram 512mb My firefox browser upgraded itself (of course I did agree when I was told by it that I should upgrade).The problem is that I have to install JRE as there are no graphics available. It has to be a manual install.I downloaded JRE6u23 (that is what it says when mouse hovers over it) and proceeded to fix or integrate it with firefox or the os (whichever way it can be integrated) As instructed by the jre site, I gave the command 'chmod'; the result is below:
yashpal@yashpal-desktop:~$ sudo su
Password:
root@yashpal-desktop:/home/yashpal# chmod a+x jre-6u23-linuxi586.bin
chmod: cannot access `jre-6u23-linuxi586.bin': No such file or directory
[code]......
I have a relatively new laptop that is too dumb to recognize a usb flash drive in the bios. So I cannot boot from it by the bios. I have a Debian install on that laptop with grub 2. So I figure, grub 2 should be powerful enough to have it's own drivers for usb storage so it can directly access the usb drive without having to get help from the bios. How is this done?
How can I integrate usb support into grub 2? Is there a module I can load? I have an ubuntu on the memorystick, so it has it's own grub bootloader, so I would probably do a chainboot if I am not mistaken. Or does anybody know of a initrd that will give control to another bootloader on a device? Initrd should surely have all support for hardware.
how to integrate apache with mysql
View 2 Replies View RelatedI downloaded a patch for ns-2.1b8 in wfq.. Can anyone please tell me how to integrate this patch to the ns environment.
View 2 Replies View RelatedI installed Fedora and my existing boot up menu (Ubuntu & XP) disappeared leaving only Fedora. Using my Super Grub cd (boot trouble shooting cd) I recovered my previous boot system but it left me without the Fedora option. My question is, how can I integrate Fedora into my existing menu?
View 1 Replies View RelatedI tried to use these guides [URL] to setup F11 into Server 2008 ADS, but it did not work.
View 2 Replies View RelatedI unpacked a .zip file, and it gave me two directories. Which file must I edit, and how do I integrate the two dir into the edited file?
View 3 Replies View RelatedI downloaded the new Opera, everything looks quite nice and everything. Now, quick question, is it possible to integrate it with bespin's xbar? I have seen a few post in blogs around the interwebz claiming this can be done.
View 1 Replies View RelatedIs there a way of setting up my thunderbird client into the email icon defaulted to evolution shown on the panel in the top right? If not is there a way of getting rid of it without removing my volume or battery icons?
View 4 Replies View RelatedI am running a dual boot system under ubuntu and Vista on my laptop. Many months ago the Windows partition crashed completely so half of my computer is practically dead. I would like to erase Vista and integrate their partition in the Ubuntu one. The best case scenario would be if I could just merge the two partitions into one and just have one large Ubuntu partition. If this is not possible, could I create a second hard drive within the linux partition?
I would just erase everything and reformat the whole hard disk to run under Ubuntu, but unfortunately I need my computer on a daily basis for work and I have installed so many programs that it would be really painstaking to reinstall them all from scratch... I am not so skilled with informatics, and I'm really scared of losing data, so if anyone could spend some time for a step-by-step solution description I'd be really grateful! Or, of course, eventually write a link where the problem is treated. I am running under Ubuntu 10.04 Lucid Lynx.
I've found that lightweight download manager called Tucan, it seems looks good but I can't decide that yet because I can't integrate it with my browser Firefox 4 is there any way to do it? I've tried to add it manually to flashgot add-on of FF but I couldn't find the executable file of tucan
View 1 Replies View RelatedHow to integrate procmail with qmail using the webmin?
View 7 Replies View Relatedhow to integrate SSH Shell access of a Linux Server with Microsoft AD?
View 2 Replies View Relatedi want to integrate vtiger crm with pdf designer and outlook in linux
View 1 Replies View Related