2
votes
0answers
1k views

No way to record a live stream to WebM using ffmpeg?

I'm streaming from an mp4 source and so far I've managed to save clips as ogg (video: libtheora, audio: flac), but I'd like to save them in the WebM format. Unfortunately, WebM demands libvorbis for ...
3
votes
1answer
364 views

Display a right-click menu using a shell script

Is it possible to display a right-click menu using a shell script (or some kind of Unix command?) I'm trying to find a program that can be used to display a context menu at a specific location on the ...
5
votes
1answer
4k views

Use certain version of JRE / JDK for certain programs

I use ArchLinux, and an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. ArchLinux has an OpenJDK package (jdk7-openjdk) that I have installed, installed, and ...
2
votes
2answers
6k views

Ralink RT5370 Wireless usb dongle not working

lsusb Bus 002 Device 014: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter uname -a Linux HOSTNAME 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 11:21:14 CST 2012 x86_64 x86_64 x86_64 ...
4
votes
4answers
2k views

Pipe the output of a command to rm command

Following command prints the path of the song being played. mpc | head -n 1 songs/oldSongs/Mukesh_D/041 KANHAIYA = YAAD AAYI ADHI RAAT KO.mp3 Can I delete this file by modifying the command I used ...
6
votes
1answer
757 views

Understanding linux desktop

I use debian wheezy xfce and want to set up my desktop. But I read some settings are redundant. Hence I want to understand how everything works, but I am massively lost. Can someone please sort, ...
-4
votes
4answers
9k views

Cronjob for rebooting everyday

I have set this cronjob because I want my server to be rebooted everyday at 05:00 # file: /etc/cron.d/reboot * 5 * * * root reboot &> /dev/null I think it worked the first time as I was ...
1
vote
0answers
269 views

Multithread http downloader with webui

I looking for software similar to JDownloader or PyLoad. JD is pretty good but use heavy Java and for now have very weak web interface. PyLoad is awesome, include simple but powerful web-UI but ...
2
votes
0answers
848 views

Bad superblock after server crash

My server (CentOS 6) crashed, and it now kernel panics on boot. It's currently using a mdadm RAID1 array with two 1TB drives. vg_server2422-LogVol01 is / vg_server2422-LogVol00 is Swap ...
1
vote
1answer
197 views

What does - mean with association to Linux files and directories [duplicate]

Possible Duplicate: What does “--” (double-dash) mean? What does '--' (two dashes) mean with association to Linux files and directories. I've found something else but not too sure if it is ...
2
votes
4answers
222 views

Executing programs without having to specify a directory?

Why is it that I have to type /etc/init.d/apache2 (args) in order to run apache?? Isn't there a way to just apache2 args ??
1
vote
1answer
46 views

Is xfstt necessary?

I am using Lubuntu 11.10. Every time when I shutdown the system I can read on the black screen an error for trying to stop xfstt. I found info about this process here. I have K20xfstt in /etc/rc0.d ...
5
votes
2answers
3k views

How to build a custom kernel? [duplicate]

I want to test an (upstream) custom kernel on Fedora. The plan so far is: use a recent fedora config as starting point, e.g. /boot/config-3.6.6-1.fc17.x86_64 lookup build dependencies lookup right ...
1
vote
1answer
1k views

How to move files with same name and concatenate

My directory structure is given below. I need to move all the folders from Test3 to Test2 and concatenate the files with same names [jg@hpc Test2]$ tree . |-- Sample_1008 | |-- ...
1
vote
1answer
2k views

Accessing another user's files

I have a file "abc" with permissions 440 .The owner of this file is "root" and the group of this file is "groupabc" . I have a user "user1" .Is their anyway I can see the contents of files "abc" using ...
9
votes
2answers
3k views

can packages marked Debian/Ubuntu be installed in Linux Mint as well?

I have been using Ubuntu 12.10 for some time now, and I kinda hate it. 12.04 was a lot better. While i can still revert to 12.04, I am thinking about trying out Linux Mint based on 12.10 (the Nadia ...
5
votes
1answer
1k views

Create and set custom keyboard layout

I want to create and set a custom keyboard layout with setxkbmap. I created a file in ~/.xkb/prog with this content: partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" ...
1
vote
4answers
220 views

Zsh: dirs in reverse order

I am a bit confused about how dirs works. The documentation says: dirs With no arguments, print the contents of the directory stack. Directories are added to this stack with the pushd ...
2
votes
1answer
142 views

bash prompt with abbreviated current director including dot files?

I have the following in my .bash_profile (from a similar question here: PROMPT_COMMAND='pwd2=$(sed "s:\([^/]\)[^/]*/:\1/:g" <<<$PWD)' PS1='\u@\h:$pwd2\$ ' However, if the current directory ...
1
vote
1answer
960 views

Laptop falls-back to Vesa video-driver

I own Dell Inspiron 15R SE (7520) and I have installed Arch Linux on it. It seems that I have two video-cards so I have installed both drivers + Vesa driver (pardon me if that's wrong). dagrevis@haze ...
3
votes
0answers
4k views

WiFi not working - wlan0 FAILED

My Arch (3.6.5-1) is exhibiting a rather peculiar problem: when wifi is set up, all logs indicate that the setup was successful and that the interface is up and functional. However, when attempting to ...
6
votes
1answer
704 views

Timestamp of socket in /proc/<pid>/fd

If I list /proc/<pid>/fd I see a number of entries for sockets. These entries have timestamps. At first I thought they were when the socket was created. But it doesn't always appear to be the ...
2
votes
0answers
144 views

How do I get gnome to use the same keymap for control as normal?

I'm using a relatively new centos system with Gnome. I have set the keyboard to dvorak, which was really easy and straightforward. However, for some reason, the control keys are still qwerty. I ...
2
votes
1answer
251 views

How to make a permanent variable

In terminal: VAR="Extremely long and often used command" echo $VAR Output: Extremely long and often used command So far it works fine, but after restarting a terminal my variable doesn't ...
12
votes
4answers
11k views

What's the easiest way to find an unused local port?

What's the easiest way to find an unused local port? Currently I'm using something similar to this: port=$RANDOM quit=0 while [ "$quit" -ne 1 ]; do netstat -a | grep $port >> /dev/null if ...
0
votes
2answers
695 views

put rows of numbers into a column with shell script

I have a file with many lines, like 1 jfkdajfd 1 2 3 5 2 fkldfjld 3 fdkfloaf 9 10 4 fldfldkf 5 fdskf;ak 12 1 4 I want to get all the numbers and put them in a column in a file, like 1 ...
3
votes
2answers
1k views

Cygwin: readline lib loaded in different locations

Within cygwin, almost each unix command I type prints a warning message, takes time and eventually gives a correct result: -bash-4.1$ ls 0 [main] bash 7468 child_info_fork::abort: cygreadline7.dll: ...
1
vote
3answers
3k views

strange problem: join: file 2 is not in sorted order

sort flash_int_list.txt|join finish_comm - > t1 join: file 2 is not in sorted order I have sorted flahs_int_list.txt but it still says file 2 is not in sorted order what is wrong ? the ...
1
vote
0answers
112 views

Help with understanding the usage of the command “equery has”

equery has portage !!! Fatal error: Used ENV_VAR without match_expression or --package There is no description in http://en.gentoo-wiki.com/wiki/Gentoolkit On the other hand man page says it is not ...
0
votes
1answer
378 views

Error in .zshrc file

I've just installed last kubuntu and zsh shell, not for first time by the way. But in this time it shows some configuration option (perhaps it occurs problem), I chose something and quit. Then as ...
1
vote
1answer
4k views

Uncompress txt.gz files [closed]

Trying to uncompress txt.gz files on Linux. gzip, gunzip, unzip are not recognizing the file format. The archive is guaranteed to be not corrupted.
1
vote
1answer
487 views

Which parameters were used by apt-get to install init scripts for a package?

After removing the init script for hdparm with # update-rc.d hdparm remove, the wish is to re-install/fix/repair the hdparm init script. In other words to undo the update-rc.d removal. Calling # ...
2
votes
2answers
716 views

How to traverse a file and extract words using their index?

The given file must not be stored in variable and then traversed due to memory size restrictions: Example: var=$(cat FILE) for i in $var do echo $i done How do you traverse all strings in a file ...
3
votes
2answers
235 views

add fields from different files

I have two files A and B with the same number of lines. Each of them has multiple columns. I want to add field 6 in file A with field 3 in file B for each line. e.g.: file A: 2769 RUT10EKl3fY 0 ...
4
votes
1answer
2k views

intersection of two files according to the first column

I have two files in file A, there are sequence_numbers in the other file B, there are many columns, and the first column is sequnce numbers, I want to get a files with all the lines in the B with the ...
6
votes
1answer
2k views

comm: file is not in sorted order

I used comm to compare two sorted files. Each line in these files are positive integer numbers. But the results show comm: file 1 is not in sorted order comm: file 2 is not in sorted order How ...
1
vote
0answers
674 views

gkSudo Error no matter what I do

I don't know why, It wasn't happening yesterday. Was it because I turned the machine off and back on again this morning? Anyway here's the error. GkSudo won't run anything at all now. (gksudo:3262): ...
1
vote
2answers
888 views

Running google cloudprint on boot

I use this Python script on my Debian based Guru Plug to make it work as a print server for Google Cloudprint. With this I can print from my Android devices using apps like PrinterShare or Cloud ...
6
votes
2answers
2k views

Pipe Password to Application When Asked

The following should be done in a bash script: curl --digest --user schmijos https://bitbucket.org/u/p/get/tip.zip -o tip.zip How can I automatically submit a password to curl when it asks for it? ...
1
vote
1answer
2k views

Debian Cannot Access Internet Despite Being “Connected”

I'm have a problem, I cannot access the internet. I'm using a dell inspiron 6400 with debian kernel 3.2 installed. My windows manager is xfce4. I was never able to figure out the wired network, ...
2
votes
3answers
987 views

How to access a KVM virtual-machine?

I've created a KVM VM using virt-install. There is an image file in the directory /ssd/kvms. How do I access the virtual machine and turn it on? Do I need to assign an IP address, and if so, how do I ...
2
votes
1answer
178 views

Why is some filesystem space used even though the filesystem is empty? [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? After googleing a little I find that ext4 reserve 5% for root: Reserved space for root on a filesystem - why?, ext2/3/4 ...
5
votes
2answers
4k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?
0
votes
2answers
91 views

creating gif animations

I read some where it was possible to create a gif by adding frames to it in a browser. Does that mean on the server you can add frames to it by using cat? Are there other file types that are so ...
3
votes
2answers
1k views

How to disable the system beep of LMDE?

I got annoyed with the system beep of Linux Mint Debian Edition when I login or logout. I have found some solutions like: echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist but it ...
3
votes
0answers
95 views

gnu screen: automatic session on split

Inactive region appears after 'split' command in gnu screen now. You must go to the new region and type :screen. Only after that shell session appears in this region. Is it possible to make new ...
14
votes
1answer
1k views

Command line utility to retrieve password, that has no echo back

Bash builtin read command doesn't seem to support it, now I need to let user input a password while no echo should be displayed, what tool can I use?
2
votes
1answer
1k views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
3
votes
2answers
755 views

SSH connection timing out [closed]

I am trying to connect to an external host that is living in the Internet. From my laptop I can ssh fine. From an Ubuntu 12.10 server, the connection times out. Since they're in the same network, ...
1
vote
0answers
426 views

Editing isolinux leads to kernel panic error in Centos Live CD

I downloaded a CentOS Live CD and tried to customize features on it. The CD boots fine if I use it "as-is". If I edit "isolinux.cfg" to edit the change the title of the CD or the automatic boot time, ...

15 30 50 per page