Our Linux and Unix forum encompasses both Q&A based support as well as tweaking, managing, and configuring open source linux, unix, and bsd distributions.

749 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lewashby

I How can I get the output from grep into a variable? In the following program I've tried the SSID line two ways but I am not getting what I want. `SSID=$(grep) ${FILE} -o empty-ssid` Gives me this garrett@bedroom ~/Desktop/folder/project $ ./testScript.sh ../OLD-172.28.50.30-system.cfg Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep …

Member Avatar for lewashby
0
728
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 ****

Linux and Unix unix
0
312
Member Avatar for newbie14

I am trying to install ossec on a centos 6.4 machine but only repo which have .rpm file are from atomicrepo but then installing it require to upgrade my mysql I am reluctant to do it so I have used mock to rebuild and manage to yum install later from …

Member Avatar for newbie14
0
223
Member Avatar for m_ishwar

I have an old system with P4 processor, 1.12gb ram, 40 gb hdd (of which maybe 10 gb is in bad sectors) which was running Windows XP. I wanted to experiment with it. So, I installed Ubuntu 13.04 on it and completely removed windows xp. According to the [system requirements](https://help.ubuntu.com/13.04/serverguide/preparing-to-install.html) …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for paulas24
0
409
Member Avatar for rectifryer

Sorry for the painfully specific question. My company's policy dictates that we have to acquire dependencies from commercial sources. Does anyone know if RH has TKinter available for download anywhere on the site? I can not find it and unfortunately I cannot access their FTP site either.

Member Avatar for rubberman
0
155
Member Avatar for Ancient Dragon

I've been trying all day to find a way to duel boot Windows 8 and Ubuntu. None of the google links I read seem to work on my computer. My computer has two internal hard drives, Widows 8 is installed on the first drive c:. The second hard drive has …

Member Avatar for Ancient Dragon
0
350
Member Avatar for lewashby

Please take a look at my fstab below. I'm trying to mount the HD stb onto /home/garrett/ but I don't know waht options I should choolse. Thanks for any and all replies. # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc …

Linux and Unix linux-kernel storage
Member Avatar for rubberman
0
175
Member Avatar for Nihil777

I just installed Ubuntu 13.04 on a clean 1.5 TB drive. I have a two drives connected to my machine: 1 runs Windows 7 and the other is now loaded with Ubuntu. Installation went fine as far as I could tell, followed prompts and left all settings alone, accepting whatever …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for Nihil777
0
576
Member Avatar for NardCake

Hello! So I decided I wanted to try some CGI... and it's not working out well at the moment, any help would be greatly appreciated! So essentially in my 000-default virtual host config file I have this: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/apott/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> …

Linux and Unix apache
Member Avatar for NardCake
0
2K
Member Avatar for alaa sam

Hey everyone I'm using Linux mint 14 , I have a problem with it the screen doesn't lock automatically after sometime passes without usig it . Also when I suspend the screen doesn't lock either . I want to make it lock after some time and when it suspend . …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for rch1231
0
270
Member Avatar for lewashby

In the following script I'm trying to have an automated task to move all the screen shots I have taken with the "Prt Scr" button from ~/Pictures to ~/Pictures/ScreenShots Any ideas why it's not working. I did it at first with the mv command but was told by my instructor …

Linux and Unix shell-scripting:bash
Member Avatar for lewashby
0
755
Member Avatar for Tinnin

Hi all, I am running the following command: time wc filename >wc.out 2>time.out in order to place the `wc` output into wc.out and the output from `time` into time.out. wc.out is fine but time.out is empty. I can't see where I am going wrong. Thanks for any help offered.

Linux and Unix linux-kernel
Member Avatar for Tinnin
0
153
Member Avatar for ktsangop

Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able …

Linux and Unix linux-kernel linux:ubuntu ssh
Member Avatar for ktsangop
0
2K
Member Avatar for mini programmer

Hi all, First, I do not know what is the appropriate forum, here or in Python forum!! I am new user in Ubuntu and I want install Python to complete installation other program. After I downloaded Python version 2.7.5 , and uncompress the file in the my folder, I go …

Linux and Unix linux:ubuntu python
Member Avatar for mini programmer
0
1K
Member Avatar for oanahmed

Hi! That's my first post in Daniweb Forums. If I go wrong in explaining something or violate rules of posting threads, give me assistance. Two days back, I installed Fedora 18 having KDE Desktop Environment on my Core i3 Computer. It was working smooth and fine. I have Intel HD …

Linux and Unix video-card
Member Avatar for oanahmed
0
305
Member Avatar for alaa sam

hey everyone I want to change some environment variables , but I can't find the .bashrc file were I can change them, so can anyone tell me how to change environment variables in linux mint 14

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for here2serve
0
182
Member Avatar for tony75

Hi I nees answer for this questions 1.In Linux, what describes hdb2? Choose all answers that apply. Selecting an incorrect option will give minus points! A) [-1.00] Refers to the first disk. B) [1.00] Refers to the second disk. C) [-1.00] Refers to hard drive number 2. D) [1.00] Refers …

Linux and Unix linux-kernel
Member Avatar for tony75
0
765
Member Avatar for lewashby

I'M trying to get backtrack Linux to boot from a USB flash drive. The book I'M reading is haivng me to a lot of formating and what not on the flash drive from the CLI and then use rsync to copy the contents of the backtrack disk to the flash …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for lewashby
0
632
Member Avatar for McLaren

Hello, I want to make automatic restart of apache witgh cron. But what about everyghitng going in that moment - what will happen? Will it finish last requests and jobs or instatly stop and then transactions will be rolled back?

Linux and Unix apache
Member Avatar for McLaren
0
181
Member Avatar for OsaMasw

Hello guys, I need to create a daily backup for files and save them on another server I use rsync -av --progress --inplace --rsh='ssh -p22' /var/www/html/product root@37.101.11.144:/var/www/html/backup/ but this ask me for password , I want to create a cron job to copy files automatically at midnight. how can I …

Linux and Unix linux-kernel
Member Avatar for OsaMasw
0
1K
Member Avatar for Tinnin

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 …

Linux and Unix unix
Member Avatar for rubberman
0
198
Member Avatar for somjit{}

one of my good friends wrote [this](http://developertimes.wordpress.com/) blog here. he asked me for an opinion , however , i havent used linux much... only used centOS for about a semester in college for a networking course. i was hoping the members here could give some opinions about the blog. thanks …

Linux and Unix php:wordpress
Member Avatar for somjit{}
0
120
Member Avatar for McLaren

hello I don't get where my linux space is gone. when i run df -h, it shows used 15 GB of total 20 GB when I run ncdu program, to find what takes, I do sudo ncdu in my root directory. And I see sorted by size directories: 4.7GB home …

Member Avatar for JeoSaurus
0
296
Member Avatar for OsaMasw

Hey guys, I have problem in my server dns in resolve.conf keep reseting after upgrade or reboot what should I do to stop this ?

Linux and Unix dns linux:ubuntu
Member Avatar for CimmerianX
0
222
Member Avatar for MasterHacker110

I have been using kali linux for a wile now on my mini laptop. I am a developer and would like to start developing in nasm. The problem is when I try to download nasm I use this command: apt-get install nasm It gives an error that there isnt such …

Linux and Unix linux-kernel
Member Avatar for JasonHippy
0
414
Member Avatar for MasterHacker110

I have Windows 7 in my primary partition and I installed Ubuntu 13.04 in the second partition. I deleted the Ubuntu partition and kept windows 7. Now the next day when I try to start my windows 7 I get an error: error : no such partition. grub rescue> How …

Member Avatar for MasterHacker110
0
289
Member Avatar for bhallarahul

Hello every I have adobe reader 9 and now i want to install adobe reader 11 for the same purpose i run given command sudo add-apt-repository "deb http://archive.canonical.com/ precise partner" sudo apt-get update sudo apt-get install acroread but it gives Setting up acroread-common (9.5.4-1precise1) Noe how can done that donot …

Linux and Unix adobe linux-kernel
Member Avatar for bhallarahul
0
372
Member Avatar for MasterHacker110

I downloaded Kali linux, great os if you ask me, but I want to set the PATH to /sbin/ How do I do that, I want to set it permanantly and how do I make my account root so that I can create new files in /etc ... and so …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for MasterHacker110
0
470
Member Avatar for lukas.vandendijssel

Hello, I am sharing my webserver with a few people (it's my server) and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are …

Linux and Unix file-system linux-kernel php
Member Avatar for lukas.vandendijssel
0
589
Member Avatar for toldav

Anyone knows how to modify tmpfs on centos6 permanently. Thank you.

Linux and Unix linux-kernel
Member Avatar for toldav
0
135
Member Avatar for OsaMasw

Hey there guys, I have a strange problem, I have many linux servers (ubuntu) I have a script installed on them all servers works fine but one server dont keep login information, everytime I logged in its says hello to server then back to previous page wothout logging in, I've …

Linux and Unix linux:ubuntu session
Member Avatar for OsaMasw
0
256
Member Avatar for deltascrow

I just installed Apache on my Ubuntu 12.04 and set it up to run with my domain name. Everything is working perfect, with one qualm. Though my site is up, and when I type mydomain.com/index.html, the index page loads, or suppose I type mydomain.com/directory, the index.html page in that directory …

Linux and Unix apache linux:ubuntu
Member Avatar for deltascrow
0
402
Member Avatar for mferarri

Hi DaniWeb, I'm getting a light blue background in the text box. I don't know why this is happening or how to fix it.(it's usually white) Please see below for screenshot. http://imgur.com/UYg9srD If anyone can help me it would be much appreciated.

Linux and Unix linux-kernel
Member Avatar for cereal
0
234
Member Avatar for bsimms86

I currently have a Ubuntu 12.04 LTS box serving as a network repository for daily workstation backups for our HQ office. Throughout the day the Win7 workstations use Cobian Backup 11 to backup their user folders to their respective samaba shares on this server. At night this server rsyncs all …

Linux and Unix encryption linux:ubuntu
Member Avatar for bsimms86
0
1K
Member Avatar for lewashby

Just purchased a new Samsung 250 Gig SSD, extern & internal. When I pluged it into my Mint Linux desktop via USB it never showed up or auto mounted. When I tried to run the command 'sudo mount /dev/sdc /mnt' it gave me this error, 'mount: you must specify the …

Linux and Unix linux-kernel storage
Member Avatar for lewashby
0
204
Member Avatar for lewashby

I just went in to edit /boot/grub/grub.cfg and the first thing I seen in the file was this: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # How am I to make changes if …

Member Avatar for lewashby
0
152
Member Avatar for manchurianCEO

**Virus in linux machine???? Yes! under the following circumstances:** Please, before anyone jumps in with "impossible, there's no viruses for linux, you are stupid" read the post. I got a friend's computer to fix, Gateway NV53. Fast forward, put a new HDD but it won't accept any windows installation disk. …

Linux and Unix laptop linux-kernel
Member Avatar for mike_2000_17
0
264
Member Avatar for asaidi

HI i m new in linux and i have on my pc linux mint,now i just installed python 3 in my linux.. how i can use the gui to write some scripts i m learning python..and in the tuto he shows the gui in windows very easy to write how …

Linux and Unix python
Member Avatar for asaidi
0
129
Member Avatar for McLaren

Hello, as one of the forum members susgested - I need to learn PECL to use. So I tried today, but not succesfully. I tried installing random extention, I choose html_parse http://pecl.php.net/package/html_parse\ So as documentattin writes - I run: pecl install html_parse in the ubuntu command line. And get error …

Linux and Unix linux:ubuntu php
Member Avatar for McLaren
0
409
Member Avatar for lewashby

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

Linux and Unix linux-kernel unix
Member Avatar for lewashby
0
225
Member Avatar for tshukela.george

Hi guys I've downloaded debian-6.0.7-i386-CD-5 cd from linux site and burned the image to a cd, so my problem is that my pc skip the boot from cd booting process. My system type is x86-based pc, and I'm not sure if my system support the downloaded package please advice

Linux and Unix linux-kernel linux:debian
Member Avatar for sepp2k
0
282
Member Avatar for OsaMasw

Hello guys, I don't know whats wrong I followed every tutorial for adding editing cron jobs here is what I did. using putty sudo crontab -e 1 * * * * /usr/bin/php /var/www/cronjob.php then save file, my cronjob.php for testing perposes $DB_HOST="localhost"; $DB_USER="root"; $DB_PASS="123456"; $DB_NAME="cron"; $connect=mysql_connect("$DB_HOST","$DB_USER","$DB_PASS") or die ("error"); mysql_select_db("$DB_NAME",$connect) …

Linux and Unix linux-kernel mysql php
Member Avatar for OsaMasw
0
2K
Member Avatar for lewashby

I've been having a problem with my php, apache, mysql. I can't find the problem so I'M gong to uninstall all of them and re-install them using tasksel. But when I type sudo apt-get remove mysql, it returns the following: garrett@mint-desktop ~ $ sudo apt-get remove mysql Reading package lists... …

Linux and Unix apache mysql php
Member Avatar for cereal
0
204
Member Avatar for McLaren

Hello, maybe someone can write most important things what web developer should know about linux? When I am reading linux tutorials, I often find out that I don't need this what I read. At least never needed. So its not fun to read about things which you don't need. What …

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for McLaren
0
233
Member Avatar for NardCake

I was just curious if this is just me or what but it's extremely annoying. I have installed Apache2 and PHP on my Linux Mint 14.1 Cinnamon machine fine, but when I use `apt-get install mysql-server` (as super user), this happens. Reading package lists... Done Building dependency tree Reading state …

Member Avatar for NardCake
0
507
Member Avatar for MasterHacker110

When i try to uninstall openssl i get this error: Error: Trying to remove "yum", wich is protected I use the yum remove openssl Command how do i uninstall openssl then? Also after i installed it i had to configure some stuff in /etc/pki/CA I think that i might have …

Linux and Unix linux-kernel
Member Avatar for DoRight
0
2K
Member Avatar for McLaren

I was foloowing instructions: https://help.ubuntu.com/community/CompilingEasyHowTo and came to this: sudo checkinstall I run this command and at the end I get errors. /bin/mkdir -p '/usr/local/libexec/mc/extfs.d' /bin/mkdir: cannot create directory `/usr/local/libexec': No such file or directory make[5]: *** [install-extfsDATA] Error 1 make[5]: Leaving directory `/usr/local/src/mc-4.8.1.7/src/vfs/extfs/helpers' make[4]: *** [install-am] Error 2 make[4]: …

Linux and Unix linux:ubuntu
Member Avatar for McLaren
0
207
Member Avatar for McLaren

Hello, I have installed auto-apt using instructions: https://help.ubuntu.com/community/AutoApt but the problem is I cannot execute it bash: apt-file: command not found probably it could be in some directory, but there is not in enviroment variable. So how can I find where it is inslled?

Linux and Unix linux-kernel linux:ubuntu
Member Avatar for McLaren
0
700
Member Avatar for lewashby

Is there a way I an compress a file in Linux for Windows? I recently sent a compressed folder to a Windows recipient and I don't think they were able to open the file.

Member Avatar for cereal
0
183
Member Avatar for Ancient Dragon

Anyone use this distribution? I have a big big problem with the keyboard -- it misses characters or irradically repeats random characters. I might press a key quickly once and the driver will repeat it 100 or more times. Other times it misses the key altogether.

Linux and Unix linux-kernel raspberry-pi
Member Avatar for Ancient Dragon
0
126

The End.