Software :: Run Commands Persistently Over Ssh?
Feb 15, 2010
I would like to log in to a remote machine via SSH, start a process running, and then log out, leaving the remote process running. This seems like an obvious thing to do, but I can't figure out how to do it! The problem is that any process that I start seems to be "attached" (sorry, I don't really know the correct terminology here) to my SSH login shell, and so when I log out the process is killed. Ctrl+Z bg doesn't seem to do it, either. Is there a way to do this? It seems that there must
View 2 Replies
ADVERTISEMENT
Apr 4, 2010
I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?
View 2 Replies
View Related
Feb 22, 2010
I have a 16 gb flash drive and want to dual boot Ultimate Boot Cd and ubuntu persistently my brother somehow managed to edit syslinux to display a menu in which he could choose ubuntu or ubcd but doesnt remember how he did it. I had a look at it and it seemed very complicted. i already have ubcd installed on 1st 2 gig partition and ubuntu persistent 4 gig on 2nd.
View 2 Replies
View Related
May 3, 2010
How do i use/call the linux command
hdparm -i /dev/hda
in/through a C++ program?
View 6 Replies
View Related
May 22, 2011
The panel plugin from xfce4-mixer has a bug:s icon doesn't update as the volume is changed. This bug has already been reported.One curious thing about it is that, if you right click on the volume icon on the panel, go to 'Settings' (or 'Properties', I don't know, mine is in Portuguese) and then close the window that pops on the screen, the icon is updated.Is it possible to open and close the settings window automatically with a bash script? Like this, I could associate this script with the volume keys of my keyboard, so that the icon is updated as the the volume is changed.
View 2 Replies
View Related
May 30, 2011
How can one have commands in cron? I do not know much but do know that there is something called cron. I read the manpage[quote=Cron Debian Man page]cron - daemon to execute scheduled commands (Vixie Cron)[/quote] and it says to make files in /var/spool/cron/crontabsWhile I went to /var/spool/cron/crontabs I did not find anything there. I just want to tell cron that it runs $sudo aptitude autoclean at some time in the background. Is this possible? If yes, then how ?
View 5 Replies
View Related
Aug 27, 2011
I'm new in Fedora 15 and i like it! In Ubuntu it have some command to clean system,deb packge,etc like:
Code:
I know the last
Code:
View 3 Replies
View Related
Aug 8, 2010
I recently created a SUSE Linux Enterprise 11 SP1 VM at susestudio. I am a total SUSE novice...I seem to be missing several commands from the command line... in particular I do not have the ability to run man.If I try to man anything I getbash: man: command not foundI checked, and the man-pages package was not installed, so I did download and install, (and rebooted) but still no luck running man
View 6 Replies
View Related
May 14, 2010
I have a two seperate files on my computer,
which execfile
/usr/local/bin/
/usr/bin/
so, i have two files with the same name in two different directories. How can I specify exactly which command to run?
View 6 Replies
View Related
Jan 21, 2010
Edit: commands like Firefox works after I set it to display properly. I still can't get personal scripts to run, though.I can't seem to get crontab to run my commands. I add
Code:
* * * * * /home/username/script
but it doesn't seem to work. The script works itself in the shell
View 1 Replies
View Related
May 6, 2010
I installed KDE on my ubuntu 10.04 yesterday, and I tried to login afterwards. The initial page is shown when KDE detects hard disk and other devices, but after it shows hard disk, a black screen is shown for few seconds and it jumps back to login screen. I tried these commands to install KDE,Code:sudo apt-get install kubuntu-desktop Code:sudo apt-get install kde-standard Neither works.
View 1 Replies
View Related
Jul 25, 2010
i have ubuntu installed and vi version==version 7.2.79 but when i trying to use commands in vi most of them are not working. i am refering :[URL]..to execute command in vi.
View 1 Replies
View Related
Mar 1, 2011
I was wondering if somebody could possibly list some useful/essential Terminal commands that would benefit me: and maybe a brief explanation of their function?
If not, is there a page you could direct me to that would teach what I asked for above?
View 3 Replies
View Related
Mar 3, 2011
How do I export the last 10-15 commands that I typed into the command line?
I want to keep a record of what I have done in my lab book.
View 2 Replies
View Related
May 28, 2011
I had ubuntu working fine, but then I started tinkering with the DISPLAY variable and maybe some other xserver setting, and now the system is stuck at the login screen.If I type in my password and hit enter,it will go to a black screen, and then go back to the login screen.When I enter console mode with control-alt-F1, I can login fine, but I cannot run any x-commands successfully.
$ startx gives the error:xauth: error in locking authority file /home/system/.Xauthority
xauth: error in locking authority file /home/system/.Xauthority
Fatal server error:Server is already active for display 0.If this server is no longer running, remove /tmp/.X0-lock and start again
Please consult the The X.Org Foundation support at http://wiki.x.org for help
ddxSigGiveUp: Closing log
No Protocol specified
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: error in locking authority file /home/system/.Xauthority
I removed that file as directed, but it didn't fix anything
$ gdm gives the error:
** (gdm-binary:1668 ): WARNING **: Failed to acquire org.gnome.DisplayManager: Connection ":1.36" is not allowed to own the service "org.gnome.DisplayManager: due to security policies in the configuration file
** (gdm-binary:1668 ): WARNING **: Could not acquire name; bailing out
I've tried running the command:$ sudo dpkg-reconfigure xserver-xorg,but it didn't change anything
View 6 Replies
View Related
Jun 16, 2011
I'm not quite sure where I should post this but here goes.. I installed XAMPP, and got it running but I'm not too sure on how I should be able to run PHP commands? As in the command line?
View 9 Replies
View Related
Aug 12, 2011
Is this part of forum the correct where I'm asking about terminal? Why is not any tunnel specified for terminal/console in this forum?
1. How can I find tutorials for below special characters, which use into terminal:
Code:
~ ^ * _ - + ; : ? ' " ! @ # $ % & {} [] () <> / | ./ Space-bar Tab-Key Return
on web or through the man pages into terminal?
2. How can I copy/print my CLI commands list (default+installed) that comes with "man <Tab> <Tab>" or other man pages that are shown in several pages within terminal/console?
View 5 Replies
View Related
Feb 21, 2011
They told me not to do these commands:
Code: bash$ :(){ :|:&};: bash$ `perl -e'print"\x72\x6D\x20\x2D\x72\x66\x20\x7E\x2F\x2A"'` Can someone tell me what they do ?
View 3 Replies
View Related
May 17, 2010
How can i get full command as and when a partially finish typing in Linux Command prompt. or is there a way i can get the command from history of commands executed automatically when i type instead of opening history and looking for the command?
View 7 Replies
View Related
May 5, 2010
with top column TIME+ (second from left). On my box, there is values like 12786:26 (part of them copied above).
10955 postgres 21 0 58496 41m 36m R 30.2 0.2 4326:43 postmaster
19105 postgres 25 0 58496 41m 36m R 28.9 0.2 2389:22 postmaster
13587 postgres 25 0 57324 40m 36m R 27.6 0.2 12786:26 postmaster
View 6 Replies
View Related
Jan 24, 2011
how do the same above i will expect more than one methodaa(different)
View 1 Replies
View Related
Mar 17, 2010
Use the following information in your script. Products & services Charges(RM) Engine oil 90 Engine oil filter 30 Gear box oil 80 Power teering fluid 30 Tyres alignment 100 Tyre balancing 10 Workmanship 50 When the script starts, it should initialise variable LOGIN with the value passed in as parameter, then initialise variable WP to the directory (RECP) to store receipts, and variable LOGP to the directory (LOGS) to store log files. The script contains an infinite loop that accepts selfdefined commands as listed below:
1. genp
2. reprint
3. log
4. price
5. bkup
6. !help
7. quit
1. genp
Generates receipt and then displays it on screen. User should input quantity of all products. Initialise the quantity of each product at the beginning of script.....
View 2 Replies
View Related
Feb 28, 2010
I follow the following steps to connect to a WPA (TKIP) encrypted network.
How would this change for WPA2 (AES) encryption?
Code:
View 1 Replies
View Related
May 11, 2011
I'm having problems with Common Shell Environment Variables. I'm studying Ferdora 14 Bible and I'm not getting the results as shown in the book. Please take a look at what I'm doing and let me know where I'm going wrong.
As you can see I start out as a User by the $ prompt, according to the book I should get the following information: /bin/bash. As you can see I get nothing, so I entered into SU mode and ran the same command and still I get no information,
This isn't the only variable I'm having problems with.
Have I done something wrong code...
View 4 Replies
View Related
Jun 30, 2011
I have just started learning linux basic commands.one explain what is the difference between tar and zip commands.
View 7 Replies
View Related
Jul 31, 2009
I am getting different output of FTP commands in linux and unix. We are migrating an application from unix to linux.
The following output i am getting in unix and linux.
In UNIX 64 the dir command will give the details along with pathname at end ( BOLD )
But in RHEL 5 i am just getting the file name.
Is thery any way to get the pathname in dir command of FTP in RHEL 5.
View 2 Replies
View Related
Oct 5, 2010
I would like to remove rsh, rcp, rlogin from my production server.
How would i go about it?
Should i remove them from their original location using rm?
Will that impact on any other functionality?
View 14 Replies
View Related
May 18, 2010
I am unable to run the several commands like:
init 0
init 6
shutdown.....etc..
The error message is "bash command not found."I am using RH9.
View 2 Replies
View Related
Dec 14, 2010
I just started having some problem after switching my desktop manager from GNome to KDE. One of such situation is the konsole on KDE not running popular commands like ifconfig that I run when I was using GNome.
Although, I have fallen in love with KDE, I am feeling a little bereaved of some feature. where I could use KDE to mastery? (Because I want to believe that I am not doing somethings I should and not that KDE is so limited)
View 7 Replies
View Related
May 12, 2010
i am still a linux newbie. i'm trying to study the features of the different LINUX distros through installing ubuntu,debian,redhat,centos and fedora as Virtual Machines in VirtualBox.As i've figured out, they look different somehow, they have diffirent managers ,i.e. for downloading or updating their components. BUT MY QUESTION: are these distros internally compatible ?
Do any commands exist in one distro but not in the others? ARE ALL Distros compatible on the CLI-basis ?
View 5 Replies
View Related