so i want to make a command run at startup but wait about 20 seconds before it runs, the sleep command is not working for me idk, i typeand nothing seems to happen after 20 seconds, am i doing the command wrong?Code:sleep 20`s' command
so i want to make a command run at startup but wait about 20 seconds before it runs, the sleep command is not working for me idk, i typeand nothing seems to happen after 20 seconds, am i doing the command wrong?Code:sleep 20`s' command
Fail Fail Fail SUCCESS Fail Fail Fail
the default is already seconds, and a semicolon between the time and the command works...
should do the trickCode:sleep 20;command
Using ` means you want the output of something enclosed in `` to be expanded in the place of the command. For example
' is the same as " as in it's used to group stuff so it won't get interpreted as separate items.Code:echo Current time is `date`
Useful if you want to change to a directory containing a space(s)
In your case, you musn't add either one of those. Also as billyseth pointed out, sleep defaults to seconds.Code:cd '~/Pictures/Needs editing/May 15th/'
Originally Posted by Linus Torvalds
oh sweet ok that totally did the trick with the simcollan , and ok thats great information guys, thanks for all the help.
Fail Fail Fail SUCCESS Fail Fail Fail
Bookmarks