Ubuntu :: How To Do Everything From Command Line
May 8, 2010
How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,
1) It takes unnecessary valuable space.
2) Even if I use a huge monitor, it introduces distraction to me while working.
I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.
View 5 Replies
ADVERTISEMENT
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Dec 9, 2010
I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...
View 3 Replies
View Related
Feb 24, 2011
I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:
$ (something) -l 154 stuff.py
150: def foo(bar):
151: """
[code]....
View 5 Replies
View Related
Aug 22, 2011
How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt
View 1 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 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
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Oct 25, 2010
I tried
Code:
chown -R owner:group *
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
View 9 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
Oct 15, 2010
I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:
This is what i have after my BEGIN
Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'
View 1 Replies
View Related
Jun 24, 2011
how do you write the ASCII character #27 in the vim command line?
View 6 Replies
View Related
May 4, 2010
Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample
Code:
yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.
View 6 Replies
View Related
Sep 5, 2010
I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.
View 2 Replies
View Related
Sep 17, 2010
I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.
sftp 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
Couldn't read packet: Connection reset by peer
ssh 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
View 5 Replies
View Related
Dec 7, 2010
About two months ago I upgraded my dual boot Linux-x86-64 Vista from Heron to 10.04 Lucid. Initially everything worked fine including wireless etc. Once I accidentally changed a few /etc permissions which caused a problem, but fixed it going into recovery mode. For the past weeks, I only used the windows. Over the weekend I tried logging into Ubuntu, the gnome would not come up. So, I went into recovery mode and typed "sudo apt-get update && sudo apt-get upgrade" which also went through. However, after that I lost the recovery options. I had used that command very successfully in the past. Right now, I have no command line that would allow me to type something. I was wondering if there are any keys Alt+Del + something that would give me a prompt I can work with. I'm totally baffled as to how this can happen.
View 1 Replies
View Related
May 10, 2011
I have installed java runtime and I need to run jar file,Im not using gnome desktop,so I need a command to run it.Im using fluxbox.
View 2 Replies
View Related
Apr 3, 2011
I installed Ubuntu 10.10 some time back and what I encounter is that for the first time that I log in it shows graphical interface but from the 2nd time onwards it goes straight to the command line. I have tried few things which were I found out on other forums but nothing seems to be working. how can I log in to GUI rather than command line.
View 8 Replies
View Related
Feb 17, 2010
I have a Deskjet F2400 series and want to scan a document to a file from the command line without having the HP Device Manager being invoked.
View 1 Replies
View Related
Feb 18, 2010
Lately I have been very interested in minimal Linux distro's. At the moment I am specifically searching for command line only intended distro's (up to date) and even more preferable: command line only distro's available on a live cd or usb. Can anyone of you point me in a right direction or recommend a distro?
View 4 Replies
View Related
Feb 22, 2010
I've Ubuntu installed on a SD card running on my Eee PC 1000H and have to type in, everytime after startup, this line:
Code:
sudo hdparm -B 1 -S 1 /dev/sda
to turn off the noisy HDD. How can I auto execute this command?! System>Startup Applications didn't work
View 3 Replies
View Related
Feb 26, 2010
I just wrote a python program (musicspeed.py) that utilizes mplayer to speed up songs without changing the pitch. I want to be able to type "musicspeed somesong.mp3" from any directory on my computer. How can I do this? I would prefer not to half to type the ./ and the .py before and after the name.
View 3 Replies
View Related
Mar 4, 2010
Is there something I can add to my "menu.lst" file to give me the option to boot Ubuntu into command-line only without needing to edit system files every time I want to switch
View 6 Replies
View Related
Mar 17, 2010
I'm running an upto date version of Lucid on my eeepc 901, sometimes when turning the machine on it loads to a command line sign in screen rather than the Gui screen after signing on it remains in the command line. Reason unknown. What might be wrong and what the command is to get to the Gui screen from the command line.
View 5 Replies
View Related
May 7, 2010
H ow do you set up a printer on the command line in linux?
View 1 Replies
View Related
May 20, 2010
I would like to know if I can reboot my headless ubuntu machine from command line to a different OS on the same disk. To clarify, I want to do this without having to manually choose in GRUB.
OS1: Ubuntu on sda1- it is the default OS in an always on server.
OS2: Fedora on sda2 - have to login into this once in a while.
There are no monitors attached with the machine. So I cannot manually scroll through grub and choose Fedora. I want to know if there is a command I can issue remotely to the Ubuntu server to reboot to Fedora.
View 9 Replies
View Related
Jun 5, 2010
Is there a way to get to the gui from the command line prompt? I am using Ubuntu 8.04, my computer us telling me there is an error and will only boot to the cli not gui.
View 1 Replies
View Related
Jul 8, 2010
I'm looking for a way to automatically convert XLS and XLSX files to PDF when uploaded through a Web interface by users. I will probably use phplivedocx for DOC and DOCX files, but I haven't found any library for Excel files.I may use PHP to call a some printing command to make the conversion, but I've never tried that on a server (which obviously) doesn't have Open Office installed (meaning no PDF printer driver I guess)
View 3 Replies
View Related
Aug 23, 2010
what does desktop manager do? What does $ do? what is loop for in command line? What is the best way to switch user? Using command line?
View 7 Replies
View Related