Search Results

Search: Posts Made By: HLee1981
5,044
Posted By HLee1981
Thank you so much for this tidbit. I modified...
Thank you so much for this tidbit. I modified what should be line number nine in the excerpt below which eliminated two lines of code that I came across elsewhere. Below is an excerpt of the shell...
5,044
Posted By HLee1981
Thanks so much. I tried both methods and they...
Thanks so much. I tried both methods and they worked. Unfortunately, I forgot to take into account that the particular field within the file where the string is extracted from the space(s) that...
5,044
Posted By HLee1981
Renaming files by appending string from within file to filename
Greetings. I am working in a Linux environment and am trying to figure out a way to rename files in a directory by appending a unique strings that appears within a certain area in those files. I...
2,098
Posted By HLee1981
Appending 0 to dates in mddyyyy format to make it mmddyyyy
There's a file whose date format for the year 2012 are currently in mddyyyy format that we are trying to change to mmddyyyy. Presuming that the grep command in the excerpt below is accurate, it...
8,383
Posted By HLee1981
I misinterpreted the brackets as parentheses...
I misinterpreted the brackets as parentheses (although the command worked despite not using the brackets) - oops! Thanks so much for the explanation!
8,383
Posted By HLee1981
Thanks so much, Jean-Pierre!!! Just wondering,...
Thanks so much, Jean-Pierre!!! Just wondering, what exactly does the parentheses surrounding the variable do?
8,383
Posted By HLee1981
Receiving 'ambiguous redirect' when trying to run command against multiple files
I came across the command string on https://www.unix.com/shell-programming-scripting/141885-awk-removing-data-before-after-pattern.html which was what I was looking for to be able to remove data...
1,662
Posted By HLee1981
Remove specific strings from certain fields
I'm working with a set of files where I'm trying to remove a set of characters from specific fields. The files are comma-delimited, and the characters I want to remove include:
- open parentheses -...
3,356
Posted By HLee1981
I would like to put together something that will...
I would like to put together something that will use the mentioned criteria, and have a specific prefix be appended to the beginning of the filename if it contains the particular string of text I am...
3,356
Posted By HLee1981
Thank you! It works like a charm. Thanks again!
Thank you! It works like a charm. Thanks again!
3,356
Posted By HLee1981
Grepping for filenames containing value in specific segment within file
I am trying to grep for filenames containing a specific value within a particular segment. The lines containing the segment I'm looking through reads like "HL^1^^1^1", "10^9^9^0", and "HL^11^4^8^1"....
32,853
Posted By HLee1981
Is there a command that will only remove the...
Is there a command that will only remove the specified prefix?? That's the only place I'm stuck at.
The examples provided were just examples to help paint the picture of what I was trying to do. ...
32,853
Posted By HLee1981
Hi. Thanks for your help. I should've mentioned...
Hi. Thanks for your help. I should've mentioned that the string of text after the ALPHANUM phrase are not extensions. They have their own extensions actually, like .txt. Sorry for not specifying...
89,737
Posted By HLee1981
I think ls -gt would be one way of doing it. ...
I think
ls -gt
would be one way of doing it. This will give a shortened version of the long list with the oldest files being listed in the end of the list. This should list them by the timestamp...
32,853
Posted By HLee1981
Thank you. I would like to use the bash shell...
Thank you. I would like to use the bash shell though. Is there a website containing the differences between the shells, and specify which variable / command relates to the other, etc.? Also, the...
32,853
Posted By HLee1981
Remove prefix from filenames
I'm trying to put together a shell script that will append specific prefixes based on the content of filenames. I think I have this part down. However, I want to append before that part a process...
5,985
Posted By HLee1981
Thanks!!! It looks like Cygwin's exactly what I...
Thanks!!! It looks like Cygwin's exactly what I was looking for. Thanks again!
5,985
Posted By HLee1981
?Using Unix commands in Microsoft (Windows') DOS Prompt?
I ran a search for "Unix Dos" in the search field box and checked a few pages' results but did not find what I was looking for. I am trying to find out if there are choices of applications that...
102,141
Posted By HLee1981
RTM, neither of the commands worked using the...
RTM, neither of the commands worked using the find/A prefix. The result I get is find: cannot open /A: No such file or directory.

I tried it using a lowercase a after the /.

Thanks.
102,141
Posted By HLee1981
ls command to list recursively ONLY subdirectories
:confused:
ls -dlRr
I've tried different combinations of the ls command using the above-mentioned options but none of them are giving me the output I am looking for.

Objective: To get a...
2,202
Posted By HLee1981
Well, thanks so much for posting the link! I...
Well, thanks so much for posting the link! I really enjoy typing and I'm liking just about everything I'm encountering in Unix at this elementary stage that I'm at. I have added the link as a...
29,041
Posted By HLee1981
Thanks! I copied and pasted the contents of the...
Thanks! I copied and pasted the contents of the script and tested it out with several d*o*t* files I touched, and had fun with it. Thanks!

I do have several questions though ...
1) Can the...
2,202
Posted By HLee1981
Guess what I'll be reading while I'm online this...
Guess what I'll be reading while I'm online this weekend?! =) Thanks so much!

Can this be posted also in the beginners / newbies section as well?

Thanks again!
2,202
Posted By HLee1981
Beginning for shell programming and scripting
I just did a quick search for 'script' and browsed the Shell Programming and Scripting Q & A category, but didn't spot a thread that might help me.

I'm wanting to get into shell programming and...
29,041
Posted By HLee1981
Can you explain the different components of the...
Can you explain the different components of the script? I'm trying to make sense of it (interpreting the script's contents to English) but I'm having trouble understanding it. Also, what are the...
Showing results 1 to 25 of 33

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