LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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:
Code:
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:
Code:
disown
...
Senior Member
Posted in Uncategorized
Views 6640 Comments 2 neonsignal is offline
Old

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:
Code:
mount -n -o rw,remount /
Change the password in the usual way, then sync to disk:
Code:
passwd
...
Senior Member
Posted in Uncategorized
Views 230 Comments 0 neonsignal is offline
Old

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 18702 Comments 6 alucard74 is offline
Old

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.
Member
Posted in Uncategorized
Views 3465 Comments 1 Mountaineer is offline
Old

solve of the problem "tgtd service not starting"

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

Solve

# netstat -tulpn |grep 3260
tcp 0 0 0.0.0.0:3260 0.0.0.0:* LISTEN 2767/ietd
tcp 0 0 :::3260 :::* LISTEN 2767/ietd
# pgrep ietd
2767
[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 0.0.0.0:3260 0.0.0.0:* LISTEN...
LQ Newbie
Posted in Uncategorized
Views 651 Comments 0 sarkaramiya2008 is offline

  



All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement

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