General :: Uncompress Zip File?
Apr 23, 2009I ftp upload a zip file to a linux pc, for example, somefile.zip, can I uncompress the zip file use "#tar zvf somefile.zip",
View 5 RepliesI ftp upload a zip file to a linux pc, for example, somefile.zip, can I uncompress the zip file use "#tar zvf somefile.zip",
View 5 RepliesI have got a backfile with extension .tar.gz.enc. After fooling around I found out that it is encrypted gzipped tarball.
View 2 Replies View RelatedAs the thread title says: "How can I uncompressed a .KGB file?"
View 1 Replies View RelatedI intend on installing a version of Freebsd 8.2 under a virtual machine running on centos 5.6.The dvd image image is FREEBSD-8.2....xz. I would like to uncompress it so that I can burn it to a DVD, but have never confronted such a format. Can someone suggest which utility under Linux would be used to uncompress it?
View 4 Replies View RelatedI have a fairly simple setup for my Network attached storage. I have a 1TB external hard drive connected to my Asus RT-N16 router through USB. I have enabled file sharing in the router, and thus the hard drive shows up on the network as a shared folder. No hassles, I can read and write to it.
Because I want to use this hard drive for networked backups, I tried to get it to mount on boot with fstab. Here is the line in my fstab file :
Code:
//192.168.1.1/SharedFolder /media/SharedFolder smbfs guest,_netdev 0 0
It mounts fine, no problems, and once again I'm able to read and write files to it. The problem occurs when I try to access the mounted drive and uncompress an archive file for the duplicity backup program. It gives me a list of messages showing that all the files inside the archive failed to uncompress because of error messages like these :
[Code]...
If I try to extract the same archive by manually going to Network > RT-N16 (Router) > Shared Folder, it extracts fine. But I need this folder to be mounted on boot because I use it very frequently. I tried changing smbfs to cifs and it still didn't work. Please not that my knowledge of samba, network storage and file systems is very basic. I tried searching the internet for more information about this but wasn't able to find much information that pertains to this particular problem. Hoping the linux pros here could give me some pointers ..
How to install ImageMagick on slackware? I can't run ./configure after I uncompress the file. I was trying to install a software and it says Imagemagick is not installed but when if I run identify -version there is some kind of version displayed but I'm not sure if it is installed.
View 3 Replies View RelatedUpon attempting to uncompress a tarball with
Code:
I'm running a script and the response is, missing utility no uncompress. Please install this utility. The system searched in /usr/sbin; /usr/bin/; /bin.
where I can receive a uncompress (which I guess is a .rpm) or utility that will work with my version of RHEL 5.6?
Running I386 GNU/LINUX
2.6.18-238.el5 #1 SMP
I have a folder and its contents with the following permissions: 2750 (sguid bit). With this I ensure that a newly created file or folder inside that folder will adopt the SGUID. The problem is that if I copy files into that folder, these copied files don't adopt the SGUID. So I have to execute constantly the command: chgrp -R thegroup nameofthefolder everytime I copy or uncompress something into that folder. Is there any way to achieve this (force the SGUID even in copy and uncompress commands) automatically?
View 5 Replies View RelatedI want to search a directory recursively looking for new .rar/ .zip files. When a new file is found I want to extract the contents to another directory. To top things off would like to rename the source file as something like original.rar.extracted.
View 8 Replies View RelatedI was given a 1.9GB zipx file. I googled it but could not find a way to uncompress it natively on Linux (only on Windows with the latest release of Winzip).
View 1 Replies View RelatedI have been given a 1.9GB zipx file (created with a recent version of winzip). I can't find a way (and yes I googled it) to open it on Linux.
View 2 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 want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .
View 5 Replies View RelatedI work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies View RelatedCan't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also need to keep the order intact after copying.
For e.g - If I get a JPG file under /home/usr/new/1/ then the destination also needs to be /test/old/new/1/.
At the moment, I am simply putting all files under /test/old/ and I can't somehow get the later /new/1/ folder path created under /test/old/
I understand this could well be done using while OR if else loop, though if someone can just guide me with a hint, I would be really grateful.
I will complete the rest of the steps and was asking here since I am still not comfortable with the shell/bash scripts yet and planning to be really good at it over the next couple of months.
I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.
View 2 Replies View RelatedHow can I check and set who can view or open a given folder or file?
View 1 Replies View RelatedI am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
View 1 Replies View RelatedI have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:
outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:
[code]....
How can I read .gz file direct on shell/terminal without decompressing the file?
satimis
I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies View RelatedI'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.
View 1 Replies View RelatedI was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.
i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.
View 5 Replies View RelatedMany folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies View RelatedI wonder how to arithmetic operation of our data file using any script program/command (like sed, cut,awk)for example my data.file is:
45 65 42
12 23 61
43 34 21
I want to multiply first column with 2 and add second column with 3 then it become
90 68 42
24 26 61
86 37 21