Ubuntu :: Running A Command In Terminal Upon Start Up?
May 14, 2011
I am relatively new to linux but i need to run a command in the terminal so i can prevent wireless power save from happening every time i switch to battery power. I dont really want to go into the terminal every time i switch to battery mode so i want to be able to launch this command upon start up:
Code:
sudo iwconfig wlan0 power off
View 2 Replies
ADVERTISEMENT
Oct 18, 2010
When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??
View 1 Replies
View Related
Feb 15, 2009
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
View 1 Replies
View Related
Jan 9, 2010
I want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
View 2 Replies
View Related
Jan 12, 2010
What is the command to start 9.10 upgrade from Terminal?
View 2 Replies
View Related
May 19, 2010
What command can I use to start a program in the terminal? What command is appropriate for applying patches to that or other programs? What command is appropriate to applying a 3.5 version patch to the 3.0 version of firefox. What are some useful commands for the terminal?
View 9 Replies
View Related
Aug 17, 2010
Here's my linuxquestion I have a bash terminal window opened by next command:
Quote:
gnome-terminal -x bash -c "bash"
Now i need to run different commands or scripts AS ROOT in this terminal window from another terminal. I tried things like
Quote:
sudo echo 123 >/dev/pts/4
The result is 123 in that terminal window, but sudo password is asked in my tab where i entered the command.
View 6 Replies
View Related
Jan 20, 2011
In windows command prompt, F8 key can cycle through your previously entered commands i.e say you enter "ping google.com" and then "pushd <dir>". Next when you type p and then press F8 brings pushd and next F8 brings ping command. You can then hit enter to execute the corresponding command i.e ping in this case.Is there anything similar in Ubuntu Terminal running bash? Very handy to get back previously entered commands.
View 3 Replies
View Related
Apr 14, 2011
I'm trying to ssh my ubuntu laptop with my android phone. But with the app I have (connectbot) I don't seem to be able to pass any args to the command. I want to pass the -Y command to allow my phone access to the screen on my laptop so i can use my laptop (somewhat) from my phone. Can you change the args passed to the command while it is running?
View 5 Replies
View Related
Feb 22, 2010
Is there a terminal command to start the update manager? I use fluxbox and I want to add it to my start up file but I don't know the command.
View 5 Replies
View Related
Nov 17, 2010
I have downloaded the hplip command on the desktop, attempted to cd desktop, and it shows "no such directory". running this command so I can set up my printer? And I can't seem to put the screenshot here..
View 9 Replies
View Related
Sep 3, 2009
I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:
Code:
sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.
View 6 Replies
View Related
Jan 11, 2010
I can't find the start command for Gnome from Terminal.
I tried:
start gnome
startx
start gne
Nothin is matching. In the Documenation is no help from console.
View 7 Replies
View Related
Jul 10, 2011
How to stop/start KDE from the command line (Terminal) on opensuse 11.4?
View 9 Replies
View Related
May 26, 2010
Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this?
I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4.
does anyone know the command to start gnome from the prompt?
View 4 Replies
View Related
Sep 1, 2011
I downloaded Debian Stable last night, and everything appear to go smoothly. Today, I booted up the new OS to try it out for the first time. As I was exploring a few of the features, I decided to pull up a web browser. No internet connection.
No big deal, I thought, as I searched around for a way to connect wirelessly. I couldn't find a way to do so. I consulted one of my more Linux savvy friends, who advised me to pull up the terminal and enter a command to start the network-manager. According to the terminal, no such file currently exists on my system.
This is a bit of a conundrum for me, since I am on my university campus with no ethernet cord to attempt a direct connection. Is there any way to get the network-manager onto my computer? Also, did I mess up somewhere in the installation, or did someone not package the file with CD1 for some unknown reason?
View 14 Replies
View Related
Apr 25, 2011
i want to write a script that will start or stop the GUI respectively. This is what I have so far...
[Code]....
I know the second line is completely wrong, but thats where I'm trying to go. How do I write a "if the GUI is running then..." command?
View 2 Replies
View Related
Apr 5, 2011
I would like to hear about a (telnet) terminal for Linux that can run VB scripts. The need is for configuration of a target board. I like secureCRT very much, but I can not use it from a Linux workstation.
View 4 Replies
View Related
Nov 12, 2010
Recently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.
View 3 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
May 10, 2010
Is it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
View 1 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Feb 16, 2010
I am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 4 Replies
View Related
Feb 26, 2011
I'm currently running SUSE 11.1 and trying to start Amavis so I can use Kmail. I have just run the latest updates via Yast. I'm getting the following when I try to start Amavis: /etc/init.d/amavis start returned 7 (program is not running):
View 1 Replies
View Related
Aug 25, 2010
I'm trying to run a script that launches a GUI using DirectFB while su'd as a different user. I probably have to add environmental variables but I'm not sure exactly what to do to get this working.
Here's the error I'm getting:
Code:
(*) DirectFB/Core: Single Application Core. (2009-06-02 06:26)
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
[Code]....
View 2 Replies
View Related
Apr 11, 2010
I am trying to boot debian on my nexus one the guide i am using is telling me to run these commands
I am getting to the point where i type the command # cd /sdcard/debian but it tells me cd: can't cd to /sdcard/debian.
View 9 Replies
View Related
Apr 11, 2011
I'm trying to run a .jar file from the terminal (so that I can set up a launcher) but I can't seem to get it to work. The file is marked as an executable, and all works fine if right click the file and open with java in gui, but when I enter:
Code:
java -jar minecraft.jar
... from the directory the jar is located in, I get:
[code]...
View 7 Replies
View Related
May 13, 2011
Ive got my webserver linked up to my ubuntu computer, and i want it to act like a server controller (for srcds games or w/e) Basically, When i click the start button, the SSH launches 'css.sh' by doing this 'sh css.sh'... Anyway, the .sh file has this inside it cd sourceds/srcds_1/orangebox clear ./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
But either way, that is becides the point. When it launches i dont see the terminal window, its invisible.... (but its running) How do i see it when i go to my ubuntu desktop and how to i put more commands in it once its launched in the background.
View 3 Replies
View Related
Jun 26, 2011
I'm trying to run flasm from the terminal prompt but I don't really know what I'm doing.
It may be an incompatible program for all I know but as I don't know how to run any .exe from the Terminal I have no way of knowing.
I've tried entering the directory, as in:
Code:
But it say's the directory doesn't exist. But it does...
Code:
View 5 Replies
View Related