1
vote
0answers
543 views

Make a USB drive bootable for Windows 7 setup

What is the equivalent of bootsect command available in Windows, on a *nix system? Usage: In order to make a USB drive bootable for Windows 7 setup I have to boot-up VMWare and run bootsect.exe /...
1
vote
3answers
508 views

Not able to install internet explorer!

I followed this link for installing Internet explorer. A GUI opens when I run the following command: ravbholua@ravbholua-Aspire-5315:~/ies4linux-2.99.0.1$ pwd /home/ravbholua/ies4linux-2.99.0.1 ...
0
votes
1answer
419 views

How to find the url of the saved web page? [closed]

I am facing this issue since long. I open a web page and save on my hard drive. Later I open the saved file. But suppose I want to know the url of the same page, how to know that. As I have no idea of ...
0
votes
1answer
563 views

Start up commads in Lubuntu 2 [duplicate]

After posting my question here, Start up commads in LUBUNTU I got no answer so here it is. I have these 2 commands: xinput --set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 4 ...
0
votes
2answers
1k views

Realtek drivers prevent detection of eth1 interface?

Here's the situation: I had a working network setup on my Debian box, with two Ethernet interfaces being reported by ifconfig - eth0, and eth1. eth0 is an onboard Realtek NIC, and eth1 is a D-Link ...
0
votes
1answer
319 views

configure iptables to accept incoming requests

Let me clarify: I have an iMac wich is wireless connected to the router from the ISP. The Centos computer is connected to the iMac with a cable and internet sharing is turned on. Installed Nginx on ...
2
votes
1answer
184 views

Grep ^ and $ at the same time

I'm, trying to use grep with a ^ and $ at the same time but for some reason that does not work. If I type grep '^s.*e' german.dic I get a lots of words starting with s and having an e somewhere. A ...
4
votes
2answers
5k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
2
votes
1answer
246 views

Change a driver's source code and compile

I have made some little change to if_igb in /usr/src/sys/dev/e1000/if_igb.c. How can I compile only this file and load it to kernel dynamically? I'm using FreeBSD 8.2 Release.
5
votes
4answers
920 views

Allowing rename but not moving to other directory

Users can upload/delete/rename files via vsftp server and everything works well except they can also move files across directories. Is it possible to allow renaming of files but disallow moving them ...
3
votes
0answers
228 views

Gnome 3 always on fallback upon login

I have a Debian Wheezy install, with Gnome 3 as the windows manager. I also have a NVidia video card for what it matters. I autolog in gnome upon boot to my user account, but it always start gnome ...
1
vote
2answers
165 views

Meaning of the following linux commands

cat "$1" > /tmp/file.$$ 2>/tmp/file0.$$ grep "*" /tmp/file.$$ >/tmp/file0.$$ I understood that in the cat command, if an error occurs, the error will be shown in file0.$$ and if it ...
3
votes
1answer
479 views

Understanding the output of apt-cache depends and apt-cache showpkg

I'm using Lubuntu 13.10 which doesn't include gedit by default. But I have installed it using sudo apt-get install --no-install-recommends gedit Now, when I run apt-cache depends gedit, zenity and ...
0
votes
2answers
30 views

mysql USER unclear about what can be dropped?

When show databases there is the information_schema below it listing my created databases but what is 'USER' and 'mysql' listed in there? I don't know if ages ago I made a mistake and created them ...
1
vote
1answer
208 views

Disallow switching to other windows

I'm working on a python project where I'm displaying a graphical window with a login screen. I've disabled the close, re-size and minimize buttons. The OS is Ubuntu. I have to disable all the ...
1
vote
3answers
2k views

Batch file move to directory structure based on filename

I am writing a script to move files into directories based on the filename. Files have yyyyddmm-xxxxxxx.jpg name format. The desired directory structure is in the format 2013/01 Jan/31. I am unable ...
2
votes
1answer
2k views

Create multiple databases in one command line?

Can this command be scripted? $ mysqladmin -u username -p create databasename I'd like to do it for multiple names all at once? Also I'd like to then set permissions for all of them at once as well....
1
vote
2answers
2k views

How to use netstat command

My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example? Example: I have a tomcat server, and It will use port 8080. I want to make sure that port is available for ...
3
votes
2answers
3k views

How to find frequency of occurrences of strings contained in a file?

I have a file that contains a list of URLs of the form EDIT http://www.google.com/absd/siidfs/kfd837382$%^$&, www.google.com, google.com yahoo.com/list/page/jhfjkshdjf... I ...
2
votes
2answers
10k views

integer expression expected bash

Trying to loop a phrase inputted by the user a set amount of times that is also inputted by the user. Keep on getting the error integer expression expected, and I can't figure out how to fix it. #!/...
15
votes
2answers
14k views

How to identify a process which has no pid?

I have a process which listen to 2 ports : 45136/tcp and 37208/udp (actually I assume it is the same process). But netstat doesn't return any pid : netstat -antlp | grep 45136 tcp 0 0 0.0....
1
vote
1answer
148 views

What are the ramifications of recursively chown'ing the directories on an external drive that currently has 501:dialout or root:root permissions?

I have a Raspberry Pi that's running a Raspbmc distribution and I've noticed that a lot of the directories are either owned by the user 501 and the group dialout or both the user and group root. It's ...
2
votes
0answers
381 views

Separate Chrome webapp shortcuts from Chrome in Gnome Shell

I created some webapps in Google Chrome that will open in their own windows, like Google Keep, for example. But whenever I open them, it will say Google Chrome in the black bar (Gnome Shell) and in ...
2
votes
1answer
176 views

How can I tell if a third-party repository is reputable?

Among other things, I want to install ffmpeg on a CentOS server of mine (just a personal server - nothing too special). I noticed that one set of installation instructions advise to add a DAG ...
1
vote
2answers
944 views

Resolving pseudo domain name to private IP

Assume I have a VM running on OSX with private IP 10.0.0.1 which can be accessed from the host machine. I was wondering how can I map a pseudo domain, *.app.dev, to the private IP on my host machine ...
5
votes
1answer
3k views

Escape hash mark (#) in /etc/environment

I am adding an env variable to /etc/environment but because the variable value contains # sign, string is striped. MYSQL_PWD="something#no" Now if I do env above code yields MYSQL_PWD=something. ...
3
votes
2answers
1k views

Add xinput to the start up secuence of LXDE

I want these 2 commands to run on boot. xinput --set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 4 xinput --set-prop "Razer Razer DeathAdder" "...
2
votes
0answers
873 views

Could I add GPT BIOS Boot Partition after Debian installation?

I recently installed Debian Wheezy on a server with 24TB of storage (RAID 6). When I partitioned the big volume I selected Manual option and created the partition scheme. When I was partitioning, I ...
1
vote
2answers
504 views

Get scan codes in octal format

Using showkey -s I can get the scancode of a key as a hex-number. How can I get it directly as an octal number?
3
votes
1answer
7k views

How to change the Xorg gamma/brightness?

I'm trying to play a game (Deus Ex) which I have to modify the brightness since it is very dark in my ambiance. The game has a "Brightness" setting, but lately it doesn't work. I tried to figure out ...
1
vote
1answer
452 views

Specify partition data in sfdisk and parted

With this line: (echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 7; echo w) | fdisk /dev/sda I can create a new active primary partition for NTFS, 24 Giga large. The syntax ...
2
votes
1answer
5k views

Ubuntu- How do I change clock speed from terminal? [duplicate]

The title of this question pretty much says it all. What command or program do I need to run in order to change the clock speed to a specific value I want? For example, I'm looking for something like &...
1
vote
1answer
1k views

No module Found error in Linux but Works fine in Windows

I am trying to run a Program that I coded in Python in Windows environment When I am trying to copy the program and running it in Linux(Debian), It won't work, It is giving the following error, ...
1
vote
1answer
92 views

Get last changed content since last read

How can I get the last changed content of a file, since its last read? Something more precise that this: tail - <nr >file_1.txt >file_2.txt where file_2.txt gets the last modified content....
26
votes
6answers
4k views

Pipe to multiple files in the shell

I have an application which will produce a large amount of data which I do not wish to store onto the disk. The application mostly outputs data which I do not wish to use, but a set of useful ...
5
votes
1answer
5k views

log network activity in ubuntu server

I administer an Ubunu Server exposed to the internet and have the need to monitor and keep track of all the network activity in a manner that allows me to analyze it afterwards. I already tried some ...
0
votes
0answers
51 views

Exporting Logical Volume to Mac for use as Time Machine drive

I have an Ubuntu server, and I have put a hard drive into this server. The logical volume on this hard drive looks like Device Boot Start End Blocks Id System /dev/sdb1 ...
10
votes
1answer
1k views

generate a hyperlinked table of contents and insert into existing PDF

I have an existing PDF (without any corresponding source file), and a text file which is a list of items referencing sections within the PDF file, along with a page number for each item. I would like ...
2
votes
2answers
176 views

Make zsh show autocomplete choices even when a possible match is entered

On my current system (openSUSE 12.3 with zsh 5.0.2) the autocomplete function does not give me a choice of possible completions if I have already entered a possible completion match. For example, if ...
1
vote
0answers
2k views

wget command not working in cronjob

here is my command : wget -c -O /home/alireza/Desktop/1.mkv http://mysite.com/myfile and here is my /etc/crontab file : SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 0 2 ...
7
votes
2answers
4k views

terminal: displaying special characters

In some programs, such as htop the lines and frames are not displayed correctly. Instead, they are displayed as - and /. But on another machine, they are displayed correctly as proper lines: I ...
1
vote
1answer
1k views

0403-053 Expression is not complete; more tokens expected

I have this piece of code given below as a part of my main script if [ -e /tmp/rsm/Logs/filename_$$.txt ]; then { total=0 for files in $(<filename_$$.txt); do #cd /tmp/rsm/Logs docs=`grep -i "...
0
votes
0answers
155 views

how to install yoono-desktop?

Just now i download yoono-desktop from http://www.yoono.com/desktop_features.html.While trying to install this app it showing error [root@localhost mpatil]# yum install yoono-desktop Loaded plugins: ...
0
votes
2answers
282 views

Map a shell command to execute it into vim

I want to map, in my ~/vimrc file, the key <F4> in vim in order to execute the indent program on the file which I'm currently editing. How can I do it? If I do this,the compatibility with vi ...
1
vote
1answer
84 views

Grep expression with special file names

I have to go through some regular files in directories and find those files, that have their own name in its content. In the following piece of script is a cycle in which I am going through paths ...
28
votes
4answers
15k views

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
0
votes
1answer
71 views

Debian: package updates in stable distribution

I am running Debian Wheezy, which is the current stable Debian distribution. In my /etc/apt/sources.list, I have something like the following: deb http://ftp.de.debian.org/debian wheezy main deb http:...
1
vote
4answers
2k views

Internet not working

I am using Linux mint. And this is my kernel. uname -a Linux nithesh-desktop 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux I was having a networking ...
2
votes
2answers
125 views

How come Debian has no time(1) manpage?

Searching for manpage for time command does not yield any result (search form). As a sidenote, it appears to be a BASH built-in command since dpkg --search bin/time cannot find it. Perhaps such ...
10
votes
2answers
53k views

How to list groups with gid in redhat?

I first listed the groups using : groups I added group using groupadd -g 300 oinstall groupadd –g 500 dba and then when I do groups root bin daemon sys adm disk wheel sfcb I am unable to ...

15 30 50 per page