10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am running an AIX 7.1 system and have come across a strange issue.
I am trying to delete files from a folder using standard 'rm' syntax. After i delete the files , files re-appear again.
File renaming or editing does not help. Files re-appear with 0 bytes again. They are always 0... (5 Replies)
Discussion started by: abhijeet
hi i know this is irrelevant to the question above but i was wondering how to pt a restriction in the filename in linux. I want that it is impossible to add numbers into the filename, help will be rely great , thanx!
This posting was initially given as a reply to an unrelated thread. It has been... (2 Replies)
Discussion started by: samirboss
3. UNIX for Dummies Questions & Answers
I have a text file with 1000 lines, I want to randomly select 200 lines from it and print them as output. How do I go about doing that? Thanks! (7 Replies)
Discussion started by: evelibertine
4. Shell Programming and Scripting
sed -e "s// /g" old.txt > new.txt
While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Discussion started by: ijustneeda
5. Shell Programming and Scripting
What I have are two text files that I need to shuffle randomly, but I need the two files to be randomly shuffled the same way. I have heard of shuf but I do not know how to use it for two files. Maybe there is also an easy/simple awk command I do not know about that could handle this problem.
... (3 Replies)
Discussion started by: adrunknarwhal
6. UNIX for Dummies Questions & Answers
Could you help me writing a simple version control script for a text files.
the format could be
./version_control <file(s)> (I want it to be able to work with more than 1 file at the same time)
commands are add and get, add means you add new file(s) to the archive, get means you... (4 Replies)
Discussion started by: s3270226
I have a netscape 4.79 browser for our GUI which connects to a Solaris5.8 box. During peek hours, we see question marks appearing in the screen instead of the text we enter. This results in query failure. This problem does not happen always, and is quite irritating because, we have to close the... (6 Replies)
Discussion started by: vanz
8. UNIX for Dummies Questions & Answers
I have a directory of files that look like filename 001.ext, filename 002.ext, etc. I'd like to rename the files with unique random numbered names, so that the original filenames are stripped and the files are given a new, random number name. I'm not super new to UNIX, but I don't often use it for... (2 Replies)
Discussion started by: platz
9. Shell Programming and Scripting
Can anyone seem to know how to find out whether a UNIX text file has 'hidden' control characters?
Can I view them using 'vi' by some command line options?
If there are control characters in a text file which are invisible/hidden.. then how do I get rid of them?
Your intelletual answers are... (6 Replies)
Discussion started by: kewl_guy
10. Shell Programming and Scripting
I have special character control M in many of my files as below
ersNet-Telnet-3.03/Makefile.PL100644 21166 144 612 7113770214 135
77 0ustar jayusers## -*- Perl -*-^M
use ExtUtils::MakeMaker qw(WriteMakefile);^M
WriteMakefile(NAME => "Net::Telnet",^M
... (4 Replies)
Discussion started by: Mohammed
deb-old(5) dpkg suite deb-old(5)
deb-old - old style Debian binary package format
The .deb format is the Debian binary package file format. This manual page describes the old format, used before Debian 0.93. Please see
deb(5) for details of the new format.
The file is two lines of format information as ASCII text, followed by two concatenated gzipped ustar files.
The first line is the format version number padded to 8 digits, and is 0.939000 for all old-format archives.
The second line is a decimal string (without leading zeroes) giving the length of the first gzipped tarfile.
Each of these lines is terminated with a single newline character.
The first tarfile contains the control information, as a series of ordinary files. The file control must be present, as it contains the
core control information.
In some very old archives, the files in the control tarfile may optionally be in a DEBIAN subdirectory. In that case, the DEBIAN
subdirectory will be in the control tarfile too, and the control tarfile will have only files in that directory. Optionally the control
tarfile may contain an entry for '.', that is, the current directory.
The second gzipped tarfile is the filesystem archive, containing pathnames relative to the root directory of the system to be installed on.
The pathnames do not have leading slashes.
deb(5), dpkg-deb(1), deb-control(5).
126.96.36.199 2018-04-16 deb-old(5)