General :: Set Internet Time From Command Line?
Sep 2, 2009how do I set the internet time from the command line?how to make a linux machine the time server within the domain?
View 1 Replieshow do I set the internet time from the command line?how to make a linux machine the time server within the domain?
View 1 RepliesIn windows, you could do a dir | more to scroll one page a time.How does one do this in Linux?
View 2 Replies View RelatedSo, 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.
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]....
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 RelatedI 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?
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 RelatedIs 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 RelatedI 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 RelatedI 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.
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 Relatedjust 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.
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 RelatedI'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]....
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 Relatedi'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 RelatedI 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
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
how do you write the ASCII character #27 in the vim command line?
View 6 Replies View RelatedMy mouse wheel scrolls 3 lines at a time !
I tried this, it didn't succeed.
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
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
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?
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 RelatedI 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$ 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
$
What command(s) do I type in the terminal to put the computer to sleep?
View 1 Replies View RelatedI 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...
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 RelatedHow 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> )