Search Results

Search: Posts Made By: adrianvas12
1,098
Posted By adrianvas12
Well the issue was an error message i.e. "Missing...
Well the issue was an error message i.e. "Missing -."
It had to do with spelling. I wrote
switch ($argv[i]) and it should be switch ($argv[$i])

Works now - thank you again.
I'll try to be more...
1,098
Posted By adrianvas12
It has to do with test vs production. Our IT...
It has to do with test vs production.
Our IT will not allow any testing in production environment - that is why we have a box, "university" box laying around that we can use to mess around with...
1,098
Posted By adrianvas12
List Files script
Hello everyone - I have the task to create a file list script that will list files in directory based on the parameters passed to the program.
It has to be a C Shell - I mentioned that before but I...
2,298
Posted By adrianvas12
Thank you for your help - I really appreciate. ...
Thank you for your help - I really appreciate.
I am afraid that I have to use C Shell - part of the assignment.
Here is the output of the command:

Linux merlin 2.6.27.25-78.2.56.fc9.i686 #1 SMP...
2,298
Posted By adrianvas12
Not sure about the OS - this is a university box....
Not sure about the OS - this is a university box.
As for the shell it is a C shell.
So then, is there any workaround this situation? No other way to combine ls and file command to get a list of...
2,298
Posted By adrianvas12
Here is what i get when I try to run the...
Here is what i get when I try to run the following command:
ls -b | grep -v "/$" | xargs file -b

Illegal variable name - I think is has to do with grep -v "/$"
I can run ls -b with no problem.
2,298
Posted By adrianvas12
Maybe I am not clear enough - my task is to list...
Maybe I am not clear enough - my task is to list the files from the current directory in the following format:
FileName FileSize FileType

So I was able to do the first 2 columns by using the...
2,298
Posted By adrianvas12
No no. I do have it and it works - I jus don't...
No no.
I do have it and it works - I jus don't know how to pipe it with ls -p
To get it to work.

Does that make sense?
Thank you.
2,298
Posted By adrianvas12
List file types
Hello everyone - I have a task of listing files from a directory together with their type.
I tried using
ls -l | file -b

or different versions of that but that did not work.
I will need this...
Showing results 1 to 9 of 9

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