Help answer threads with 0 replies.
Go Back > Blogs
User Name



allowing commands to continue after parent shell exit

Posted 11-05-2011 at 05:52 AM by neonsignal

Because commands that are started from a shell are child processes, they will normally be terminated when the shell exits.

A command can be run with nohup so that it can continue beyond the life of the parent shell, and output will be directed to the file nohup.out:
nohup command
Alternatively, if the command is already running (ie in the background), it can be allowed to continue by using disown before closing the shell:
Senior Member
Posted in Uncategorized
Views 11623 Comments 2 neonsignal is offline

resetting the root password

Posted 11-05-2011 at 05:36 AM by neonsignal
Updated 11-05-2011 at 05:38 AM by neonsignal

When the root password has been lost, it can be reset as follows.

At the grub menu, select 'e' to edit, and add the parameter 'init=/bin/bash' to the linux line. Then 'ctrl-x' to continue booting. This will start the system into a command shell.

Then remount the filesystem root as writable, so that the password can be changed:
mount -n -o rw,remount /
Change the password in the usual way, then sync to disk:
Senior Member
Posted in Uncategorized
Views 386 Comments 0 neonsignal is offline

ubuntu 11.10

Posted 11-04-2011 at 08:09 PM by alucard74

Help I've just upgraded to the latest version of ubuntu 11.10 and have lost dual screen. I am running a dell inspiron 1520 with nvidia graphics card. When I go into display all it tells me is I have an unknown screen and won't search for other monitors or tvs. It was working fine before upgrade, can anyone help?????
LQ Newbie
Posted in Uncategorized
Views 32640 Comments 6 alucard74 is offline

Command line mystery

Posted 11-04-2011 at 07:38 PM by Mountaineer

In Ubuntu 11.04, I copied an mp3 file to mu home folder and then tried to use the terminal to move it to /Music. Didn't work. Trial and error may help. I used to know DOS pretty well, but this is elusive.
Posted in Uncategorized
Views 5962 Comments 1 Mountaineer is offline

solve of the problem "tgtd service not starting"

Posted 11-04-2011 at 01:51 AM by sarkaramiya2008


# netstat -tulpn |grep 3260
tcp 0 0* LISTEN 2767/ietd
tcp 0 0 :::3260 :::* LISTEN 2767/ietd
# pgrep ietd
[root@server1 ~]# rm -fr /var/lock/subsys/tgtd
[root@server1 ~]# kill -9 2767
[root@server1 ~]# service tgtd restart
Stopping SCSI target daemon: [ OK ]
Starting SCSI target daemon: [ OK ]
[root@server1 ~]# netstat -tulpn |grep 3260
tcp 0 0* LISTEN...
LQ Newbie
Posted in Uncategorized
Views 929 Comments 0 sarkaramiya2008 is offline


All times are GMT -5. The time now is 06:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration