Search Results

Search: Posts Made By: tvb2727
1,028
Posted By tvb2727
Command Line Help
I am trying to pull information from the command line. Everything is okay except I don't know how to change it from $1 to $2 etc while I am in a while loop. If I hard code $1 in it works fine, but...
17,385
Posted By tvb2727
okay, i added your code, but the # i get is still...
okay, i added your code, but the # i get is still the size of the file. I guess that makes sense though. Bytes(size of the file) and characters are the exact same thing. So why would they make 2...
17,385
Posted By tvb2727
Issue with WC command
I am trying to show out the character count of a file if greater than 500 characters. When I do the -m its show the size of the file and not the characters in the file. Where am I getting confused?...
3,389
Posted By tvb2727
thanks for everyone's help. I got it working I...
thanks for everyone's help. I got it working I think.
3,389
Posted By tvb2727
its on a linux server. #!/bin/bash
its on a linux server. #!/bin/bash
3,389
Posted By tvb2727
itslee - i tried that and its good, but now I...
itslee - i tried that and its good, but now I want to put each of those words into an array. So i can do some things on each of those strings passed etc.
3,389
Posted By tvb2727
Parse a line by a space
I am trying to show each word on a separate line, but read in all the words on one command line. Below is the code I have right now:

read name
MyString=$name
name2=" "
echo $MyString | awk -v...
3,061
Posted By tvb2727
Thanks. Your example helped.
Thanks. Your example helped.
3,061
Posted By tvb2727
How to assign a variable to an array
I want to ask the user to enter an X amount of file names. I want to put those names into an array and then loop back through them to verify they are in the directory. 1st- How would I assign the...
Showing results 1 to 9 of 9

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