I'm a noob in Ubuntu. I need the program which will help me to learn different ubuntu commands. I often forget them and after reinstall I don't want to search them in Google. Now I write them in the standard text editor and my code looks like this:
I want to parse the AT commands using C programmemy problem is to send message using At commands in minicom from one system to other system using socket programmingif i will send here AT on other system it should respond as OK,and if we will send AT+CMGS="ip address" "message", on other system this message has to display can any one please tell me the code in C language
I want to parse the AT commands using C programmemy problem is to send message using At commands in minicom from one system to other system using socket programmingif i will send here AT on other system it should respond as OK,and if we will send AT+CMGS="ip address" "message", on other system this message has to displaycan any one please tell me the code in C language
i want to see the source code of different commands .how they are working ??for ex why ls is listing all the files and directory .what code is written for ls so that it is listing like this.where the source code is kept by the os
i need to make a to-do list for my project, everything is fine so far. but i really dont have a clue on writtiing this part: we need to write a programme that takes input from a text file then either encrypt or decrpyt it. according to the ASCII code of this charecters the user should give us his/her own keyword then the program will save the output in a new file .
I want to do some sort of emacs scripting. Means I want to write a script with several commands like searching copying etc. and then execute it inside of emacs. I'm sure this is possible, but I wasn't able to find a way to do so.
I have read where C is first converted to Assembly before its final compilation to binary. Is there a way to do this with Bash commands? I would like the understanding that Assembly allows to Bash somehow.
I'm writing output of top command to a file However since top does not provide time I would like to append the 'date' command and then write all this to a file.
I have source code that plays video stream, and can open a remote video file if provided with a URL. But I have a problem getting video from ...... the URLs I get look like:
[URL]
and my code expects something like [URL] I need to modify the code, such that it will find the actual file.
How do you write a program that is independent of the UI (the functionality is a library, and you have, for example, CLI and GUI interfaces as separate apps). The problem I have is how to report status and prompt the user from within UI-independent code? I could split it into parts that do not require any user interaction, but then most of the functionality will be in the UI, not the backend.
I'm looking at an rc.sysinit: # Remove stale backups rm -f /etc/mtab~ /etc/mtab~~ # Enter root, /proc and (potentially) /proc/bus/usb and devfs into mtab. mount -f / mount -f /proc mount -f /sys >/dev/null 2>&1 mount -f /dev/pts I can't figure out what those "~"'s are doing. From the comments it's keeping mtab open to write the next (how many?) commands?
I am trying to write a C++ Code to read write a XML file in C++.I researched a lot and find xerces is used for that but I am not able to write the code for that.Please provide me some links on how to run a code that R/W a xml file in C++.
I'd like to write a Makefile for my CUDA/C++ code but I didn't know how things work with CUDA, I mean there is a nvcc compiler but I don't know what I've got to do with this. Do I have to firstly run nvcc and then g++ or only nvcc to compile my CUDA/C++ code ? I found nothing on the web explaining such basic things .
I am writing some code in matlab and I would like to do some reading of how to write cleaner code and how to name variables and write comments. One more questions. Let's say that I find for example a file that has really nice structured comments. For example specific format commenting function inputs, outputs author code. Can afterwards copy and paste and use someone's comments format or this is might some copyright problem?
i was trying to figure out a way to write my own linux commands.. in fact i wanted to write a shell script to simulate an already existed linux commands like 'cd','ls' and'adduser'i just dont know the language of scriptting and even doesnt know the steps to make a script
I try to write a code that allows ns to simulate the operation of the leach protocol in a network but I can not find documentation that would allow me to do that. how should be the configuration of nodes and the base.
I need to do some text file manipulation which I think should be done with standard commands in BASH. I'm looking at comma seperated text files (stock market data). It comes in the form of date, stock code, open, high, low, close, volume. What I need to do first is move all data with same stock code sequentially into individual files.
While doing this since the stock code will now be the file name I need to remove the stock code. Next I need to filter out overlapping data from different files with the same date. ie. where two files contain the same date on the one line only one line will be added to the combined file. I think there must be a tutorial out there for basic text manipulation like this, I just haven't found it yet.
Is there any way to run commands of other programs from the terminal?opened a doc file from the terminal using>openoffice.org filename.docis there any way to executeSELECT ALL[ctrl + a] orCOPY [ctrl + c]from the terminal?
I have a 8 core computer, which has 8 logical processor in total. I want to create 8 process(nodes). Each node is mapped to each logical processor. The order is code...
I wrote the code as below, could you please see whether it is correct? code...
how to write secure code for bash scripts in general? Strangely I didn't found anything in google and in the forum so far. If someone here is willing to review a bash script for me (about 600 lines).
i have installed ubuntu 10.10 marverick, and on it i have installed code: blocks 10.05 and i want to run a program using opencv 2.1.0 in code: blocks.. when i build the program it builds properly without any warning but when i run it it does not show any output....
I want to execute Linux commands using a Java program. I came to know that we can use Runtime.getRuntime().exec("commands") to execute the commands through the program. I'm new to both Linux and Java.
I am wonder if somebody could take the time to teach me to install or compile a program from source.I have downloaded ZSNES from sourceforge but cannot figure out how to install it from the command prompt or using the package manager.
I installed Code:Blocks (8.02 from ubuntu software center) and try to run sample program (at first I tried some program related to OpenCV and configure the project for it).
The Build went OK but I cant Run the program. So I tried the simplest progrma of hello World and still I get the same error even on a clean new project.
The Error: "error while loading shared libraries: cv.so can not open shared object file : No such file or directory"
I got to the prompt in the subject line. Then I typed grep /sounds/ and return.Then the program stopped responding to commands. I could type things, but nothing happened. Not even when I typed kill -9 and return.Why did the thing freeze up? I don't think there is folder /sounds/.
In below program I want to add (as part of the valid_cmds string) the pwd (print working directory), lo (logout), and cd (change directory) commands. However when I add those into original program ; char *valid_cmds = " ls ps df pwd lo cd"; they are not working I have the cout message huh? Original source code is below code...
I am trying to write a script (especially C-shell) to execute a fortran code that reads in parameters from keyboard typing. I will have to process this .F code for many times with the parameters the same for all my data files, therefore, I don't have to type in everytime I execute the .F code. But I don't know what is the command in c shell to read in a text files that contains all the parameters I want and can make the shell read in appropriately to feed the .F code.