Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Jun 2016, 17:27
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to protect the exit from user space in terminal mode
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
postfs1

Joined: 27 Mar 2010
Posts: 829

PostPosted: Mon 21 Feb 2011, 11:29    Post subject:  How to protect the exit from user space in terminal mode  

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 20:00; edited 9 times in total
Back to top
View user's profile Send private message 
postfs1

Joined: 27 Mar 2010
Posts: 829

PostPosted: Thu 15 Sep 2011, 14:55    Post subject:  

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 20:01; edited 2 times in total
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2508

PostPosted: Fri 18 May 2012, 12:42    Post subject:  

What is mounted on /dev/loop10?
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 4182
Location: Kiel,Germany

PostPosted: Fri 18 May 2012, 15:54    Post subject:  

Quote:
cat /etc/inittab | sed -e '2,2d' > /etc/inittab

better avoid, could buggy sed/cat combination empty the target file (sometimes Rolling Eyes )

would better use

sed -i "STRING" /path/to_file

or

cat /file |sed "WHATEVER" >/tmp/file
mv -i /tmp/file /file

*

BTW what exit do you mean ? Exit to prompt from Xorg or exit the shell in console mode ?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0436s ][ Queries: 12 (0.0038s) ][ GZIP on ]