Extract untarred files from a tgz in linux [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a large .tgz file which is of very large size(19GB). I started the untar operation in vmware last night but in the morning, I saw a blue screen of death. I dont want to waste time on untarring the files that are already done(5GB). How do I untar the files that are not yet untarred into the same folder without wasting time on 5GB.
Thanks.

With GNU tar:
tar xvf yourfile.tgz --keep-newer-files
Be careful though: the file that was aborted half way through will be also be skipped.

Related

How to save repo file in centos [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a link for the repository file
https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo?_ga=1.139114810.807939978.1489498435
How can I download it? Which command should I use?
You can create server.repo file in following location.
cd /etc/yum.repos.d/
You can copy contains from above URL and save the file. After, you can install a package via yum command.
wget https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/cloudera-manager.repo?_ga=1.118167936.807939978.1489498435
This is the way to download repo file. Now it seems very easy.

cd.. command does not work [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I made a directory in my ubunto desktop and copied some file inside it.
I tried to go inside the directory by using the terminal.
the issue I have is when I want to back to the parent directory which is "Desktop" by using "cd.." command I got an error says cd..: command not found
I'm a newbie and want to know the reason.
would you explain it for me.
thank you
You need space, after command cd
cd ..
You missed the space in between cd and ..:
cd ..
You are missing a space, should be cd ..

How to install TBB on Ubuntu? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded tbb40_233oss_lin.tgz file from http://threadingbuildingblocks.org/ver.php?fid=174
I set "TBBROOT" variable to the directory in my bash_proflie and I unzipped the tar file and navigated to the bin folder and run tbbvars.sh file
I typed
sh tbbvars.sh intel64
I was trying to run examples but it complains as shown bleow
count_strings.cpp:38:37: fatal error: tbb/concurrent_hash_map.h: No such file or directory
I tried to set up the library path manually and I typed
g++ file.cpp -o output -L/path/to/the/lib/-ltbb
but it still complains.
How do I compile the sample code on Ubuntu?
Thanks in advance.
I installed it from the Ubuntu repository, and it works without any problems.

Installing JDK in Linux - the download file appears to be corrupted [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have downloaded JDK, but when I am trying to extract it, I am facing these errors:
[root#ras java]# . jdk-6u26-linux-i586.bin
Unpacking...
tail: cannot open `bash' for reading: No such file or directory
Checksumming...
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
You have new mail in /var/spool/mail/root
[root#ras ~]#
What do I do to fix it?
You want
chmod +x jdk-6u26-linux-i586.bin
./jdk-6u26-linux-i586.bin

how to navigate to a directory in linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded ndk and then uncompressed it. How to change to that directory in linux?
This is my directory: /home/embdes/projects/android1/android-ndk-r5/
When I enter that into the terminal I get: android-ndk-r5: is a directory
Uhm I am not sure if you mean..
To RENAME a directory:
mv old_directory_name new_directory_name
To MOVE to a new directory:
cd path_to_new_directory

Resources