Search Results

Search: Posts Made By: trivektor
6,222
Posted By trivektor
Asking about shell script input output redirection
Hi,

Can anyone please tell me what these lines do?

ls >& outfile

ls outfile 2>&1

Thanks.
38,789
Posted By trivektor
Size of an array in sh shell script
Is there a way to find out the size of an array in sh shell script? Thanks.
42,045
Posted By trivektor
Assign the returned value of a function to a variable
Hi,

Can anyone please show me how to assign the returned value of a function to a variable? Thanks.
17,616
Posted By trivektor
Thanks for the swift reply. What about the mkdir...
Thanks for the swift reply. What about the mkdir problem? There's no error when I use mkdir from command line, but when my shell script run, it just cant create folders because of the "Permission...
17,616
Posted By trivektor
Problem when test to see if directory exists
Hi,

I'm writing a shell script that will create a folder if it does not exist yet. Here's the script: (this if statement is inside a while loop)

folderName="Pics"

if ! test -d folderName...
16,014
Posted By trivektor
I have the write permission but somehow i could...
I have the write permission but somehow i could not create a directory though. Is it because i'm trying to create a directory within a shell script? I mean i use the command mkdir within my shell...
16,014
Posted By trivektor
Folder permission denied
Hi,

I tried to create a new folder inside a folder A but was given an error "Permission denied". Any idea?
18,968
Posted By trivektor
What does ls * do
Hi

Can anyone please explain what this commands does? Thanks.
Showing results 1 to 8 of 8

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