1,293 Topics
hey everyone I was wondering if there is any tool that I can use to draw a Wi-FI coverage map in linux ?? Thanks in advance
I have unix ubantu softwere.when I run any php filE in my firefox i got only a pop up window where to save the file ? what should i do?
I hav amde this alias : test='python -m nose.core --tests $1 -s --with-coverage' this runs but gives an OS Error saying: $ test test_filterList.py nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module ....E ====================================================================== ERROR: Failure: OSError (No such file /Users/sanjeevkumar/Development/python/-bash) ---------------------------------------------------------------------- Traceback (most recent call last): File …
I am involoved in migrating OS from AIX to SLES 11. One script has a command Unix2dos & Dos2Unix. What is the alternative for these in SLES. Will recode latin1.. work???
Hi All (Sorry if this is the wrong place, it's an odd question so couldn't think where else!) I need to setup email alerts on a Cathexis CCTV Server which runs NetBSD and Cathexis' Cat6000 software. However, it only gives the option for address and smtp (nothing else), and our …
I program mainly in C++ but recently took up Java for its advantages. I heard about the mono project and that C# is now cross platform but that the GUI of C# is not. I like Java but I also like C#, Java has some anoying restrictions sometimes (like no …
is there anyone interested in the idea of making a new operating system in the (Unix Like operating systems) category, if you are interested we can start brainstorming about how achieve that goal.
Hi, I need to filter and remove files which are older than a month from a Unix folder. I got the below command from Daniweb. find /path/to/directory -type f -mtime +31 -exec ls -ltr {} \; Can I use this command in ksh script? Does the file name need to …
Hi I have just replied on a post that was posted 43 years ago. My reply was also 43 years ago. I had that feeling that time just flies lately but this might be a little too fast. Or is it just some issue with unix time. This is the …
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 ****
Does anyone like to use Linux over the Microsoft XP or System 7/8. I have used at least 4 virtual Linux's and like the fact that you do not have to run with Virus or Spam software. Unix based system?
How to call webpage from unix script?
Hi All, I have a problem to extract data from a text file. My file looks like *KEYWORD 10. 30. 50. 40. 50. 60. 0. 15. 25. llllllll KEYWORD 11. 31. 50. 40. 51. 60. 0. 15. 26. llllllll* My aim is to extract second datapoint by using first keyword. …
I need to make a script run under my username each time the computer boots up. I have been told that the file I need is in the /etc/init.d/ directory but that's all I know. This script will not be service I shouldn't have to mess with all the 'S' …
Hi Can anyone explain me the following command. This may be a minor one, but, please do explain in detail. CHKTRANS=`echo ${0} | grep '/transforms/' | wc -l`
Do have for Ubuntu any software for Windows Phone Lumia 720?
Two questions, How do I create a unix timestamp from a date variable derived like this: `var myDate = $(this).data('date');` the format is like this: 2013-01-01 and how do i then create a new unix timestamp for 90 days later than myDate? Thanks
Hi. I have a noobish UNIX question. I have a password-protected section of my website for testing (named 'sandbox') and I'm trying to write output to a plain text file in that directory. But I'm getting the following error due to permissions settings. `Warning: file_put_contents(testdb.txt) [function.file-put-contents]: failed to open stream: …
Hi all I want to login a machine remotely and doing some operation on the remote machine and then exit the remote machine by a unix shell script. I can login these two machines without passward. How can I do that? For example, my script is on machine1. that script …
I've been using Linux for about half a year now but I'm definitely not taking full advantage of it as my knowledge regarding it is weak. I've seen some recommendations for the book "Unix Programming Environment by PIKE ROB KERNIGHAN BRIAN W. (1984)" but I can't help wondering if such …
Hey guys, I wasn't exactly sure where to put this post, but this was my best guess: I'm on a HPC and wanted to use vim as a python IDE and was trying to install my own version of vim (7.3) with a python interpreter. I use configure to enable …
I'm working on a struct array and I need to dynamically delete elements from the struct. I have the added dynamically but I've run into some issues with deleting. I've researched different methods and tried a few. I found that one from here works, in that it will delete the …
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 …
How to run a program in background in Linux and Unix?
Hello, I am creating some sort of cPanel, and I want people to be able to log in using their Linux user. I installed the PAM extension, but it's functions aren't recognized/return nothing. Installing it using the `pecl` command does not work (some ./configure errors, I am not really in …
C program that extends my.c to take file names as command line arguments. It will read each named file and write the first 10 lines to standard output. If there are no command line arguments, it will read from standard input. If "-" is given as a file name, it …
Lab Assignment 1 - A Simple UNIX Shell Objectives: The objective of this assignment is to understand the workings of a command-line interface (CLI) and to obtain a working knowledge of process forking and signalling. Assignment: In this assignment we will build a command shell in stages. Our command shell …
I have migrated my Oracle Developer 6i Forms and Reports to Oracle Developer 11g. Everything works fine except three of my batch report applications. They generate 300 to 400 reports each, which in 6i were stored (in pdf format) in a Windows network folder. From the folder they were emailed …
What's gvfs and why can't root access it? Emphasized Text Heremint-desktop ~ # du -sh /home/garrett du: cannot access `/home/garrett/.gvfs': Permission denied 73G /home/garrett
Hey there everyone! So, I am trying to implement a home network and would like it to run on either a Debian or Ubuntu server possibly virtualized with both on a XenServer. Anyways, my question is, would there be a way to create a domain like AD without having to …
I have a .htaccess plus PHP question and I am trying to find the answer my own over last months. Of course I have asked friends programmers but they have no clue about it. Because I have this question for many months I am not sure that I haven’t posted …
I am trying this example from Byte of Python, Chapter 10. I can't seem to get this zip to work. I am not sure if the syntax for windows is written correctly or not. I have tried running from interpreter and as a script and both return Backup FAILED. Anyone …
I am having trouble having redirection working with the ability to hit enter and remain in the same shell. My problem is if user types: ./a.out < foo.txt (where foo.txt contains a command like date) I want to execute that command and exit the shell.However,if the user compiles the code …
Ok so here is my problem, i have to write a simple computr system consisting of the processor and the memory, The project will simulate a simple computer system consisting of a CPU and Memory. The CPU and Memory will be simulated by separate processes that communicate I have to …
Hey I am a new unix student, please help me in this Exercise " Write a C code to represent a file system tree into an XML file. The XML is an exact representation of the file system nested files and directories that starts with the root directory “/”. The …
I need to convert the `UNIX_TIMESTAMP()` output into a readable date and time for output in a table. Anyone know how to do this? or am I in the wrong area again?
i want to compare dates stored in database in the format yyyy-mm-dd by changing it in unixtimestamp in the mysql query.for this my query is $bquery="SELECT * FROM rt_booking WHERE rt_unit_id='".$_POST['unit_id']."' AND (SELECT UNIX_TIMESTAMP(str_to_date(rt_start_date,'%Y-%m-%d'))>=".$my11." OR SELECT UNIX_TIMESTAMP(str_to_date(rt_end_date,'%Y-%m-%d'))<=".$my22.")"; but it is giving syntax error.
Is TCP/IP protocol set of all the devices like Windows,Mobiles,Linux,Unix,MAC OS same?identical? I mean is the TCP/IP protocol's source code in each OS same?no changes at all? 2. If we connect different types of PC running different OSs like, Linux,Mac,Windows or mobiles that run Symbina,Andorid,Java OS etc..(let's assume phones can …
Hi, I have a Python script that calls a program that only prints to the terminal [yes I tried to force it to print to file ... no luck]. However, I need to save the output of the terminal to file in order to perform further analysis. In the code …
I have been trying to install Fedora on my laptop which came pre-installed with Windows 8.I need fedora coz i have a course on Unix shell programming dis semester.But i haven't succeeded coz the bios is kind of different from the earlier ones.can u guys suggest me some way i'd …
Hi , Can anyone tell how I will send the local time zone to the server and so that I can convert the unix time(coming from the database) to the local time and display it on the clients side using php (In short I dont want to use javascript when …
Basically I'm supposed to make a program that copies the Unix -wc command. Flags -l, -w, -c, and -L are supposed to display # of lines, # of words, # of characters, and # of characters in line, respectively. I am having trouble reading in a text file (first time …
Hi guys. I would like to ask several questions about this. Im on my final phase of the proj, will appreciate some information. Qn 1: How do i make the user continually input till he types 'exit' to exit? Qn 2: If he types wrongly, or database couldnt find the …
I have just tried to access http://blog.seorevolution.com/2013/01/24/5133/ and get the following: Forbidden You don't have permission to access /2013/01/24/5133/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 Server at …
Log the output of BASH scripts to a Syslog-like format
Firstly, i'm really new to all this bash/unix/c stuff so i will probably get some words meanings wrong here, but anyway: Im trying to make a client pass simple shell commands to the server, which executes them. They communicate locally on the same machine through a socket. I can make …
Hi I have the following script to upload an image to the server. Instead of the script producing a unique name for the image, I actually want to just replace one image with another..ie. overwrite an image which is already there, with another of the same name. I'm getting a …
Is there a simple way of running Apple Mountain lion on a PC laptop. I know this seems like a ridiculous question but I have a client who for some reason thinks it should be possible. I think the next thing he wants to do is switch to UNIX. I …
Hie all l have an Hp Proliant ML110 G5 and l have installed Unix ScoServer 6 but it is not giving the GUI when i press CTL+ALT+f2, so l can l in the command line configure that so that l can get the GUI for either a standard crt monitor …
Hello all, recently got a piece of coursework I completely know nothing of. It is shown below: Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). …
The End.