General :: Set Internet Time From Command Line?

Sep 2, 2009

how do I set the internet time from the command line?how to make a linux machine the time server within the domain?

View 1 Replies


ADVERTISEMENT

General :: Scroll One Page At A Time In Linux At The Command Line?

Oct 12, 2010

In windows, you could do a dir | more to scroll one page a time.How does one do this in Linux?

View 2 Replies View Related

General :: How To Program The Command Line To Run A Piece Of Code Multiple Time

Dec 4, 2010

So, I usually write/find a test case generator for any code that I write. This type of code generally leads to some file output. To be thorough, I try and generate many different files to test my code on.

Say the command is like this:

Is there a way to automate this for many different values of the parameters and generate many different files?

I tried:

I wasn't able to use the $i in the filename, and without it the command gave me no errors, but did nothing else either. I know the Unix command line is very powerful, and I have a feeling that this should be possible, but I just don't know how to do it.

View 3 Replies View Related

General :: Free Command Line Tool Time Which Can Be Used To Find Timing Statistics For Various Commands?

Jun 24, 2011

I'd like to measure network latency for SNMP GET request. There is a free command line tool time which can be used to find timing statistics for various commands. For example it can be used with snmpget in the following way:$ time snmpget -v 2c -c public 192.168.1.3 .1.3.6.1.2.1.2.2.1.10.2IF-MIB::ifInOctets.2 = Counter32: 112857973real 0m0.162suser 0m0.069ssys 0m0.005sAccording to the manual, statistics conists of:

the elapsed real time between
invocation and termination,
the user CPU time (the sum of the

[code]....

View 3 Replies View Related

General :: Unable To Log In Credential For Internet Through Command Line?

Jun 30, 2011

My GUI for backtrack is not working. I want to connect to internet. I gave the required static ip to my machine. but the problem is I have to give username and pasword through the browser before accessing the internet. Now here , i dont have any browserHow to give the log in credentials through command line in backtrack machine?

View 1 Replies View Related

General :: Command Or Script Which Sets Time From Some Internet Timeserver Everytime?

Dec 19, 2010

I am a programmer working on embedded linux, On my device, I need to set time everytime when I want to use it to check my program.

Is there any command or script which sets time from some Internet timeserver everytime?

View 1 Replies View Related

Ubuntu :: Change Time From Command Line?

May 15, 2011

I decided to install Chromium OS to my dad's netbook, and it works perfectly. The only problem is that i can't change the time. Luckily, I can access a command line by pressing CTRL+ALT+T. So maybe I can change it from the command line.

View 5 Replies View Related

Software :: Program To Hibernate The Computer For A Set Time (from Command Line)?

May 9, 2011

Is there a program I can install and run from the Command Line that will hibernate the computer (pausing all running programs (like my Minecraft server)), cutting power usage TO A BARE MINIMUM, and the un-hibernate after a set time? The laptop this will be used on is SliTaz linux with the GUI disabled (unless i run startx)

View 3 Replies View Related

Ubuntu :: Configuring Internet From Command Line

Feb 23, 2010

I just installed a command line version of karmic to an old desktop. During installation, DHCP failed, so I attempted to configure manually (without really knowing what I'm doing) and wound up without a connection. I've been searching for solutions, but really don't understand what I need to do. A million thanks to anyone who can help me get up and running (or at least give me a push in the right direction).I can either connect the computer directly to the cable modem via USB, or directly to my wireless router via ethernet cable. I know what the ip address for my laptop (which is connected wirelessly to the router) but don't know if that would be the same for the desktop or not, and don't really know anything else.

View 3 Replies View Related

Fedora :: Enable The Internet Connection In The Command Line?

Mar 17, 2010

I tried:

Quote:

ifconfig dsl up
ifconfig up dsl
ip link set dsl up

But I think I should have typed:

Quote:

ifconfig ppp0 up

Yesterday I was lost, I updated the drivers for the nvidia card and that broke X, since my internet is not up and running when booted I was wandering how to call it from the command line since that was the only thing I could see.

View 10 Replies View Related

Ubuntu Networking :: Connect To Internet Using Command Line

Jun 6, 2011

I want to connect to the internet using the command line. I'm 95% I have my wireless card installed correctly, since I'm using it right now.dhclient takes a minute or two, then finishes. It gives no output, success or failure. Then I open up Firefox and I'm not connected to the internet. What can I do to figure out what the problem is?

View 9 Replies View Related

Software :: Add To Qemu Command - Line To Give VM Access To The Internet?

Sep 5, 2010

just learning qemu. Been able to figure out everything fine, except one thing: what do I need to add to my qemu command-line to give my VM access to the Internet?

I read online docs, but to be honest, the VLAN/TAP stuff they describe doesn't make much sense to me.

View 2 Replies View Related

Ubuntu Installation :: 11.04 Alternate Command Line Install Without Internet Connection?

Aug 5, 2011

is there any way to do a 11.04 Alternate Command Line Install without Internet Connection? I try to install Ubuntu on a Internet-Tablet, wich has no Ethernet-Port and I don't know how to get Wifi to work during Alternate-Install. At previous Ubuntu versions it was possible to let network be unconfigured and install completely from CD or USB-Stick. Isn't this possible in current versions?

View 1 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

General :: Make Mouse Wheel Scroll ONE Line At A Time In Emacs?

Jun 16, 2010

My mouse wheel scrolls 3 lines at a time !

I tried this, it didn't succeed.

View 14 Replies View Related

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 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







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