0
votes
1answer
13 views

How to install GNU/Linux on a Windows PC without the BIOS password?

I want to install a GNU/Linux based operating system on a computer with Windows preinstalled, but unfortunately, the BIOS is set to only boot from the harddisk, and there is no way to boot from ...
0
votes
1answer
9 views

Firewall distro to share bandwidth evenly between connected users

I'll first describe my situation. I have a network made by a central x86 server/firewall, 5 access points and 2 unmanaged routers inbetween. 20 Mbits download and 1 Mbit upload ADSL. Upload is ...
0
votes
1answer
10 views

How do I set affinity of a particular thread on FreeBSD?

As the title says, I'm trying to figure out how to set the affinity of a particular thread (but not the entire process) on a FreeBSD system. On Linux, I'm able to do this with ps -L uH [pid], ...
1
vote
0answers
23 views

How to make Ctrl+PgUp and Ctrl+PgDn change window tabs

I am running GNOME 3.4 (Debian 7.0) and my laptop (Gigabyte Q2532), unlike all those I've used before, doesn't change application tabs with CtrlPg Up and CtrlPg Dn. This forces me to use Alt0...9, ...
1
vote
1answer
18 views

SED Showing CRLF While Vim Not Showing

Why sed l\;q shows a CRLF while opening the file in Vim with :set list doesn't show any CRLF
0
votes
1answer
23 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
2
votes
1answer
20 views

iptables: recent module

I am using the "recent" module to prevent port scanning, such as: -A INPUT -i eth0 -m recent --name PORTSCAN --update --seconds 60 -j DROP -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT ...
0
votes
1answer
12 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
0
votes
0answers
10 views

vsftpd invalid download on fedora 18

I am setting up my linux box running fedora 18, and now need to install vsftpd, however when I try: Yum install vsftpd I receive an error, where it cycles through a couple dozen mirrors, attempts ...
0
votes
0answers
19 views

Accessing multiple wifi networks simultaneously from debian wheezy

I have got 2 wireless adapters on my machine (one built-in and the other a purchased USB wireless adapter) is there a way I can utilize different WiFi networks simultaneously? I have in mind ...
0
votes
1answer
24 views

weird behavior of plink and ps command?

I have a linux computer that I remotely SSH into using plink on a Windows XP machine. I have the Plink program set to execute commands in a script using automated login: plink -ssh [domain name] -l ...
1
vote
0answers
23 views

How to build a live Debian CD/USB in Windows, bootable in EFI mode?

I tried to install the latest stable Debian release (Debian 7.0 "Wheezy") using the Debian Multi-arch netinstall (AMD64) "debian-7.0.0-amd64-i386-netinst.iso" on my laptop. My laptop has a SecureCore ...
0
votes
1answer
14 views

Nouveau doesn't work after upgrade to Debian Wheezy

I upgraded from Debian squeeze to wheezy. My box contains an old graphics card not supported by current Nvidia drivers for distros newer than lenny (NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]), so in my ...
2
votes
0answers
16 views

Http proxy to select external interface based on host header

I have a very specific use-case at work where I have several external IP addresses (a full class C), and I need to select the outbound IP address I'm using. The requests are http, and the application ...
1
vote
2answers
36 views

Setting file permissions in bash script

This script is not working the way I thought it would .I though it would find all the scripts that have every one rwx permissions changed to the permissions of xx5 #!/bin/bash # the / makes find ...
1
vote
2answers
62 views

Unix command to rename multiple files

I have some dirs with different plugin-cfg.xml that I want to take a backup off and keep in the same dir. Eg Plug6_a1/plugin-cfg.xml Plug6_a2/plugin-cfg.xml Plug6_a3/plugin-cfg.xml Q- how can I make ...
-1
votes
1answer
24 views

What are the relative merits of the various standard Unix archival utilities? [closed]

There are many archival tools for Unix, with varying degrees of availability. To make matters more confusing, many of them can write each other's formats. I am seeking more information on their ...
1
vote
2answers
41 views

awk a specific column with unexpected line break

I can't seem to find a solution for this and it's driving me crazy. I know I can use awk to print a column(s). I'm having trouble printing a specific column though because of the way my file system is ...
2
votes
2answers
24 views

rsync certain files, excluding the rest, ignoring .svn/ directory, recursively

I'm using rsync to copy some files from a share to another. Recursively, I need to: delete files at the destiny that are deleted in the origin Only sync php and js files exclude de rest of file ...
-1
votes
0answers
31 views

create a /proc symlink

I'm trying to build a module using the method shown in this answer. Basically I need to create a symlink I got it to build, when I try to load it using insmod I get: -1 invalid module format and ...
4
votes
4answers
178 views

How to make `cd dir/filename` take me to dir/?

I would find it very convenient to be able to use cd with a file argument. cd myDirectory/anyname.anyExtension would be equivalent to cd myDirectory/ What would be the best alias or function to ...
1
vote
2answers
43 views

How do I pipe colored diff output to less?

I've been using git diff, which produces colored output. However, I now find I need to use ordinary diff for something, and it's producing a lot of output that is hard to read because of the lack of ...
1
vote
1answer
22 views

Recording a webcam using ffmpeg

I'm struggling with ffmpeg. My webcam can do 720p at 30fps, but only when using the MJPEG codec: ~> v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Index : 0 Type : ...
1
vote
1answer
28 views

compressed and uncompressed kernel on an embedded device

I have been using several different embedded boards that store kernel, init files, filesystem, etc. on partitions of a (micro)SD card. I notice in the example usage or instructions that compressed ...
1
vote
1answer
19 views

What is rpc.statd, what ports should it be listening on, and how to kill it?

I have found rpc.statd running from a netstat -tunap command, on several ports (TCP:59061, UDP:40594, UDP:919) on my Debian server. I believe it's to do with NFS but I'm not running an nfs server ...
0
votes
1answer
31 views

Utility script framework

We have a couple dozen utility scripts that run on various machines to do things like application level backups, pruning out old data, cleaning up disk space, etc. They were written by multiple ...
0
votes
1answer
21 views

Clipboard sharing between the host OS and a virtual console of a VirtualBox linux guest

I have a CentOS guess OS running without X11. Is there anyway I can paste text from the host clipboard into the virtual terminals or highlight text in the vt via the console mouse daemon and paste it ...
2
votes
1answer
37 views

Script not getting executed as per expectation

I have two Perl scripts at a predefined location in Unix. This predefined location is set in path variable ($PATH). Now when i try to run first script (from any location) the script runs successfully ...
-3
votes
1answer
59 views

Rename two files [closed]

I would like to rename two files files by using a script. E.g. mv plugin-cfg.xml plugin-cfg2.xml and mv plugin-cfgbk.xml plugin-cfg.xml I need to do this in multiple directories. ...
1
vote
1answer
34 views

Line endings when using GNU Screen

I'm seeing some slightly odd behaviour when using GNU Screen 4.00.03 on a Red Hat Enterprise Linux 6.4 system. If I connect without Screen, looking at the logs I can see each line is terminated with ...
2
votes
2answers
24 views

How to find files with a certain subpath?

I need to find all xml-files that are placed in folders named config. Also config must be somewhere under a folder named trunk. For example, I am interested in all files like below: ...
0
votes
1answer
19 views

Atomic repo to just update Ossec and not the rest is that possible for Centos 6.4?

I followed this link http://www.ossec.net/?page_id=19 and enable both epel and atomic repo to install ossec. My problem is I just want a local installation of ossec so I ran this yum install ...
1
vote
1answer
15 views

UTF-8 Characters in Byobu Screen Status Line

I'm running Byobu with Screen backend. I have a custom status script that wget's an RSS feed and shows the latest headline in it. If there are non-ASCII characters, they are not printed correctly. ...
1
vote
2answers
60 views

What does the tilde (~) mean at the end of a filename? [duplicate]

What is the file with the ~ at the end of the filename for? $ ls # aliased to add flags -rwxrwxr-x 1 durrantm 2741 May 16 09:28 strip_out_rspec_prep_cmds.sh~* drwxrwxr-x 13 durrantm 4096 May 16 ...
2
votes
0answers
23 views

Add Ubuntu to list of Grub boot options

I have an old laptop with an old version of Debian. I would like to install Ubuntu as well. Is it possible to install Ubuntu from the HD (not a rescue CD or flash-drive) and have it reside as a Grub ...
1
vote
2answers
15 views

Allowing only specific users to login via ssh at one port and others to login via another port

I have the following use case: Need to allow users to login from a secured, trusted network and then allowing a couple (only two) mobile users to login remotely on a Linux Centos machine. I can make ...
1
vote
2answers
59 views

Colorful ssh banner

I would like to colorize my ssh banner. I now I can perform it like so : In /etc/profile I can put echo -e "\e[1;31m Colorful text" echo -e "\e[0m Reset" But I have an ASCII art in the banner ...
2
votes
1answer
23 views

How to set-up a online SVN server on my laptop

I had created a local SVN server on my laptop running Ubuntu 12.04 and its working perfectly fine. Now I want to make my laptop as server for some valid users who can access my SVN server though ...
1
vote
0answers
15 views

Why does Linux 3.2 kernel (Debian backport) hang during boot?

I wanted to upgrade the Linux kernel on my Debian wheezy (stable) on Thinkpad T60. I installed linux-image-3.2.0-0.bpo.4-686-pae, version 3.2.41-2~bpo60+1. The problem is it hangs during boot, just ...
0
votes
1answer
22 views

Triple Booting; Windows, Ubuntu, Linux Mint by Windows Installer

I wanted to install Linux Mint 14.1 using the Windows Installer (mint4win.exe). I copied mint4win.exe to HDD, and when I running it, it prompts me to uninstall Ubuntu. Previously I installed Ubuntu ...
2
votes
0answers
19 views

How to setup networking for Linux Mint - VM when host machine uses a PAC file

My host is a Windows 7 x64 machine. The office network uses a PAC file for the LAN settings. So, under Internet Options -> Connections -> LAN Settings, I have Use automatic configuration script with ...
0
votes
1answer
20 views

Problem when changing the font size in nedit

Whenever I open Nedit, the following error appears ---- Cannot convert string "-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct Cannot convert string ...
1
vote
2answers
27 views

gedit preferences grayed out

I'm using gedit 2.28.4, on Centos 6.4. When I click on Edit > Preferences, I can't modify anything, as everything is grayed out. Also, I could not re-size the preferences window to locate the ...
1
vote
0answers
18 views

Difference between Cross GCC and Linux GCC toolchain

While creating new C++ Project in Eclipse, I am being asked about toolchain. What is the practical difference between these toolchains - Cross GCC and Linux GCC. In what circumstances use them? Does ...
1
vote
2answers
34 views

How to start only one application on booting in RHEL 6? [duplicate]

I want to start only one application without any desktop after booting the system, it is like only application should be there not anything in RHEL 6.
1
vote
2answers
24 views

What does “INFO: task XXX blocked for more than 120 seconds” exactly mean on Linux?

I had this message in my kernel log. I would like to know what it means technically: under what conditions does the kernel display this message about a task? For the record, my blocked task was ...
0
votes
0answers
22 views

Experiencing problems with KDE after an upgrade

After an upgrade of KDE I am experiencing problems. A lot of problems. "Konsole" doesn't starts at all! (I have to switch to a console with ctrl+alt+Fx login with username, export DISPLAY=:0 and ...
1
vote
2answers
34 views

How do I capture the return status and use tee at the same time in korn shell? [duplicate]

Consider Source code: 1. Parent.sh #!/usr/bin/ksh # No tee ksh Child.sh; exit_status=$?; echo "Exit status: ${exit_status}" # Using tee ksh Child.sh | tee -a log.txt; exit_status=$?; echo "Exit ...
1
vote
0answers
21 views

Linux shell lagging one step

I upgraded busybox from 1.2.1 to 1.7.4 in my embedded system platform and it is connected to linux host via serial cable. Now when I type any command in shell on that embedded system platform like ...
1
vote
3answers
38 views

Remove random string from particular position in file names [duplicate]

I've downloaded dozen of files from youtube using youtube-dl. Nice feature, btw. After I searched through them all, I've realized that there are lots of ending with random numbers and letters of ...

15 30 50 per page
1 2 3 4 5 485