|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hang when run command with /dev/console
hi guys, I don't know why I run this command: echo a>/dev/console It is not responsed from console and hang. If I run echo a>/dev/null, it is OK. here it is the console file: Code:
mcl1101 root#ls -ltr /dev/console lrwxrwxrwx 1 root other 30 Aug 18 2009 /dev/console -> ../devices/pseudo/cn@0:console mcl1101 root#ls -ltr /devices/pseudo/cn@0:console crw--w---- 1 root tty 0, 0 Dec 30 22:52 /devices/pseudo/cn@0:console Can anyone help me? thanks you a lot. Br.
Last edited by bakunin; 12-31-2012 at 03:07 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Did you mean to use /dev/tty? /dev/console is owned by another process, owned by root. What are you trying to do? Write a message on the console? if so, try the write command. It allows you to specify both a user and a specific device as the destination for a message.
Last edited by jim mcnamara; 12-31-2012 at 06:10 AM.. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
@ Jim mcnamara:
I think I meet the problem with console. in other devices such as: tty, tty0, It run OK. Can i restart the /dev/console? or link the /dev/tty to the /dev/console? thanks you a lot and happy new year. ![]() br. |
|
#4
|
|||
|
|||
|
You probably don't have access to write to /dev/console and generally have no reason to do so. What are you actually trying to do, and why?
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
hi Corona688 Because in crontab file, it have a command: Code:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/xpg4/bin/date >/dev/console 2>&1 I found that the /dev/console don't work. so that cron daemon is hang. thanks you, Br. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Capturing console (/dev/ttyS1) logs | xerox | Emergency UNIX and Linux Support !! Help Me!! | 8 | 07-06-2012 10:54 AM |
| console /dev/console get image | sreyes27 | UNIX for Advanced & Expert Users | 3 | 05-31-2009 10:02 AM |
| Logging to /dev/console | mlalitha | BSD | 0 | 01-19-2009 11:32 PM |
| What is /dev/tty /dev/null and /dev/console | civic2005 | Solaris | 12 | 01-04-2008 06:56 AM |
| /dev/console file | malikabid | UNIX for Dummies Questions & Answers | 4 | 03-02-2005 01:59 PM |
|
|