Summary: Greeting. I need to concatenate all the files with similar File names. For Example, I have 5 files, 1_100 2_100 3_200 4_200 5_300 Now I need to have 3...
Summary: You can't have two files with the same name. The OS won't allow that. Apparently there are hidden characters in one of the file names. That also hap...
Summary: Hi all I concatenate files using cat. Each file contains only one csv data. for example, file1 100 file2 200 cat file1 file2 > newfile newfile 100 20...
Summary: Hi all, I've got a question, it's probably a basic problem, but as i'm new to unix thought i'd try this forum out. The problem is, i'm trying to use...
Summary: I'm interpreting that you want to find all the files with two spaces in the name and rename them to one? There's no need to escape the spaces, and you...
Summary: ls -al |grep "Oct 18 2001" >filename.txt This would put all file names with the date of Oct 18 2001 into the file "filename.txt". ls -al *.txt|grep "O...
Summary: Depending on the naming convention you could use a simple find command. Are all of the file names(file1, file2, etc) the same? Do all of the extensio...
Summary: Write a Bourne shell script that accepts two names as script arguments, and will continuously displays the following menu until the user selects optio...
Summary: T.T. I'm assuming you want to copy files with a creation date of May 13. The 6th and 7th fields of the 'ls -l' command are the month and day: #!/bin/...
Summary: Here I got some UNIX problem..Hope you can help.. 1)Write a UNIX command to concatenate the contents of all files in your present directory and to put...
Summary: Hi I have a query for everyone.I want to remove all my system generated core files but if in the script.I execute using the find command #!/bin/sh fi...
Summary: In a ksh script I get a file with a path from another program. I need to create the file and it's directories. I know mkdir -p can make the dirs but h...
Summary: Hi, I am trying to write a unix shell script that will scan a directory - find a file with the lowest sequence number and kick of a process with that ...
Summary: Thanks, fellas. Just a couple of problems with these though. The first solution lists files with *.extension. The last two list directories along w...
Summary: How can I delete a file with the name -C in unix? I tried below and get the error. > rm "-C" rm: illegal option -- C Usage: rm [-Rfir] file ... ...
Summary: hi, i am having set of files with the naming convention grap_Life_$cc$yy$mm$dd.txt. The above file was created by a script on this month.. i would li...
Summary: For the two directories that your ls shows, that would be the number of subdirectories in those directories. And the two special directory references...
Summary: Need help with a command for changing the following KREMS|XXXX YYYY|HHHH| YYYY UUUUU |YYYYYYYYY|IIIIII need to change it to: Krems|Xxxxx Yxxx|Hhhh| ...
Summary: do the core files have similar names? are they files (vs directories or sym links)? have you done a "man find"? have you googled "linux find tutorial ...
Summary: #!/bin/csh echo "total arguments $#argv" # check the command line arguments. If they are less than 3 then # show the usage message and exit if ( ${#ar...
Summary: I have been doing quite a bit of reading on sed over the last day or two, and I am kind of stumped on one particular thing. Is there any way to save ...