General :: What Is The Function Of Createrepo - Command While Installing Yum

Jan 16, 2011

I m using Redhat linux 5.1, I want to know what is the function of 'createrepo .' command while installing yum.

View 1 Replies


ADVERTISEMENT

General :: What Is The Function Of Resize2fs Command

Jun 23, 2011

what is the function of resize2fs command and how this command works internally , how it is related to inodenumber or does it format the partition

View 6 Replies View Related

General :: Installing OS's Without The Installation Function At The Bootstartup

Jul 20, 2011

i tried to install OpenSuse that I got via a download link that a friend sent me, but its a LiveCD without the installation function at the bootstartup. the only given options are:

Gnome3
Failsafe-Gnome3
Memory Test
Boot from harddrive

there is no installation option. So after that I just ran Gnome3 as a liveCD instead and attempted to install windows xp from a flash from the LiveCD desktop. Because I cannot install XP from boot (it has no bootsector) But I couldnt get the installation to start, because exe's aren't the same thing in linux.

So I downloaded Ubuntu, When booting from the Ubuntu Disc I get "kernel panic not synching VFS..."
so instead I turned my flash into a pendrive, went into the OpenSuse liveCD and attempted to install Ubuntu from within the Live-CD Desktop. but the only setup files I can see are Exe's, and Im not sure how I would go about installing it otherwise. If you have any advice to get this working, or to get a proper Linux installed on my computer So far I have downloaded:

GNOME_3.i686-1.3.0-Build1.3
ubuntu-11.04-desktop-i386
Windows XP

Just to add. I have also tried to install WINE and Synergy to OpenSuse, but I do not have a clue on how to install them properly. Upon extracting the tar.bz2 files they both give errors.

View 11 Replies View Related

General :: Function Of Netstat -a Terminal Command?

Jan 26, 2011

I had a dream least night in which I was on my computer and I was typing the command Netstat -a in command prompt in Ms-Dos. And I was wondering why it looks so much like a Linux terminal command? This question persisted in my mind after I woke up. So what is the story about it?

View 3 Replies View Related

General :: Function In Bashrc Is Not Recognized On Command Line?

Feb 28, 2010

I have added mkalias in my .bashrc file as I learnt here

[Code]...

View 1 Replies View Related

General :: Command / C Function To See Cpu Number On Which Process Running?

Feb 22, 2011

When I fork multiple processes, is there some command or c function to see the cpu number on which the processes are running?

View 3 Replies View Related

General :: Function Having Background Process Inside Command Substitution

Oct 5, 2010

The first call to "somefunction" works as expected. The function prints "endfunction" and a process in background sleeps 30 seconds. In the second call I thought it should work in the same way, but the script sleeps 30 seconds before it prints "endfunction".Does someone know the reason of this behavior? Is there another way to do a command substitution of a function that has a background process without have to waiting for that process?

View 2 Replies View Related

Fedora :: Createrepo Package Depends On Unrealeased Yum?

Aug 2, 2011

Tried to run sudo yum update and got this error on two different Fedora machines

Code:
Error: Package: createrepo-0.9.9-4.fc15.noarch (updates)
Requires: yum >= 3.2.29-8

[code]....

View 11 Replies View Related

Fedora :: Using 'createrepo' And Building A Local Network Mirror

Aug 3, 2009

As the title says I'm trying to build myself a local RPM mirror. I have multiple laptops and a desktop that use Fedora 11. So I used 'rsync' to setup and sync my directories. I next went on to create my repo with the 'createrepo' function. I run my server backend as FreeBSD so I moved my data over there and setup my 'lighttpd' service.

Everything went fine until I used 'rsync' and synced up my data. Am I supposed to run 'createrepo' after each sync? If so, does anyone else use the same kinda setup, even if not FreeBSD, but a different os other than linux for their server that they run this from? I've been dealing with this for 2 weeks now and finally gave up researching and testing and thought. Not something I'm good at doing. Check my register date and my first post date.

Edit: FreeBSD doesn't have a port or unofficial port for this. I noticed it seems to be written as a python script so thought I could somehow get it to run on FreeBSD with linux emulation.

View 7 Replies View Related

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

Fedora :: Timer Function Through Command Line?

Jan 13, 2010

I've been working in a program in BASH and would like to measure its efficiency in different machines. Of course I am able to display the date at the beginning and at the end of its execution, but I'd rather use some sort of timer function to measure in seconds its speed. Is there any timer function available through command line?

View 6 Replies View Related

Ubuntu :: Send The Command For The Print-screen Function?

Jun 15, 2011

I am writing an expect script and I want to send the command for the print-screen function. So, what is the command? Alternatively, is there some terminal application which may be well suited to take screen-shots via commands from the terminal or automation scripts?

View 2 Replies View Related

General :: First Command To Run After Installing Ubuntu?

Mar 26, 2011

Ubuntu is a great operating system. It fast, secured and easy to use when compared to most of other operating Systems. But Ubuntu is not complete without some additional packages. One command make Ubuntu useful for everyday use. To get started, press Ctrl - Alt - T on your keyboard to open Terminal. When Terminal opens, type the command below and press Enter to install. sudo apt-get install ubuntu-restricted-extras Programs that will get installed after running the above command are: MP3, DVD Playback support Microsoft Fonts Java Runtime Flash Player and many codecs that are required to play MP3 and DVDs. (OR) install Ubuntu restricted extras Ubuntu by default, doesn't allow you to play MP3, DVD, Flash or most media formats for legal reasons. You must always install additional programs that will allow you to play those media To install Ubuntu restricted extras go to Ubuntu Software Center from the application launcher. Then search for "Ubuntu Restricted Extras" and Install . It will install commonly used pplications with restricted copyright (mp3,avi,mpeg,True Type,java,Flash,Codecs). Allu John Sudhakar System/Network Administrator

View 1 Replies View Related

General :: Ubuntu Command For Installing 'tr '

Mar 24, 2010

I need to use tr command in my bash script and since it is not found in my linux distribution I tried to install it by using the following command: sudo apt-get install tr

and it spitted out the following error message: E: Couldn't find package tr

what is the command I need to use in Ubuntu linux to install tr and get it working.

View 1 Replies View Related

Programming :: Python - Call Function From The Command Line After Compile The Program?

Dec 28, 2010

If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?

View 5 Replies View Related

General :: Installing A Program And Have It Accessible As A Command From Any Directory?

Dec 23, 2010

I want to install a program (specifically metasploit), and have it accessible from any directory in the terminal. I have it installed correctly, but I have to travel to the directory it is installed in to run it (by using ./msfconsole ). I want to be able to be in any directory and just run "msfconsole" and have metasploit run. I have to copy the metasploit folder to the /opt/ directory? Maybe the /usr/bin/ directory?

View 3 Replies View Related

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related

OpenSUSE :: Get Function Set_magic_quotes_runtime() To Function On The Newer Versions?

Mar 30, 2011

I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)

That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?

View 9 Replies View Related

General :: Command (such As "tree") Without Installing It System Wide ?

Sep 19, 2010

I'm connected to a Linux box through SSH on which I don't have administrative privileges. The command I wish to use is called tree, but it isn't installed. Is there any way I can load the tree program into my home directory and run it without the need to install it system wide?

View 2 Replies View Related

Programming :: Bash Array Add Function Example Using Indirect Array Reference As Function Argument?

Jun 20, 2010

I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.

#!/bin/bash
addelementtoarray()
{
local arrayname=$1

[code]....

View 10 Replies View Related

General :: Use Own Function Instead Of Kernel One?

Mar 29, 2010

I am developing a function say my_abc() which does the same thing as kernel function abc(). Now I want that instead of using predefined kernel function kernel starts using my function. It might be possible that the kernel function has been used so many places.

View 7 Replies View Related

Red Hat :: Installing RPM Packages Using Yum Command

Feb 15, 2010

I am trying to install the rpm packages in a file by using "yum" command. The RedHat version is 5.3. This worked on RedHat 4.4, however it errors out when run on RedHat 5.3. Are there any options to include in the command line?

View 3 Replies View Related

General :: Unset Or Get Rid Of A Bash Function?

Jun 19, 2010

If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.

Consider this (trivial) bash function, for example, set in a .bash_aliases file and read at shell initialization.

function foo () { echo "bar" ; }

How can I clear this function definition from my current shell? (Changing the initialization files or restarting the shell doesn't count.)

View 1 Replies View Related

General :: Pass All Arguments To A Function?

Jul 6, 2010

I've got a sticky little problem with a bash script. Please consider the following code:

Code:
#! /bin/bash
processArgs() {
echo "Count = $#"
while [[ $# -ne 0 ]]; do
echo $1
shift
done
}

processArgs $* If I call this script with Code: ./script first second third it'll print each of the argument on a new line - exactly what I would expect. However if I call it with

Code: ./script "Single Argument" "Second-Argument" it splits the first argument in two using the space as a delimitor. The problem appears to be the call to processArgs, where $* doesn't honour the quotes around the variables sent to the script.

View 4 Replies View Related

General :: Echo Function In .bashrc?

Feb 25, 2010

I'd like a function in my .bashrc file that would allow me to pass text to it and echo the text to a specified file. I know it's simple as "echo 'text' >> file," but ideally, I would want to alias the function so I execute something like:

Code:
user~ $ write 'this is a test' with "write" being the function, and 'this is a test' being echoed to the file. I hope I explained that well enough.

View 3 Replies View Related

General :: Function To Delete A Folder?

Dec 23, 2010

Is there any function to delete a folder which has few files in it ?I tried rimdir() bit it can only delete empty folders; unlink() can not delete directory entries. any other function ?

View 7 Replies View Related

General :: Just Use Dumpfile Function Of Libpcap?

Jul 15, 2010

These days i try make a simple sniffer for a embedded system. and it need the function of dump all the packets into a file, which can be read by wireshark..etc. First i copy a code called simplesniffer.c from the Internet,and and now I want to add the dumpfile funtion to it. i find some problems.Quote:

/* Come from ---- http://blog.chinaunix.net/u/24474/showart_226419.html */
/* simplesniffer.c */
#include <stdio.h>

[code]...

View 2 Replies View Related

General :: Replacement For Clrscr() Function?

Jan 21, 2011

i have been using turbo C for a while to do programing . can u plz let me know the replacement for clrscr() function in linux

View 1 Replies View Related







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