0
votes
0answers
142 views

OpenBSD Atheros AR8151 no Ethernet media present

I installed OpenBSD 5.5 on an ASRock AD525PV3. The board uses the mentioned Atheros LAN. It shows alc0 on ifconfig, but the media only has Ethernet manual, and I can't use the LAN. Is there a way to ...
5
votes
3answers
10k views

stdin, stderr, redirection and logs

Is there a difference between those two lines ? /home/user/script.sh >> /home/user/stdout_and_error.log 2>&1 /home/user/script.sh 2>&1 >> /home/user/stdout_and_error.log ...
2
votes
1answer
728 views

How to find text in files and only keep the respective matching lines using the terminal on OS X?

I am pretty new to the terminal and command lines, from what I have found out grep seems to be the right tool for search files for specific text strings. I have a folder with many huge text files and ...
0
votes
1answer
151 views

where are the spamassassin KHOP rules?

I have this spamassassin implementation where I lowered the score on: KHOP_BIG_TO_CC It works when I override the score in my /etc/mail/spamassassin/local.cf file but I cannot find the .cf file that ...
1
vote
2answers
285 views

Create file with specific formatting from directory contents

I am using Solaris and csh. In $home/test there are five files: a.txt, b.txt, c.txt, d.txt and e.txt. If I run % find $home/test/ -type f -print > ../filenames.txt that file will look like: /...
0
votes
0answers
324 views

unable to install KDE on Ubuntu 13.04

I am unable to install KDE on my Ubuntu 13.04.It gives me the following error: The following packages have unmet dependencies: kde-standard : Depends: kde-plasma-desktop (>= 5:76~...
1
vote
7answers
2k views

Can grep be used for searching files with some string in their names?

I understand that grep can only be used for searching for files which contain a string in their content. Can it be used for searching for files with a string in their names? I read the manpage, and ...
0
votes
1answer
89 views

pkg-config --libs --cflags not return anything for libgoogle-perftools-dev

user2702245 said pkg-config --clibs --flags <package> is good enough to provide linker and include information. I tried to find out such information about libgoogle-perftools-dev I ...
3
votes
1answer
174 views

How to evaluate if it's worth using deduplication?

I have a partition where I am considering to use deduplication. For the profile of it's data I think it will be a good choice. Still, before doing it, I would like to evaluate the impact in a more ...
1
vote
1answer
323 views

Search for pattern across multiple files and replace a sub-part in all occurences

I am helping a friend with her thesis written in LaTeX and I need a quick solution for a "search and replace". Using a terminal in Linux, how can I find the following pattern: \caption{*\cite{*}} ...
1
vote
2answers
1k views

How to configure a Fault Tolerance System in CentOS 6.0

I want to implement the fault tolerance in a CentOS environment. EDIT Scenario: Two different systems connected via network having CentOS 6.0. What I want: Now I want to setup Fault Tolerance in ...
19
votes
3answers
13k views

Difference between UUID from blkid and mdadm?

Can someone explain the difference between the UUID's reported by blkid and mdadm? On one of our CentOS systems, for example: [root@server ~]# blkid | grep /dev/md1 /dev/md1: UUID="32cb0a6e-8148-44e9-...
0
votes
2answers
4k views

Privileges for jenkins at apache's folder

I'm having issue similar to this: How to copy files as Jenkins "post build" action if i don't have privileges to destination directory I'm willing to move/copy/rsync files from jenkins ...
3
votes
0answers
127 views

Keep keyboard layout upon inserting external keyboard

I have a custom keyboard layout, that I enable using this commands: setxkbmap -verbose us -variant altgr-intl xmodmap -verbose /home/coub/.myxmodmap This works just fine, the thing is, that when I ...
1
vote
1answer
278 views

observing script execution with monit script seems to ignore pipes

I want to have a bash command running in the background and being watched by monit. To get the PID of this process, I found this script on the web and I modified it to fit my commands: (named sdr.sh) ...
4
votes
2answers
333 views

Right-align comments in vim

I'm writing C code using vim and are searching for a possibility to right-align my comments so that they all end at col 80. To give a short example: int a = 80; /* initialize a */ int b = 7; /* ...
1
vote
0answers
57 views

External disk - how to ensure readable by all without needing root perms?

I have an external HDD. It's portable, so I plug it in all over the place. Needless to say, these different places have different passwd files and uids. The files are mine and I need to access them ...
3
votes
2answers
176 views

Trigger job only once and only when load is low

I'd like have automatic update of my gtags, but only when the system is idle. To achieve this, I'm using iupdate to watch over the interesting parts of my source folder. But I have a problem with the ...
0
votes
0answers
538 views

Installing iPython3 Fedora 20

It was very easy to install ipython and upgrade it to the newest version (2.0) using pip. However, I want to set up ipython3, which uses Python 3, and found it more difficult. I finally installed it ...
-1
votes
2answers
344 views

Linux Terminal SSH Username Change

I want to connect via ssh to my Ubuntu server from my Linux PC. Xterm uses my Linux PC username for the login. I've another username on the server. It's not the same name like on my Linux PC. How can ...
0
votes
1answer
44 views

How to configure internet connection in X Window System applications? [closed]

I have to work on a Windows machine which I'm using as a client for my external RedHat machine. According to my job requirments I need to use some X window apps which are hosted on the Linux machine. ...
1
vote
3answers
219 views

Iptables in linux

Please explain me the use of bold character below iptables -A INPUT -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT -A -i -p -m state --state -j
9
votes
1answer
490 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
1
vote
3answers
4k views

Wrong Permission to /etc folder [duplicate]

I have given the wrong permission to the /etc folder chmod -R 777 /etc When I want to login as root it gives me an error and the following output. How can I correct the permissions? system13@...
4
votes
2answers
13k views

PHP on centos 6 not working

I have installed PHP, MySQL, Apache on CentOS 6, now I have restarted the Apache and mysql, to test PHP I have created a index.php on /var/www/html/test/ now once I go to localhost/test/index.php then ...
5
votes
2answers
553 views

How to find where a library is installed?

I have installed libgoogle-perftools-dev via software center in Ubuntu 12.04. As suggested by http://pj.freefaculty.org/blog/?p=140, I want to add to my cpp file: #include <gperftools/profiler.h&...
4
votes
3answers
5k views

MySQL Workbench Cannot start SSH tunnel manager

I don't know why this error is happening when I try to connect by MySQL Workbench. Cannot start SSH tunnel manager. I'm using slackware 14.1 and installed all dependencies.    
2
votes
2answers
65 views

How can I automatically create a document that allows me to compare a list of 4 .png files side-by-side?

So I have a list of 4 .png files, and I'd like to auto-pipe this to some document that puts them all side-by-side for easy comparison. I'm thinking of automatically putting them in a HTML file. So I'...
1
vote
2answers
14k views

openSuSE, Linux, cannot create directory-permission denied

I am using openSuse 12.3, and logged in as a user. I am trying to create a directory in the /home/ , but getting permission denied. any idea, how to fix this. harbir@linux-gn77:/home> mkdir ...
2
votes
1answer
7k views

VNC Server without X Window System

Will a VNC server work without X Server installed? I know vnc works with X Server, but what about without it?
1
vote
0answers
131 views

Stop atieventsd flooding my journalctl

When running journalctl -f, this line shows up every seconds.. Month DD HH:MM:SS computername atieventsd[number]: xauth: file list does not exist for example May 15 08:32:11 gravity atieventsd[...
0
votes
1answer
82 views

Can an entire ext3 filesystem be corrupted if the system loses power?

I understand that any files being written to during power loss can get corrupted, but is it possible for an entire ext3 filesystem to become corrupted during a power loss event? If so, how? Thanks!
3
votes
1answer
453 views

How do I use ctags functionality in vim with cscope installed?

When I install cscope by adding the line Bundle 'chazy/cscope_maps to my .vimrc file, my tags menu (g+[) is replaced with a cscope list, which seems to contain a list of files where the tag is called, ...
3
votes
2answers
2k views

show entered new password in unix “passwd” command

Is is possible to run the passwd command with an option to show the newly entered passwords? By default it doesn't show what I type and I don't want this. [dave@hal9000 ~]$ passwd Changing password ...
2
votes
1answer
324 views

Do I have to swap IP sets, or can I add/remove on the fly?

I was wondering about the semantics of ipset(8). Is it possible to add a rule matching a set to iptables and then manipulate the set, or can I only create a set and swap it for an older set in order ...
1
vote
3answers
1k views

How do I see how many blocks I have free on my filesystem?

I know df is supposed to provide this information, but when I run df it shows the number of 1k blocks free, yet my filesystem is using 4k blocks. I could simply divide by four of course, but this ...
0
votes
2answers
763 views

How to checkpoint using CRIU on ubuntu 14?

I tried to install CRIU in ubuntu 14.04 Desktop. When I used $ sudo ./criu check , it showed Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field And when I tried to checkpoint ...
5
votes
1answer
2k views

What is the official Gentoo AMI?

I would like to use Gentoo on Amazon EC2. What are the right AMI for me to use? I won't be running X unless necessary. I guess I need a server variant, if there is such a thing.
2
votes
1answer
291 views

Listening for journalctl changes

Usually i use tail -f /var/log/messages to get updates if there are new lines How to have the similar functionality for journalctl?
0
votes
1answer
1k views

davmail and JAVA INSTALLED MANUALLY

I'm trying to install davmail, I've already install JAVA manually (tar.gz file). After trying with the ppa:webupd8team repo and not having good results. Had to clean a lot of files packages and so on....
0
votes
2answers
125 views

find action not working for specific search [duplicate]

I'm trying to use the find command to list the size of a certain set of files but am getting no output. The command I use is: find POD -type f -name *.mp3 -or -name *.ogg -ls Which produces no ...
1
vote
1answer
77 views

Can I route through interface instead of IP?

I know I can route to another computer by setting its IP as the gateway. Can I also do this by just specifying the interface the packets should take. Like instead of doing route add gw, if I say route ...
5
votes
1answer
6k views

Is there a shell one-liner to convert JSON to BSON?

Is there a shell one-liner to convert JSON to BSON? Something suitable for one-off execution, or a shell script? bsondump from MongoDB goes the inverse way, but I'm clueless as to what I can use to ...
4
votes
1answer
1k views

Run script after desktop loads

I'm running a script that changes files and installs things and what not on a SUSE computer. One of the scripts that gets run with my script, reboots the computer and when the computer loads back up ...
0
votes
2answers
1k views

How to disable bluetooth device when startup on Ubuntu 12.4

How to disable bluetooth device when startup on Ubuntu 12.4, I've accessed /etc/init/bluetooth.conf file and comment #start on started dbus line. But when PC bootup Bluetooth device still running. ...
4
votes
1answer
215 views

Where is hibernation resume getting the device node from?

A while back, I set up hibernation on my Linux system. It's been working really well, up until tonight when I installed another hard disk, which shuffled the device node names around. So now on boot I ...
0
votes
1answer
787 views

How to Connect Internet in Zedboard using Linux via SDCard

I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. ...
1
vote
3answers
4k views

How to install Firefox version 29.0 on Slackware 14.1?

The problem is that I need to sync Firefox bookmarks between my PC and my notebook, but the notebook uses the Firefox version 29.0 on Ubuntu 14.04 and the PC using Firefox version 24.4.0 on Slackware ...
31
votes
5answers
43k views

Passing named arguments to shell scripts

Is there any easy way to pass (receive) named parameters to a shell script? For example, my_script -p_out '/some/path' -arg_1 '5' And inside my_script.sh receive them as: # I believe this ...
1
vote
2answers
860 views

How do I access the Lubuntu menu in Openbox?

Is there a way to include the Lubuntu applications menu in an Openbox menu (~/.config/openbox/menu.xml) so I can use it within a pure Openbox session?

15 30 50 per page