Find the answer to your Linux question:
Results 1 to 5 of 5
hey guys, my program accidently deleted the /dev/tty2 file.i need it back or how can i create a new one since i cannot use that terminal....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    mysore
    Posts
    12

    creating a new tty


    hey guys,
    my program accidently deleted the /dev/tty2 file.i need it back or how can i create a new one since i cannot use that terminal.

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    download this package *assuming you are on 10.2 stable*

    http://slackware.it/en/pb/download.p....3.1-noarch-22

    if not , get the right package using the search function on that site for your slack version

    now, cd into the directory it is installed and type

    upgradepkg --reinstall devs*.tgz

    that will reinstall that package (which contains the /dev/tty2 file)

    you could MAKEDEV it too, but this way is practical


    that should do it

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    http://slackware.it/en/pb/download.p....3.1-noarch-21

    sorry - I noticed you are running 10.1 - you want this file instead


  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Location
    mysore
    Posts
    12
    can we get it done using the slackware installation disks.

  5. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    yes, just get that package from the disk

    you should know how to 'find' it right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •