General :: Functions Of The Tar Utility?
Apr 30, 2010What are the functions of the tar utility?
View 9 RepliesWhat are the functions of the tar utility?
View 9 RepliesNone of my daemon scripts work now, and the startup process displayed errors. Should I reinstall the OS and start from scratch, or is there a way to recover these files? Is there a way to rebuild the files I deleted?
View 2 Replies View RelatedIs it possible to define functions within other functions in C++? I know it is the case in other languages.
View 2 Replies View Relatedcpuid utility is not compiled with U9.04 and the utility is not available as a package with synaptic -
other distributions have it available as rpm . url
Any way to run this utility in the Debian world?
Code:
#!/bin/bash
#Functions
CallFunct() {
functio()
[code]....
When I try to run the current code, it stops on the bracket after functio() in CallFunct(). The only way I could get this to run was by removing CallFunct and just calling functio.
I was trying to write a script to change the signature of the all the methods in a set of scripts.. here is a sample of the same :
old signature :
methodname()
{
method-body
}
New signature:
function methodname
{
method-body
}
That is i need to insert "function" keyword in front of the methodname and remove the () after the methodname.
In my code I want to have two different functions to be executed simultaneously (in parallel) in a single processor system. I tried to use pthreads but they happened to be executed one after another. I have heard about fork, some saying that its no longer recommended since its functions can be achieved by pthreads.
View 1 Replies View RelatedQuote:
logcountfunction()
{
awk ' {
# when executing the script pass the logfile as parameter on the command prompt with the name of the file
#export file_name= "&1"
[Code]....
my problem is that when i execute this script only the first two functions are being called.once the DBcounttry_finalnofunc() is done ,the script exits.The rest of the functions are not being called.
In shell scripting, what do or what does this symbol do or mean ? "."(octet), ";" (semicolon)? Would really like to know? Cause I saw a written script if [ -f /etc/file ];then. . /etc/file. Wondering, the "." is meant to be source, so is "." the same thing as "source" ?
View 2 Replies View RelatedIs there any command that can check the referenced functions in a executable?
View 1 Replies View Relatedhow to use inode hook functions(inode_alloc_security and inode_free_security)?
View 1 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 RelatedI am using some "Numerical Recipes in C" routines in my C code.(I am using ludcmp() & lubksb().)These are used to find inverse of a matrix.After compiling my c code, I get following warning messages.I have not understood them at all. What is the meaning of these and why did they pop up and how to remove them?
Code:
nrutil.h:11: warning: 'sqrarg' defined but not used
nrutil.h:14: warning: 'dsqrarg' defined but not used
[code]....
I wrote a simple bash script to let me treat any set of programs like a deamon. For example if I configure the script a certain way I can start/stop/get the status of apache, mysql and php all from one command. I am having a bit of a problem though. I am passing commands as strings to a function and then depending on the arguments to the script it might run one of these commands or another. Some of these commands need to beun in the background though, such as deluge-web. When I send "deluge-web &" to the function and it execute it deluge-web does not start in the background. I can't figure out why this is. I have tried escaping the & with ''s and with a , but nothing seems to work. I know that this is some idiotic thing that I am overlooking, but I am a bit stumped. Here is the script configured to start/stop/get status of deluged and deluge-web.
Code:
#!/bin/bash
function checkanddosomething {
[code]...
I'm pretty new to Linux, but have had a bit of functional tutoring. i'm triple booting my old Dimension 8400. Have been running with Jackalope and XP for some time now and wanted to install Lynx and get a good handle on it before i completely wipe my other machine (Win7/Jackalope) and install it there.
Installed Lynx from a USB stick and all seems well, it recognises the UBS wireless and all available connections but just sits and spins on the password login and never connects...hmmm. I have tried all possible combinations of rebooting with the USB connected/disconnected/connecting after... to no avail.
The wireless seems to "work out of the box" just as seamlessly as it did for Jackalope, all the steps are similar, it just never connects.
Anyone having any idea of any utility or code in linux which is able to trace the ip addressof the user who have just viewed my webpage.
View 1 Replies View RelatedDoes less have an incremental search?
I'm on xubuntu.
Under unix/linux, there is this extremely useful program screen: it's for bash, text-only, and I can detach a session, log out (the session is still running though), log in later (even from a different computer) and resume the session exactly as I left it. My question is, is there an equivalent to screen for X? So what I want to do is: work remotely with ssh -X in an X-session on a remote linux machine, log out, then later log in from a different computer again with ssh -X and then re-attach the X-session; practically resuming work from the moment when I logged out before. Is this possible?
View 4 Replies View RelatedWhat's the best command to use to grab just a regular expression from some text input? I've got is some input is in the form:
<uninteresting><start-marker><good stuff><end-marker><uninteresting>
I can construct a RE to match <start-marker>.*<end-marker>, but is there a utility that would return *just* the <good stuff> I'm interested in? I realise that the alternative is something along the lines of:
Code:
cat <input-file> | awk -F'start-marker' 'print ${2}' | awk -F'end-marker' 'print ${1}'
but it would be better if I could do it all in one go.
I want to copy data from one source drive to three or more destination drive simultaneously. I tried with dd command. But it copy entire Hard disk. Its take long time to copy entire disk. i need the utility or software to copy one source to multi destination simultaneously and fast manner
View 3 Replies View RelatedPlease suggest an utility for locking folders.I am using CentOS-5.4 (64-bit).
View 4 Replies View RelatedAny useful IDE and GUI pkg that I can use under Linux to develop a software utility in C#? It would be good if the license for the GUI pkg allowed my code to be sold and not require it to be given away for free.
View 2 Replies View RelatedI seem to recall that there is a utility that sets up and manages completely different Wine installations for different programs. People use it primarily for games, so that the necessary tweaks and config options that work well for one game do not interfere with another.
I can't remember the name of it, though, and no amount of searching has reminded me.
I was on Ubuntu 10.04 I used the Disk Utility to edit the partitions.
Here is the table it's showing:
Here I deleted 79 GB patition from FAT32 to NTFS and deleted 50 GB space that was ext4 partition where SUSE was residing the bootloader was of SUSE that was working using the same utility.
After that with a live cd of ubuntu I tried to recover the grub but there was no device.map file. Later I found the partition table absent.
The utility shows above table but Gparted shows only 500GB free space without any partition. Please help can't loose all the data.
I can access the partitions in live environment I can't even install a fresh OS because It also shows 500GB unallocated space.
I am using ubuntu 8.04 with GNOME. In windows xp I had 'virtual volumes view' which would create catalog of partition in graphical way & searchable for file or folder. In catalog we can see file size. I want to find alternative in ubuntu.
View 1 Replies View RelatedDo we know of any utility that would read DIMM VPD data in the system? DIMMs on PCIe Card
View 3 Replies View RelatedI seem to recall there exists a small UNIX tool to repeatedly execute and display the output of another command at a given interval.
Kind of like "top" works by default but then for any other command.
Does anybody know such utility?
Which is the most commonly used utility for opening .jpeg, .png and .tiff files on Linux?
View 3 Replies View RelatedFor example: file a:Tom:blackLily:pinkfile b:Tom:bigKate:smallAnd, the result:join -t: a1 a ot:Tom:black:bigLily:pinkBut what I want is:Tom:black:bigLily::pink
View 2 Replies View RelatedI have what I think are hybrid GUID/MBR disks that I created by splitting already MBR/NTFS disks via GParted, leaving unallocated space, then creating HFS partitions within OS X from the unallocated space on them.I want to delete those HFS partitions and re-extend the NTFS on them, but I can't because GParted sees the disk as somehow unchangeable; I assume OS X has done something to them.I now can't extend or do anything to the disks via the OS X Disk Utility OR GParted. What can I do?
View 1 Replies View Related