General :: Force All Sockets To Close From The Command Line?

Sep 14, 2010

How can I force all currently open sockets in linux to close from the command line?

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

Ubuntu :: Close Thunderbird From Command Line?

Jan 19, 2011

how to close thunderbird fromterminal? I don't mean to kill the process,I just would like a "clean" exit.I'm asking this because my setup is so that the thrash should be cleared at exit so and the deleted email are deleted from the server. I then set a cron task so that thunderbird is killed but apparently doing so the emails are not deleted from the thrash (whereas they are if I close the application), and I'd like to change the task to close thunderbird rather then kill the process.

View 6 Replies View Related

Ubuntu :: Wally 2.4 - Command Line - As Soon As Close My Terminal - Terminates

Sep 24, 2010

I am using Ubuntu 10.04 and installed Wally 2.4.

I have few questions:

1) Currently I run wally with command line by running

Code:

It works, but as soon as I close my terminal, wally terminates. Is there anyway I can make it not terminate?

2) why is that option disabled?

View 4 Replies View Related

Ubuntu Networking :: Close/Open Port 21 Using Command Line?

Mar 12, 2011

I would like to Close/Open port 21 using command line. I have an FTP server and I don't want to have the port open all the time. I need only two hours by week to be open port 21 from outside to inside.So I need to know the command line for opening and closing the port 21 then I will implement this in a script into cron.hourly.

View 2 Replies View Related

Ubuntu Installation :: Force A Package Version Via Command Line?

May 19, 2010

I have the suspicion that the latest gdm update (2.28.1-0ubuntu2.2) broke something because the login screen isn't displayed anymore on my desktop. My question is the following:How can I revert an update or force a package version via command line? It's pretty straight forward via Synaptic but I only have access to the recovery command line so that is not really an option.

View 1 Replies View Related

General :: (Netstat -a Command) Why Some Sockets Do Not Have Path Name

Oct 15, 2010

When I run "netstat -a" commnand, it display:

Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 20269 /tmp/.gdm_socket
...
unix 2 [ ] DGRAM 997161
unix 3 [ ] STREAM CONNECTED 942628 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 942627
unix 3 [ ] STREAM CONNECTED 942626 /tmp/.X11-unix/X0 ....

Why some socket don't have Path name? And what mean's RefCnt = 2?

View 2 Replies View Related

General :: Netstat Command - Active Internet Connections / Domain Sockets?

Oct 12, 2010

When I typed netstat -lna, the output:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:580 0.0.0.0:* LISTEN
...
...

Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node
unix 2 [ ACC ] STREAM LISTENING 23581
...
...

Can anyone explain to me:
1. What is "Active Internet connections" & "Active UNIX domain sockets"?
2. What is unix Proto?
3. Difference between LISTEN and LISTENING state.

View 8 Replies View Related

Fedora :: Force Gdm Not To Suspend On Lid Close?

Jan 1, 2010

I have a laptop that I wish to keep on even when lid is closed, but I am unable to accomplish this. Does anyone have an idea where to look?

System is Fedora 13 (Rawhide).
gdm-2.29.4-1.fc13.x86_64
gnome-power-manager-2.29.1-2.fc13.x86_64

View 3 Replies View Related

General :: Command To Close X?

Jun 14, 2011

i know the command to start the x server is "startx" and ctrl alt delete is the keyboard short cut or atleast on slackware, to close X. i wanted to know what the comand is though.

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

General :: Unzip Command: Option To Force Overwrite?

Jan 26, 2010

I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y

This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.

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 :: Close/remove Message Queues Without Software Or Mq_close / Mq_unlink Command?

Jan 17, 2011

i am working on a project that uses message queues. i am able to successfully create them and they are working fine. now the problem is to close/remove message queues without software or mq_close / mq_unlink command. earlier when i worked on rh9, there is ipcs utility. we use ipcs to see all the existing message queues and ipcrm to remove them. however ipcs is not working for message queues in RHEL 5.3. Neither ipcs shows the exisiting message queues and neither we are able to use ipcrm. Plz guide to close/remove the queues with ipcs or any other command/utility from shell itself.

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

General :: Concatenate 2 Command Into One Line

Oct 13, 2010

I'm trying to concatenate two command in one line.

Below are the commands:

Code:

I wanted to list all files in /portal/apll/nad/send and grep only .tmp files that contains credit card word.

View 2 Replies View Related

General :: Start .pps In Command Line?

Jun 16, 2010

i'm using ubuntu with the GUIi have a .pps (power point presentation) on the desktop. I installed the powerpoint viewer and made it the default program for opening the file.when i double click on the file everything works.my problem is i need this on a schedule so i downloaded scheduled task.in scheduled task they ask me the command line i want to execute and that's where it doesn't work. I checked the "allow executing file as program" box on the file but i get the error cannot execute binary file.

View 1 Replies View Related







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