General :: Get Interface's Bandwidth At Any Given Second From Command Line?

Nov 6, 2010

I am doing a school project in which I want to get the bandwidth of a network interface at any given second, or some other small increment of time. I need this for a Perl script I am working on. Therefore it needs to be non-interactive and just prints results.

View 2 Replies


ADVERTISEMENT

General :: Force Command-line Tool To Use Different Interface?

Dec 21, 2010

I have a service which I want to run over eth1.
But all my other traffic still needs to run over eth0.

Is it possible to force a command-line tool or other application to use the non default interface?

View 2 Replies View Related

General :: Playing With Various Characters In The Command- Line Interface?

Apr 23, 2010

I am playing with various characters in the command- line interface trying to learn what they mean and when i should use them.

View 7 Replies View Related

Fedora :: Create A GUI Interface For Some Command Line Commands?

Aug 22, 2011

I'm developing in java.

I want to create a GUI interface for some command line commands (drush - drupal).

How can I interact with the command line commands with java? or any other languege?

View 6 Replies View Related

Ubuntu Installation :: Command-line Interface At Startup?

Feb 4, 2010

So I just partitioned my hard-drive, one side with windows the other to set free for ubuntu. It all worked fine. I put in the liveCD of ubuntu 9.10 and installed on to the partition. However, I have a problem. When it boots up it asks me to either boot into linux 2.6 or windows 7. Windows 7 works fine, but when I boot into ubuntu, the loading screen comes up and then it doesn't seem to boot into GDM. It's all command-line interface. I've tried sudo apt-get update and upgrade, but it isn't connected to my network yet so I can't do that. What can I do?

View 9 Replies View Related

Ubuntu :: Lucid Boots To Command Line Interface?

Aug 12, 2010

Occasionally Lucid boots to what I can only describe as a command line desktop-ie the whole screen is like a terminal, theres no GUI, have to restart by hitting the power button. Is there anyway I can stop it, or start the GUI from there?

View 4 Replies View Related

Ubuntu :: Command Line Interface Connecting To Wireless

Jul 31, 2011

I stupidly turned off my computer as I was updating to KDE 4.7. Now when i start it i get to the log in screen, but imputting my username and password just causes the Xserver to restart and i get back to the log in screen.I know there are many other packages I should install as part of the update and i think this will solve my problem, so i am trying to connect to wireless through the command line login, and then install the updates.

View 2 Replies View Related

Fedora Networking :: Configure Wireless Interface On Command Line Only?

Apr 18, 2009

Ive been struggling to configure a wireless interface on Fedora 9I need to configure wlan0 command line only with NO display managerIve tried setting up /etc/sysconfig/network-scripts/ifcfg-wlan0 with the right information, doing dhcpbut no ip is retrieved. Checking the dhcp server logs on the DHCP server - no request is received.The link light on the wireless nic is not on either. iwconfig shows it has an Access point associated and an ESSID but im not getting back any IP.There seems to be very little documenta on how to set up wireless nics command line only on Fedora

View 1 Replies View Related

Ubuntu Networking :: Setting Up The Wireless Interface On Server (command-line Only No GUI) / WPA

Aug 14, 2010

I've been having issues setting up the wireless interface on my Ubuntu server (command-line only, no GUI) and I can't seem to get it working. It seems as though the card is recognized, the drivers are installed and the interface is up, but it fails to connect. I have no idea where I'm going wrong. I have WPA and a MAC filtering setup on my wireless router. An exception has been made for this PC's MAC address and I've manually entered the connection details into /etc/network/interfaces.

[Code]...

View 2 Replies View Related

Red Hat / Fedora :: Changing Font Size Or Style In Command Line Interface?

Mar 23, 2010

if its possible to change font size or style on CLI.

View 9 Replies View Related

Ubuntu Installation :: 6.06 Lts Via The Command Line Interface - Text Is Spread Out Very Wide On The Screen

Jan 19, 2011

I have installed Ubuntu 6.06 LTS via the command line interface. I installed onto Microsoft Virtual PC on the mac. The installation completed successfully. On first boot, I see the text is spread out very wide on the screen. It's like the screen has been zoomed out greatly.

I assume I have to modify the x11 configuration, but I forget how to do this.

Here is an image of the screen:

I tried installing a more recent version of Ubuntu but ran into other troubles. more on that later.

View 5 Replies View Related

Ubuntu Networking :: Program Transmits Whole Graphical Interface Slowly - Command Line With Computers

Jan 18, 2011

I need to use some PCs located on my university from home through the internet. I am using a program called Teamviewer [URL]... The problem is that this program transmits the whole graphical interface, which is slow, but I just need to use the command line with these computers. I am aware of ssh, but my university won't give me access to theses computers over the internet.

View 9 Replies View Related

Ubuntu :: Carry Out Mysql Commands Directly From The Ubuntu Command Line Interface?

Mar 10, 2011

Is it possible to carry out mysql commands directly from the ubuntu cli rather than open mysql?eg to create a database I would normally type

Code:
user@localhost:~$ mysql -u root -p
then INSIDE the mysql CLI I would type

[code]....

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

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

General :: Printing Command Line History Without Line Numbers?

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

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

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

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

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

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

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

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Ubuntu Networking :: Increase Capacity / Bandwidth With More ADSL Line And Modem Combination

May 14, 2010

I am currently running a network with a file server that runs Ubuntu 10.04 Desktop at the moment. DHCP and samba are setup on it for now. Has multiple network cards but we only use the gigabit interface. Here's what I want to do in the near future. I want to provide internet access to the network via ADSL (no better option currently) So what i'll have is one or more ADSL lines and their corresponding modems (most likely D-link ones as they are cheap). As i understand it the server will be doing the job of a router. anyway, point wise here's what i want to be able to do:

1. Have ability to increase capacity/bandwidth with more ADSL line & modem combinations
2. Have user accounts (probably web based setup or any other option) for internet access so that they can be billed per GB.
3. Still be able to share files that are on the local network using local DHCP if possible.

So to an existing network that has files i want to add internet access capability. but users will have to log on so that their usage can be monitored. I have been searching around but maybe the search terms are wrong for what i need accomplished. i don't mind upgrading the ubuntu version to the server edition so long as i can use X11 forwarding atleast so that i can do remote monitoring. VNC is too slow, and using nautilus forwarded via X11 to my desktop sorts out most of my needs. The network provide has suggested maybe using pppoe but i am thinking if there was a welcome page based authentication system then it'd be more easy to monitor?

View 3 Replies View Related

General :: Cannot Log In From Command Line

Apr 1, 2010

trying to install the latest NVIDIA drivers:

I need to disable the X server to install it, which brings me to a blank screen prompting for a login before continuing. it reads thusly:

Ubuntu 9.10 chris-linux

chris-linux login: [i would assume i put in chris here...]

Password:[i type the password i use to login from the normal GUI screen, however i see no indication that im typing anything..]

Login incorrect

View 4 Replies View Related

General :: How To Tell Which OS With Command Line

Jan 21, 2010

Just want to know what OS is, Fedora/RH/... Tried the following on a redhat machine:
uname -o : GNU/Linux
less /proc/version:
Linux version 2.6.18-164.el5 (mockbuild@x86-002.build.bos.redhat.com)
(gcc version 4.1.2 20080704) (Red Hat 4.1.2-46)) #1 SMP Tue Aug 18 15:51:54 EDT 2009
What is the right command to do it?

View 9 Replies View Related

General :: Corresponding Command Line Cmd For The UI Click?

May 21, 2010

I can click the "movie player" from the GUI of Ubuntu, but how could I know the corresponding command line cmd. I want to run the movie player from commmand line. And this is not only about the background command for the movie player, I want to know all the actual command that was run by the x-window shell when I click on one of the icon on the menu.

View 10 Replies View Related

General :: Convert DDS To PNG Using Command Line?

Jul 2, 2010

I need to convert thousands of DDS images to PNG format in Linux, preferably in command line. Is there any program available for such task?

View 1 Replies View Related

General :: Why Cannot Z Be Last Command-Line Option Used With Tar

Nov 17, 2010

$ ls one.tar.gz
one.tar.gz
$ tar -xvfz one.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
$ tar -xvzf one.tar.gz
one
$ tar -xzvf one.tar.gz
one
$ tar -zxvf one.tar.gz
one
$

View 2 Replies View Related

General :: Put 'nix Box To Sleep From Command Line?

Dec 23, 2010

What command(s) do I type in the terminal to put the computer to sleep?

View 1 Replies View Related

General :: Booting Into Command Line?

Apr 12, 2010

I installed an older version of gdm and created a new XR1196 directory in /usr/bin and now my computer only boots into command line...

I can get to the GUI using startx, but in doing so I lose all audio output, and the option to shutdown or reboot from both CairoDock and the default panel...

View 16 Replies View Related

General :: Trying To Use Run Level 3 Through Command Line

Mar 30, 2011

I was trying to learn more about xorg configuration and came through an exercise that should be run at run level 3. So, I wrote init 3 in the command line then the x server stopped and the system was trying to enter run level 3 but then it hangs and nothing happens. At that time I was connected to the system via putty and wrote the command init 5 and the x server started again normally. I tried init 3 again and had the same thing.

View 4 Replies View Related

General :: VIM Command To Split A Line Into 2?

Apr 27, 2010

How can I split a line in vim into 2. example :

original line :

welcome to linux questions

after splitting :

welcome to
linux questions

Is there a single key strike through which i can do it ? like going to the word "to" and striking that key will put rest of the words in new line. ( i want to do it in normal mode , not in the usual insert mode where it obviously can be done by typing <Enter> )

View 6 Replies View Related

General :: Can't Launch GUI From Command Line

Feb 22, 2010

I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting! I have 8.10 and it's a valid disk (no errors).

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved