Search:

Type: Posts; User: wozza

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,411

    Thank you so much, I am studying for an exam and...

    Thank you so much, I am studying for an exam and these were a few specifics I was still unclear on.
  2. Replies
    5
    Views
    1,411

    Thanks If I was to have the shell script run...

    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 (*)...
  3. Replies
    5
    Views
    1,411

    can I also just add, what would your write for a...

    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...
  4. Replies
    3
    Views
    3,909

    ok thanks, now Ive moved on to the duplicate...

    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...
  5. Replies
    5
    Views
    1,411

    two more questions

    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...
  6. Replies
    3
    Views
    3,909

    redirecting standard error in Bash

    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
  7. Replies
    7
    Views
    3,215

    can I just ask what 2d/%02d/%02d does exactly...

    can I just ask
    what 2d/%02d/%02d does exactly
    Im not familar with the 2 in that particular use
  8. Replies
    7
    Views
    3,215

    ok, thanks :)

    ok, thanks
    :)
  9. Replies
    7
    Views
    3,215

    Todays time and date

    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>
    ...
  10. Replies
    3
    Views
    1,435

    sorry to reply to this again but I think I...

    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
  11. Replies
    3
    Views
    1,435

    Displaying time and date of files

    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...
Results 1 to 11 of 11