General :: Difference Between Shell And C Programing?
Jul 20, 2011Difference between shell and c programing
View 4 RepliesDifference between shell and c programing
View 4 RepliesI am looking for a powerful command line tool to send and receive data via socket I mean define IP , port and data other options for command to send and receive data from sender.(like a high level socket programming)
View 4 Replies View RelatedI am the new child of the linux world. What is the difference and working functions between kernel and shell..
View 5 Replies View Relatedproblem created on making c programing lang.
View 1 Replies View RelatedDoes somebody recommend some good forums about linux programing?
View 6 Replies View RelatedI am facing problem with the following script. Could you please look into this.echo 'Enter Staging number' case $STGNUM in
1)
for i in {'stg1-greg','stg1-marsha','stg1-peter','stg1-jan','stg2-greg','stg2-marsha','stg2-peter','stg2-jan'};do echo $i; ssh $i sudo -u dev /opt/usr/apps/workflow/stopwf.sh;done;
[code]....
I am bussy with a litle bash script but i have now a problem.I have a file on the server with every time different text.Somewere in this text the is the following line:PHP Code:<BR><DIV CLASS='itemTotalsTitle'>2 Matching Service Entries Displayed</DIV> I want to make a bash script that replace this line when it says:"0 Matching Service Entries Displayed"To a other text like:"There a no knowing problem(s) on this moment."]If there is a other number than "0" than replace this line with:2 problems have been found on this moment, whe are bussy to fix this problem
View 3 Replies View RelatedWhat is the difference between filename and ./filename? Under what circumstances is one preferred to the other?
View 5 Replies View RelatedWhats the difference, and when do you use which?
View 2 Replies View RelatedI have a application on linux , I can excute it in command line . but when I invoked it via CGI(perl) , it can not excute successfully , so I suspected that there is something different between SHELL and CGI environment , but I haven't figure out what the difference is .
View 3 Replies View RelatedI searched around but I can't get a good handle on the difference between the following formats in BASH shell.
$VAR
$(VAR)
$((VAR))
$($VAR)
$(($VAR))
Can someone explain it, or point to a clear, concise document explaining it?
I need a code for a multi client and server
where a client need to login to server after a connection has been established if login is not sucessfull connection should be terminated I need it in c language
server asks client name and password if authenticated , a connection is established . and if client is new can also register its name
I have done it using files but its not working when asks for user name it searches a file with that username if a file is found and password with same as username it opens the username file check for the string if it matches with the string login is ok
I installed Fedora 11, but i can't do programing
teh fedora seems not to include anything IDE for free like previous version
I can not search on installed desktop what software were included
it asks me to connect to the Internet to view the installers and install new things
I'd also like to compile latex to have a Qt IDE installed but none are there for me
i am in the process of learning bash programming,i have a any problem,about call my own C language functions directly or runtime from bash shell?
[Code]...
I am in the process of learning bash programming,i have a any problem,about call my own C language functions directly or runtime from bash shell?
example :
each functionCalltobash1 and functionCalltobash2 have many other function inside themself.
Is bash shell support invoked my C function?
The first is Mp3 which is no problem for Ubuntu. The second is WMP, also no problem. The third format is WMA, which uses an Overdrive Media Console designed to run in Windows. This has stumped me. I was hoping to run it in Wine, but the media console refuses to download into Ubuntu. Then I tried downloading the audio file straight into Ubuntu. What I get is a text file in some programing language, parts of which are in readable english describing the book and lines of code refering actual audio files(HTML tags?).So Can anybody tell me how to play WMA audio books in Ubuntu. The rest of the media is installed and works perfectly.
View 1 Replies View RelatedI was messing around trying to be able to download minecraft to my computer (it's very confusing for Linux, and I know nothing about this system!) Now when I try to install apps in the Software Center I get this error:
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
return depends, self._cache.required_download,
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the sun-java6-jre package. This might mean you need to manually fix this package.
I've seen a solution that seemed to work for someone else but when I go into the Terminal and type in the commands it asks for my sudo password and I have no idea what that means/is because I never set any kind of password like that.
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies View RelatedI would like know when it is necessary or advisable to write a shell script instead of shell function ?
View 3 Replies View RelatedI am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?
View 3 Replies View RelatedI added created a script /opt/path.sh to add paths for some programs in /opt. The content of the script is:
Code:
#!/bin/sh
export PATH=$PATH:/opt/program/bin
I made it executable and added it to /etc/profile. But it doesn't execute the script unless I execute it with "source /opt/path.sh" I have found something [url]. According to this, the change is only at run-time. But I thought executing "export" make it global?
I'm trying to Use Expect to automate a curl function. basically I don't want to type enter for my script to run. Can anyone point me to a good Expect tutorial?
View 1 Replies View Relateddf -k
/dev/sda6 25396228 21249088 2836240 89% /export
21G used[code].....
The 3.4G is correct because we have removed all non essential file but free space reported by df is not consistent with the actual free space that should be there.
the difference between GLX and EGL?
View 1 Replies View Relatedwhat is the difference between C and gcc...
View 12 Replies View RelatedLast week in one of the Interview Dump Papers I read about NIS+. Anyone who can quick reference how the setting up NIS is different from NIS+.
View 1 Replies View Relatedwhat is the difference between a GUI and KDE..
View 5 Replies View RelatedI need to know the exact difference between SCP and SSH can somebody explain please as i am confused as both seem to do the same thing if so let me know what the difference is.
View 4 Replies View RelatedWhat is the difference between /dev/tty and /dev/pts ??
I google a lot but didn't understand......
Thanks in advance
What is the difference between |less and |more ?
View 7 Replies View Related