44 Topics

Member Avatar for
Member Avatar for Spirit_2

1. open finder in terminal 2. Represents the finder opened in the current directory 3. `open .` 4. If you want to open the Downloads folder 5. `open Downloads`

-2
17
Member Avatar for zelrick

Hello DaniWeb / Linux Users and Programmers, I am 90% new to the world of Linux. I was instructed to edit a running program. The purpose of editing this program was to follow the format of the other running program. But it is hard for me to understand because some …

Member Avatar for zelrick
0
304
Member Avatar for scheppy

Hello All. I have a program that automatically restarts itself atfer a certain amount of time. I am doing this to test some things out. The program is wrapped in a jar. I run the jar from terminal with java -jar ProgramName.jar It will run and will output all the …

Member Avatar for scheppy
0
376
Member Avatar for Niloofar24

Hello. I was looking for a tutorial or any example of creating web crawler that i found this code somewhere and copied and pasted to test it: First, it is a web crawler, right? Because when i gave it a url of a website, the output was some linkes were …

Member Avatar for vegaseat
0
436
Member Avatar for Niloofar24

Hello, me again :) With this code: >>> from BeautifulSoup import BeautifulSoup >>> import urllib2 >>> url = urllib2.urlopen('http://www.python.org').read() >>> soup = BeautifulSoup(url) >>> links = soup('a') >>> print links A list of links printed into the terminal. I want to send the list into a text file, i tried …

Member Avatar for Niloofar24
0
733
Member Avatar for franceee

I have 3 windows server 2008 r2 64 terminal servers in a farm should all have the exact information, but when a user logs in to the farm they will get onto one of the three servers on two of the servers the desktop is exactly the same but when …

Member Avatar for rubberman
0
279
Member Avatar for Niloofar24

Hello everybody. I need a quick help. I have a problem with running my python file code. I use Linux. I had a file with the name "app3.py" file on the Desktop; then i removed ".py" from the end of the name of the file; so now i have "app3" …

Member Avatar for Gribouillis
0
431
Member Avatar for pwolf

Hello, I recently started using vim, and decided it was about time to check out some plugins. I am still not very familiar, so my problems could be related to that fact! I started by installing vundle and using it I have installed a few top rated plugins, when I …

Member Avatar for Hiroshe
0
239
Member Avatar for anestistsoukalis

I am facing a problem with my terminal (Ubuntu 12.04 LTS) . I was making some changes in the /bin/bash , but I have keeped a backup of .bashrc in case of something went wrong. Anyway today I have tried to open my Terminal and the following message appeared: There …

Member Avatar for Gribouillis
0
2K
Member Avatar for lim.charmender

To connect to a network using networksetup, we use `networksetup -setairportnetwork en0/1/2 <Network name> [Password]`. However, when the network uses WPA2 Enterprise, it needs a username. What should I do?

Member Avatar for lim.charmender
0
206
Member Avatar for theashman88

I'm currently having an assignment that wants me to copy a select amount of files. More specifically files that are even using the cp command. The assignment is to copy files that start with cp and are even. This was my command at first `cp[24680]*` but it returned all files …

Member Avatar for rubberman
0
1K
Member Avatar for jackmaverick1

How do Vim and Emacs allow the whole console to be used, even after an enter has been recieved? (this can be Windows-specific) I've got unbuffered input, and I have methods for output to print to anywhere in the console. What methods do Vim/Emacs employ to make the entire screen …

Member Avatar for mike_2000_17
0
254
Member Avatar for darkofpain

The simplest way is now friends with this command when running this sample compiled #include <stdio.h> #include "fcgi_stdio.h" int main(int argc, char *argv[]) { while(FCGI_Accept() >= 0) { printf("Content-Type: text/html; charset=UTF-8"); printf("<center><br><br>Hello World Wide Web</center>"); } return 0; } **operation type:** cgi-fcgi -start -connect localhost:9000 ./hello After you run this …

Member Avatar for darkofpain
0
258
Member Avatar for singularity~

How can I open an application on a specific workspace using the terminal in UNIX? **** I cannot use any external addons like Devil's Pie ****

0
256
Member Avatar for fheppell

I installed zsh instead of bash and quite like it. However today I was changing the php path and I messed it up. I know what I did wrong, and I would just edit the file and fix it but my mistake has stopped any commands working. I could access …

Member Avatar for fheppell
0
177
Member Avatar for clouds_n_things

So I wrote a cool little python script for terminal commands that I get sick of entering. Most of the script is explained in docstrings and comments. Looking for useful terminal commands or things I missed or could have done better. I'm actually quite proud of it. :) #!/usr/bin/env python …

Member Avatar for clouds_n_things
1
308
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
298
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
376
Member Avatar for chriswelborn

This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to …

0
370
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for pattmorter

Hey everyone, So i've been doing some reasearch and I can't seem to find the answer to my problem anywhere. It could also be that I don't really understand the articles I find in google but I figured I'd ask here since everyone is always so helpful. So for a …

Member Avatar for pattmorter
0
252
Member Avatar for ziyaddinsadigov

I saw that github commands in linux terminal always uses word "git" before all it's commands. How to use my own word for my shell script? for example, $ git commit or $ git status

Member Avatar for L7Sqr
0
184
Member Avatar for saltex

Hey all, Wanted to ask a question about the guest profile on Mountain Lion. I have always been a little insecure about changing and adding new feats to the terminal, so I'm trying to figure out a way that I can be *more* secure. I have recently edited both bash …

Member Avatar for macmad
0
265
Member Avatar for bmfinn

I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end …

Member Avatar for bmfinn
0
925
Member Avatar for Josue198s

Vim in my Mac Terminal doesn't show line numbers,when i code in Perl,please guys how do i fix that?

Member Avatar for chris.stout
0
200
Member Avatar for msrikanth

Hi, I Want a shell script, when i run it should print the current row & column number of the terminal in which is invoked , so how can i get the current row & column number in the linux . Thanks Srikanth M.

Member Avatar for msrikanth
0
2K
Member Avatar for jaffi034

my professor provided us with the java program so we could each compile it and run it on our computers. heres what i get: socketProgramming$ java TCPServer <--------name of program - TCP Server program started. - Server welcoming at port #: 6789 im trying to connect to my professors terminal …

Member Avatar for skilly
-1
240
Member Avatar for v3ga

My objective is to implement a GUI calculator in java. I am thinking of passing the expression entered by the user to bc and then get output from terminal and print to user. My question is [LIST=1] [*]How to execute a terminal command from java so that i can pass …

Member Avatar for v3ga
0
348
Member Avatar for pwolf

well this is the first time i am trying to make a module, i saved the .py file into a new directory called MyModules and tried to import it in IDLE, but it returned the following error; Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import polymod …

Member Avatar for pwolf
0
563
Member Avatar for skootles

I have a C# program that I run on a Windows PC and a camera app running on a Windows CE6 terminal. The two are connected using Activesync 4.5. From the PC app, I want to be able to do the following. 1. Launch the terminal app 2. With the …

0
147

The End.