3
votes
1answer
1k views

arping equivalent for IPv6

What is an equivalent for IPv6 of arping -q -c 3 -A -I [device] [ip]? I know, there is not an arp in IPv6 and Neighbor solicitation used instead, but which linux user space tool can send such ...
0
votes
1answer
824 views

Windows host shares doesn't get mount when I boot into Linux guest in vmware?

I've enable network shares in vmware and I want to share a Windows folder with my Linux guest OS but I don't know where to look in my guest OS? In Linux I've looked into network shares and samba ...
4
votes
1answer
7k views

Substituting the first occurrence of a pattern in a line, for all the lines in a file with sed

Is it possible to do it in one liner? I have an output like this: "First line" - Description " Second line" - Description "Third line" - Description " Fourth line" - Description This input ...
2
votes
2answers
237 views

Notification out of screen

The notifications extrude the screen. Anyone could help? I am on Ubuntu 11.10 with Gnome3.2.
1
vote
1answer
385 views

Tiny font on Fedora 16

I'm finding that several programs have tiny font with Fedora 16. Google Chrome, for example, has miniscule font in the tabs. MATLAB has tiny font in the menus (File, Edit, etc.) I have the "larger ...
5
votes
3answers
8k views

How can I change 'change' date of file?

How can I change 'change' date? $ touch -t 9901010000 test;stat test File: `test' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: fe01h/65025d Inode: 11279017 ...
0
votes
2answers
289 views

Memory Stick Partially Corrupt

My memory stick has recently become partially corrupt and has slowly been getting worse. About a week ago or so I unzipped a Windows .rar archive and placed the contents unto the flash drive, I ...
3
votes
1answer
500 views

Can I configure XFCE terminal the way to open all the new terminals as tabs of one window?

I strongly prefer to have one terminal window with all the terminals being tabs in it, but the most usual way I open a terminal is calling it from another application (usually with "Open Terminal ...
2
votes
2answers
659 views

Joli OS on ARM devices

I didn't really know where to ask this question, so since Joli OS uses the linux kernel and they don't seem to have a forum here I go. All the official information I could gather says it doesn't work ...
3
votes
1answer
4k views

USB 3G Modem for embedded Linux?

I am fairly new to Linux world, I have to develop an application on embedded Linux which sends data over internet. I have to choose a USB 3G modem with a SIM card holder. I would appreciate if anyone ...
3
votes
2answers
16k views

How can I configure /etc/hosts file to point to apache web server?

I have installed apache web server and I need to point 127.1.1.1 with alias (www.someaddress.lan) to local apache. What is the proper way to do it? How to point someaddress.lan to default apache page ...
0
votes
0answers
556 views

How do I run IRSSI as non-root user?

I am completely new to linux, and I'm trying to get in the world of command lines as it fancies my curiosity. Anyhows, I've got a NAS and Optware installed. I was able to install irssi script (via ...
2
votes
1answer
1k views

mdadm raid0 with disks of different size?

Currently I'm using LVM just to merge a few disks of different size. I want to know if it is possible to use mdadm with stripes instead of LVM? Will it give me additional performance? Will it use ...
4
votes
3answers
756 views

List of available fonts with samples

I want to list all installed fonts on my system and view them to choose one for some purpose. How is that possible? Is there a program, which can provide sort of gallery of installed fonts?
4
votes
1answer
348 views

command like wc but with tee behaviour

I want to backup a database using psql and COPY command. here is my script: psql "user=${USERNAME} host=${HOSTNAME} dbname=${DBNAME} password=${PASSWORD}" -c \ "COPY (SELECT * FROM tbl) ORDER BY id ...
1
vote
1answer
261 views

How can I get this java command to act on each file found by a find command?

I have this command inside a Bash shell script, the intention of which is to apply a java command, htmlcompressor, to each HTML file found in a directory: find $DIR -type f -name '*.html' -exec java ...
1
vote
2answers
185 views

Shell script to detect PDFs with non-ASCII contents

I need a shell script to detect valid PDFs. That is, I need to retain only plain ASCII PDFs. Other PDFs which contain non-ASCII contents and malicious scripts need to be deleted. How could I go about ...
1
vote
1answer
2k views

Broadcom wireless card in with Fedora 16

I just installed Fedora as a dual-boot (other OS in Win7) on my Dell Inspiron 1750 and, of course, the wireless card is missing firmware. The wireless card is called Dell Wireless 1397 WLAN ...
0
votes
2answers
138 views

How to act on output from a failed command [duplicate]

Possible Duplicate: What is the easiest way to execute text from tail at the command line? I was guessing the ouput of a command that fails to execute should be sent to stdout and hence can ...
0
votes
1answer
687 views

Filesystem for Gentoo root?

I need a fast and space eficient filesystem for my Gentoo workstation. I have some expirience with ext4 and found it very slow on lots of small files inside the filesystem. I am considering another ...
0
votes
2answers
820 views

Errors when loading terminal

Every time I run a new terminal window (before I do a single thing), I am greeted with these messages: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such ...
1
vote
4answers
1k views

UDF and fstab (no UUID)

In my search for the ideal filesystem to share files between a lot of computer with a lot of different OS'es I accepted this answer and installed a UDF filesystem on my USB stick. First I blanked the ...
0
votes
1answer
485 views

rsync giving “Directory has vanished” when there are multiple (existing) source directories

This is happening to me: $ rsync -av ./foo ./bar $DEST sending incremental file list directory has vanished: "/path/to/foo" foo exists and is regular a regular dir, and rsync -av ./foo $DEST works, ...
1
vote
1answer
1k views

Photoshop CS5 in Fedora 15

I'm working on a project, which implies that I use photoshop design files. So far I haven't figured out the best way to deal with it in Fedora 15. I installed GIMP, but layers don't look as they do ...
0
votes
1answer
197 views

How to use a password as an external variable in shell?

I have this MySQL backup script that I use to back up MySQL databases. Very useful, and it runs on fixed intervals using a cron. However, I need somehow provide this script with the MySQL password. ...
1
vote
3answers
8k views

How to switch “/” back to writable mode without reboot?

[root@SERVER .ssh]# mount|grep -i " / " /dev/mapper/rootvg-root_lv on / type ext3 (rw) [root@SERVER .ssh]# mount -o remount / mount: block device /dev/rootvg/root_lv is write-protected, mounting ...
12
votes
4answers
16k views

XFS vs Ext4 vs Others - which file system is stable, reliable, for long run such as 24/7 case [closed]

XFS and Ext4 file system which one is really stable and reliable for long run with heavy disk write and read? the system will be used in a place where 24/7 is in service, and every second there is ...
1
vote
4answers
1k views

Dynamically changing the proxy server for all outgoing traffic

I have three proxy servers in my college, all of them are connected to three different service providers. At different instant of time, different proxies give different speed (depending the number of ...
8
votes
6answers
7k views

Is there parallel wget? Something like fping but only for downloading?

I've found only puf (Parallel URL fetcher) but could to get it work with reading urls from file and something like puf < urls.txt does not work either. The operating system installed on the ...
1
vote
2answers
3k views

Specifying outgoing interface for SSH tunnel

I have a machine with two public IP addresses on two interfaces. This machine is running sshd. Is there a way to specify, when creating a tunnel with a SOCKS interface (i.e. -D), which interface to ...
6
votes
1answer
603 views

caching a master passphrase on a linux server

I am trying to use keychain on debian latest stable with some difficulty. Searching online I could not find a solution, but thought perhaps a different approach or a different tool might be better in ...
0
votes
2answers
1k views

creating custom mount point in / for a file system

If I want to mount a file system at /myname is it possible by just editing fstab file? Or should I do more to be safer? Is any other way to do it, or its not a good idea to do?
2
votes
2answers
241 views

Verify if a system has DVD burners?

Is it possible to verify if the system has a DVD burner installed? I need this for a script.
1
vote
1answer
59 views

Restore from wastebasket shortcut?

Is there a shortcut for GNOME desktop to restore a file which has been sent to wastebasket? I did this on windows with ctrl + y, I just wonder if someone uses something similar on Linux?
1
vote
1answer
9k views

wired connection not working under Ubuntu 10.04

(using Ubuntu 10.04 LTS on a netbook prior to any updates) The wireless works fine, the wired connection has been tested using a Windows computer. Choosing auto eth0 from the power manager fails. ...
6
votes
3answers
4k views

How to log to file and to console

I know that I can log to file by adding > log.txt to the end of a command but how can I log to file AND to console?
0
votes
0answers
539 views

How to disable tmpfs on /media in openSUSE?

In OS 11.4 /media is a regular directory. Whatever I put there, it stays. In OS 12.1 /media is tmpfs. Whatever I put there, on next restart is gone. The question is -- how to get rid of tmpfs on ...
9
votes
4answers
67k views

How can we change root password?

If we don't know the root password and don't have root access to the machine, how can we change the root password?
1
vote
2answers
678 views

How does this shell command work?

The following command puts the content of the local id_rsa.pub into the authorized_keys file on the host. But I don't quite understand how cat and | works together to achieve this goal, can someone ...
25
votes
1answer
4k views

How do you make tmux count windows starting with 1 instead of 0?

I was able to make GNU Screen start counting windows with the number 1 instead of the default 0 with this code in my .screenrc: # Get rid of screen 0 bind c screen 1 bind ^c screen 1 bind 0 select 10 ...
2
votes
1answer
432 views

Renaming a bunch of files but keeping the number part

I have a bunch of files like this: pic100.png pig102.png box103a.png superb103b.png px103c.png rotor110 - new.png ready1323 (yellow car).png motorhome1036x red circle.png ... so, you can notice ...
1
vote
1answer
522 views

SSH tunnel: “channel x: will not send data after close”

When I work with ssh tunnel, I get the following message repeatedly: debug3: channel x(a number): will not send data after close What does it mean? I also get the following messages: debug2: ...
5
votes
3answers
2k views

How can you mirror the stdout of one terminal to another one?

I'm not sure if I'm phrasing the question correctly, but let's say that I have two virtual terminals open, and if I typed ls in one of them, I'd get the contents of the directory in both of them (the ...
2
votes
1answer
777 views

Setting gnome themes inside xfce

I have a few apps (such as Aisleriot) that are GNOME based, therefore they use the gnome defaults (which is some light theme), but I use xfce4 with compiz. My xfce theme is a dark one (atolm to be ...
2
votes
1answer
340 views

autoconf save ./configure command line to config.h

Some binaries save the command line used to configure them inside the binary (I don't remember any that do, otherwise I'd check the source). Is there a way to obtain the command line used as a macro ...
5
votes
3answers
6k views

Will yum remove mysql-server delete my databases?

My MySQL server has broken down, and I can't figure out why. Trying to do a yum reinstall I get this: Error: mysql-server conflicts with mysql-server I figure that's because the server already had ...
1
vote
1answer
497 views

FreeBSD on ARM architecture?

Can FreeBSD be used for ARM architecture devices? Also, is there a camera driver for FreeBSD?
2
votes
7answers
2k views

Creating an HTTPS tunnel

I have a VPS. How do I connect to my server through HTTPS protocol and redirect my browser connections to the HTTPS connection? Currently I use SSH tunnel but it's too slow.
1
vote
1answer
2k views

Out of range error on monitor after installing video card drivers

I have a dual boot system with windows xp and a fresh install of linux mint 12 lxde. I installed the video card drivers for my ati radeon (hd5570). After this I get an out of range error on my monitor ...
4
votes
2answers
3k views

Awesome: keyboard layout switch

I use awesome as a window manager under gnome (debian system) and I made a widget to switch keyboard layout by this code: -- Keyboard map indicator and changer kbdcfg = {} kbdcfg.cmd = ...

15 30 50 per page