MS-DOS style path detected: C:\wcs\eclipse\pcm51_io_to_mb_app\code\appl
Preferred POSIX equivalent is: /cygdrive/c/wcs/eclipse/pcm51_io_to_mb_app/code/appl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Run this command:
set CYGWIN=nodosfilewarning
Blog about development of embedded software for devices, the process of making it and the tools involved.
2010-08-30
2010-08-24
How to enable ping response in Window 7
Response to an ping is disabled in Windows 7 by default. I found this post on how to enable it:
How to enable ping response in Windows 7
How to enable ping response in Windows 7
2010-08-19
cat << EOF
Here is an option for writing several line of text to a file via a the shell.
~ # cat > test << EOF
> this is first line
> this is the second line
> EOF
~ # cat test
this is first line
this is the second line
~ #
~ # cat > test << EOF
> this is first line
> this is the second line
> EOF
~ # cat test
this is first line
this is the second line
~ #
Pipe stdout and stderr to one file.
In the Linux shell you can pipe both stdout and stderr to a file with > output_file 2>&1
E.g.:
memtester 16M 1 > /dev/null 2>&1
E.g.:
memtester 16M 1 > /dev/null 2>&1
Chain linux commands together
In the Linux shell you can chain a number of command together. You can do a number of command after each other without having to wait for each command to end.
e.g.
touch memtester ; memtester 16M 1 ; rm memtester
The commands is here separated with ; which tells the shell to execute the first command and then it is done it should execute the next command etc.
Another example:
touch memtester && memtester 16M 1 && rm memtester
Here the commands are separated with && which tells the shell to execute the first command and if it completes successfully then execute the next command and etc.
e.g.
touch memtester ; memtester 16M 1 ; rm memtester
The commands is here separated with ; which tells the shell to execute the first command and then it is done it should execute the next command etc.
Another example:
touch memtester && memtester 16M 1 && rm memtester
Here the commands are separated with && which tells the shell to execute the first command and if it completes successfully then execute the next command and etc.
Subscribe to:
Posts (Atom)