10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have been searching how to do this but I can't seem to find how to do it. Hopefully someone can help.
I have multiplr files, 100's example 12345-zxys.213423.zyz.txt. I want to be able to take all these files and remove the first '12345-' from each of the files. '12345-' these characters... (5 Replies)
Discussion started by: israr75
2. Shell Programming and Scripting
I have multiple files having many lines like as bvelow:
file Name a.txt
file Name b.txt
I would like to append files in the below format to a new file:
file Name c.txt (7 Replies)
Discussion started by: rramkrishnas
3. Shell Programming and Scripting
I am writing a code to append some numbers in the beginning of each line in all the files present in a directory. The number of files are really huge. The files are numbered as 1.sco, 2.sco, 4.sco (Note: 3.sco is missing).
The files currently look like this:
6 7My task is to... (4 Replies)
Discussion started by: shoaibjameel123
4. UNIX for Dummies Questions & Answers
Im trying to use wild cards to find files that start with either an upper or lower case letter e.g. list files that beginning with b or B, i also want to sort them by the time they were last modified. e.g latest file created first.
At the moment i have the following code that
ls -d... (3 Replies)
Discussion started by: parker4001
5. UNIX for Dummies Questions & Answers
I have 50 text files in a directory called "AllFiles"
I want to make a program that will go inside of the "AllFiles" Directory and count the number of lines in each individual text file. Then, the program will calculate how many more lines there are over 400 in each text file and... (7 Replies)
Discussion started by: motoxeryz125
6. Shell Programming and Scripting
I have a folder that contains hundreds of file with a names
I need rename each of this file by adding "core_" in the begiining of each file such as
core_21.msa (4 Replies)
Discussion started by: Lucky Ali
7. UNIX for Dummies Questions & Answers
Hello. I have the following issue: my txt file has the following format:
0 80282 Severe myopia contributed to Ron's inferiority complex.
0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
awk 'NR%2==0' test1.txt >... (4 Replies)
Discussion started by: li_bi
8. Shell Programming and Scripting
I want to use a script (preferably awk) which determines if the first character in a line is double-byte (as in Japanese or Chinese) and deletes it.
(in the above quote, I see Japanese on my screen for two lines - with 2 characters in the first and 3 characters in the... (8 Replies)
Discussion started by: ubbeauty
9. Shell Programming and Scripting
I want to script out deleting the first field of a file when it is created. I'm looking to store the output of an ls -l commad to a file but leaving off the permissions so when the file is opened I see something like;
2 bin bin 256 Feb 6 2005 mnt
5 root system 256... (2 Replies)
Discussion started by: daveisme
10. Shell Programming and Scripting
I've been searching around here and other places, but can't put this together...
I've got a unique list of words in file 1 (one word on each line).
I need to delete each line in file2 that begins with the word in file1.
I started this way, but want to know how to use file1 words instead... (13 Replies)
Discussion started by: michieka