General :: Can Gunzip Work On File Without A Suffix
Jun 14, 2011Is there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?
View 2 RepliesIs there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?
View 2 RepliesI am using DD to backup entire system partitions and now I am trying to restore one. The resulting disk image from my buggy process has zero bytes. D'oh.It apparently thinks the image was trailing garbage and ignores it. It deletes the original file and replaces it with a zero byte .dd file. I have the original copy of the image in a dd.gz file. It's 6.3 GB so it may still contain the data.How do I get the original image back without destroying it again?
View 1 Replies View RelatedI have a number of files.tar.gz that I have to gunzip to get .tar then I tar -xvf .tar, to get a readable file. Is there a way to do that all in one command. I tried to pipe it being new and all and I get errors.
View 2 Replies View RelatedAs you know everywhere we create a new file ,immediately a backup file with suffix ~ will be created with it if we open the file , i deleted a file but always i have problem with its backup how can delete them with deleting the file?
View 7 Replies View RelatedI have a script (below) which works ok, but I have tried to modify it as I want to keep the older files for a restore if needed. I have tried adding a date suffix to the newly created files (second lump of code), but it doesn't seem to work.I get the error:
$SOURCEDIR/p1db_$DATEVAR.sql: ambiguous redirect
The working original script:
Code:
#!/bin/bash[code].....
how do I gunzip to a destination directory other than the current one?
this did not work:
gunzip *.gz /putthemhere/
how can i copy by script or command files with *.v suffix by "-p" option?
Example:
kuku.ggg
kuku.dd
kuku.v
kuku.vb
only if i try to copy kuku.v by default cp -p will done.
what does kernel suffix mean?After OS installation and supplementary product installation I am discovering a set of boot alternatives and corresponding kernel versions. They have different suffixes: -pae, -default, -trace.
It appears that kernel *-pae is booting normally,while kernel *-default hungs in the middle of booting process being unable to discover certain disk or partition.Some products also have similar suffixes: -pae, -trace,-default. What does it mean? Shall I keep kernels that do not boot?
I am trying to configure Fedora 11 Samba PDC with LDAP backend. All information on how to was obtained at http:[url].......The Howto is not complete. However, I have a real problem when configuring ldap.conf and slapd.conf as I will replace the domain acpng.org.pg with the examples. The problem is when entering the following:
URI ldap://127.0.0.1/
HOST linux-srv1.pqrst.org.nk
BASE dc=pqrst,dc=org # now here, do I put another dc=nk for the
I want to add suffix or prefix in all files (.txt , .avi . , .exe)from a folder
View 9 Replies View Relatedi followed the install method in the g95.org as follows.Installation Notes Unix (Linux/OSX/Solaris/Irix/etc.): Open a console, and go to the directory in which you want to install g95. To download and install g95, run the following commands:
wget -O - http://ftp.g95.org/g95-x86-linux.tgz | tar xvfz -
ln -s $PWD/g95-install/bin/i686-pc-linux-gnu-g95 /usr/bin/g95
everything seemed to work fine. the g95 command in terminal prompted a "no input files" so it seemed to work. i made a quick hello program to test and i get these errors.
/tmp/cc3Ugii1.s: Assembler messages:
/tmp/cc3Ugii1.s:11: Error: suffix or operands invalid for `push'
tested the program with gfortran and it worked fine. i googled around a little and it appears that the error have something to do with a 64 bit 32bit problem. i mean like the compiler is expecting 64 bit, but libraries are 32 bit. or somthing like that.
I was setting up a new Linux box and router today and when I was looking to see if my custom DNS servers were being handed off in DHCP to my Ubuntu box I realized that the isp was shoving down onto my machines their dns suffix. Since I have configured my dhcp scope in the router to hand out a local dns suffix I am not sure why my suffix is not being used. Is there a way to use the .local dns suffix for both my linux and windows machines with dhcp instead of having to manually set the suffix?
View 3 Replies View RelatedI am trying to convert my batch file into a .sh file and i think i have it perfect but it just will not work, so obviously not perfect. This is the code for my batch file.
[Code]....
This works perfectly on my own computer without any problems. I want to host this on my Linux VPS (CentOS 5) and need it to be converted into run.sh. This is the code for my run.sh.
[Code]....
I have install fedora 14. since i am beginner to linux environment .
i cannot open a mp4 file through Movie player . it show a error . with a dialog box " Movie player require additional plugin to decode this file,
the following plugin require: MPEG-4 AAC decoder,H.264 decoder". although after click on search button i won't get the solution...
What is the correct way to copy a file or directory to another directory? In the past I was able to use press the mouse left and right button, it didn't work all the time hard to press the two buttons at the same time. With the Fedora 14 it does not work at all.
View 3 Replies View RelatedI have a script from which i want to disable unwanted services. I wanted to have the list of unwanted services in the same script file. I tried the following, but it is not working...How do I mention list of services in the same file and still make the script work ?
Code:
#/bin/bash
#List of services, modify list between SERVICES tag
service_list=$(cat <<SERVICES
acpid
apmd
avahi-daemon
[Code]...
[admin@ty10063-per ~]$ cd Desktop
[admin@ty10063-per Desktop]$ ls
chevreux_thesis_MIRA.pdf
flower
HKI_B_TCMID15_080410.fasta
HKI_B_TCMID15_080410.qual
code....
I am using a server where i need to login twice. The first time i login as my boxname and pass. The 2nd login is 'root' so i can access the content of the box (i dont understand it but that hasnt stopped me from using it as normal).Now i like a GUI so i can browse files easier and drag and drop multiple files instead of using the command line. WinSCP doesnt work as it locks up. I suspect its because there is a prompt to log in again.
What can i use to drag & drop files?
If I have SMP kernel would it work with single processor or only work with multiple processors system?
View 6 Replies View Relatedi have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,
View 1 Replies View Relatedi have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
View 3 Replies View RelatedI have a project on google code and I want to add a file to it I am using xubuntu 8 so I need to use the terminal.I thought I had to put svn add and the file name but that did not work. Anyone know?
View 1 Replies View RelatedI want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .
View 5 Replies View RelatedI'm trying to understand how file/io access works.
If I have this:
Filesystem Mounted on
/dev/sda1 /
/dev/sdc5 /backup
/dev/sdb1 /database
And I access a file in /database, does the system access the disk containing /database directly, or does it go to /dev/sda1 disk for access to /, then finds a pointer to /dev/sdb1 for /database and then moves on to the correct disk?
I cant play mp3 or avi or mp4 or mkv file in fedora 13
what i am must todo?
i want code for play file, where can i find all code for play file
i am new in linux and fedora 13
i have installed mtn and its work perfectly in shell, i have written a php script to run mtn in browser, if i run this php script in CLI it works well and if i run in browser its not working, here is the code for php
Code:
<?php
error_reporting(E-ALL);
if (function_exists(shell_exec)) {
[Code]....
I have a situation in an office where a LAN will be installed - what I want to know is, after that, can 2 people open the same spreadsheet file, i.e. the person on the computer that it's on, as well as somebody across the LAN?
View 4 Replies View RelatedWhen using firefox to open a file attachment in web mail the update configuration runs but next time the same box appears to select which program to use , in firefox preferences / applications there is no way to add a new file association for a new filetype eg .doc or .xls ....!
I tried switching off suse integration with firefox but it made no difference .if anyone has a fix for for this i can save myself a lot of time .
Firefox version 3.5.9
open suse 11.2
AMD Athlon(tm) II X2 240 Processor
Speed: 2,800.00 MHz1.8 GiB
Free memory: 788.6 MiB (+ 605.2 MiB Caches)
Free swap: 2.0 GiB
Tried "publish file" in ubuntu one (web interface) to show a file to a friead, it worked great, then i selected stop publishing file, and according to ubuntu one it was not published any more. But my friend can still download the file from the url given, and so can I. Then I tried publishing it again via nautilus, it gave me the same URL, and stop publishing via nautilus, and the URL still works. Now I have the feeling that maybe all files in ubuntu one is accessible to the world by guessing the right URL. How can I know for sure? At least this one file now is world accessible even though ubuntu one says it isn't.
Found one bug in launchpad, which is closed because it supposedly works. Anyone else tried unpublishing files? [URL]
Even on my Windows partition, I'm unable to send and receive images on Pidgin 2.7. What do I need to do?
View 2 Replies View Related