Search Results

Search: Posts Made By: vivien_chu
4,179
Posted By vivien_chu
Do I need to extract the entire tar file to confirm the tar folder is fine?
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say...
3,940
Posted By vivien_chu
But the file format is in file.tar.Z
But the file format is in file.tar.Z
3,940
Posted By vivien_chu
compressed and tar file integrity
How can I ensure the folder that I tar and compress is good to be archive in DVD or tape? Must I uncompress and untar the file, or there is any way to tell the integerity of the compressed file...
3,263
Posted By vivien_chu
The output from terminal: 0000000 7 0 0 ...
The output from terminal:
0000000 7 0 0 0 0 0 \r \n
0000011
3,263
Posted By vivien_chu
I opened tmp0.txt with different kind of editor,...
I opened tmp0.txt with different kind of editor, i.e vi and nedit, even with notepad and I don't see ^M . Just a number 700000

---------- Post updated at 11:41 AM ---------- Previous update was at...
3,263
Posted By vivien_chu
Hi jim, the code still won't work.
Hi jim, the code still won't work.
3,263
Posted By vivien_chu
IF is not working in csh script
cat tmp0.txt
700000

#!/bin/csh -fx
set id=`cat tmp0.txt`
echo $id
if ("$id" == "700000") then
echo "Good Morning"
endif
if ("$id" == "700002") then
echo "Good evening"
endif...
2,497
Posted By vivien_chu
How to replace special character using sed?
How can I replace the follong text including to number 7000?

cat tmp0.txt

Winston (UK) Wong

I would the 7000 to replace Winston (UK) Wong.

I fail with method below:
sed ' s...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 02:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy