Search Results

Search: Posts Made By: mistsong1
8,941
Posted By mistsong1
Can you explain this code a little bit? I mainly...
Can you explain this code a little bit? I mainly don't get what the "local FILE" line does
8,941
Posted By mistsong1
Sorry, the issue is that the code doesn't work as...
Sorry, the issue is that the code doesn't work as I want it to work. I don't quite understand how to recurse through the directories using a bash script, what the code I posted above does is it dives...
8,941
Posted By mistsong1
Recursion in a bash script
So the problem I am having is recursion with in bash. Specifically the program ideally takes either the current or provided directory, lists out everything in that directory, if it finds another...
2,016
Posted By mistsong1
So I ran that code and it works, the only thing...
So I ran that code and it works, the only thing I'd like to have happen is to run grep silently rather than it echoing the files out on the terminal
2,016
Posted By mistsong1
Can you explain to me what the line if [ $?...
Can you explain to me what the line

if [ $? -eq 0 ]

means? I'm still fairly new with unix and there's so much to learn in like everything, but from my current understanding it's saying...
2,016
Posted By mistsong1
File and if statement comparisons
I'd love to get help on this one please. Ok so say I have a file called README with lines such as this:


index:index.html
required:file1.1:file2.1:file3.1


I'm having trouble with writing an...
1,260
Posted By mistsong1
Thanks again for the help, that enabled me to...
Thanks again for the help, that enabled me to fiddle around with the code until I managed to do what needed to get done
1,260
Posted By mistsong1
So from my limited understanding, after I pass in...
So from my limited understanding, after I pass in a list I can then do a loop with anything that ends in a .mp3 extension, I don't necessarily have to pass in the variable by saying $mp3 when I make...
1,260
Posted By mistsong1
Trouble understand and using for loop
Good evening all I have what might be a simple problem to solve but I do not know how to solve it myself. I am writing a bash script and my code looks something like this:


mp3=`ls | grep \.mp3`...
Showing results 1 to 9 of 9

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