Thank you so much, I am studying for an exam and these were a few specifics I was still unclear on.
Type: Posts; User: wozza
Thank you so much, I am studying for an exam and these were a few specifics I was still unclear on.
Thanks
If I was to have the shell script run only when the command line argument "something" is entered
would I do it like this for tcsh:
if (arg == "something") then
cd $argv
foreach arg (*)...
can I also just add, what would your write for a script that is to list all symbolic links under your home directory if the command line argument lnk exists
heres what I would think:
foreach...
ok thanks, now Ive moved on to the duplicate stuff where you use 2>&1 meaning 2 is the duplicate of 1
what is happening with these two similar scripts using that example?
2>&1 cat x junk 1> junk2...
1: What exactly is a Shadow Password?
I know that when using a setuid program in the example of a program to allow a user to change their own password, it changes the contents of /etc/passwd and...
Hi,
How do I redirect standard error in Bash?
I know 2> is what you use in tcsh for redirecting standard error to a file but what is it in Bash?
What about standard output in Bash?
Thanks
can I just ask
what 2d/%02d/%02d does exactly
Im not familar with the 2 in that particular use
ok, thanks
:)
Hi,
Im writing a program and I would like to display todays time and date in western standard time
eg
Mon May 27th 19:10:52 WST 2002
Im using time_t like this:
#include <time.h>
...
sorry to reply to this again
but I think I understand my question regarding the use of clock_t
does anyone know a good example where stat is ued?
man stat isnt very helpful
Hi,
Im having trouble writing a program that asks the user to enter a command say a filename, and the program then prints out the access date of that file, and the last modification date
eg of...