![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any way to know wt command has been executed from last 2-3 days ? | manoja422002 | UNIX for Advanced & Expert Users | 3 | 03-26-2008 10:22 AM |
| Is fsck executed during reboot for AIX? | cteoh88 | AIX | 2 | 04-22-2007 05:18 PM |
| which processes executed first | surjyap | SUN Solaris | 1 | 02-24-2006 02:24 PM |
| Staus of Executed Scripts | pathanjalireddy | Shell Programming and Scripting | 11 | 05-12-2005 09:33 AM |
| ant not being executed as cron job | kingfinny | Shell Programming and Scripting | 5 | 11-12-2004 01:11 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Please help me, Its urgent. I was in /tmp directory and I accidentally executed as root Code: Code:
mv ../* . in /tmp directory when it was supposed to be executed in some other directory. Now none of my commands are working. I tried setting up the path as: Code: Code:
export PATH=$PATH:/tmp/bin:/tmp/sbin:/tmp/usr/sbin:/tmp/usr/bin but doesnt find mv, ls commands I also tried to execute Code: Code:
/tmp/bin/mv /tmp/bin /tmp but didnt work either. Please Help me. I am not rebooting the system, as I know it will not boot... HEEEEEELLLLLLLLLPPPPPPPPPPP |
|
||||
|
Doesn't find, or won't run them successfully?
The stuff in /bin (now /tmp/bin) should be statically linked, and so should work even if /lib is now in /tmp/lib You could of course try to play with the LD_* stuff to also point to /tmp/lib instead of /lib, but this type of scenario is precisely why some of the most essential utilities in /bin are statically linked. Idle thought: if you chroot /tmp there is no way then to move stuff to its parent directory (-: If all else fails, do you have a rescue CD you could boot to fix things? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|