0
votes
0answers
4 views

suitable openldap schema for mailserver

I'm currently looking for a suitable openldap schema for a mailserver. More specifically, I'm looking for a schema that includes the mailAlternateAddress and mailForwardingAddress attributes. Until ...
0
votes
1answer
8 views

Simplest way of getting a bootable linux flash drive + VM in Windows

I realize tools for making a flash drive image that boots a linux system (for example ubuntu) are common enough. I'd like to get a flash drive like that that also lets me use the system inside of ...
0
votes
1answer
14 views

Unix Fetchmail Utility: date on which email was received

I've successfully configured fetchmail and I'm able to download messages from the mail server but I'm not sure how to get the date on which a particular email was received. I need this date for ...
1
vote
0answers
24 views

Bash Function Decorator

In python we can decorate functions with code that is automatically applied and executed against functions. Is there any similar feature in bash? In the script I'm currently working on, I have some ...
1
vote
1answer
13 views

using ssh-agent

I have my desktop in the office. When X starts, ssh-agent starts automatically. I have to add my SSH key once, at the beginning, and then I can use ssh without having to enter my password each time. ...
0
votes
0answers
10 views

Clang with Code::Blocks on Debian Wheezy [Stable]

I used apt-get install clang to install the Clang compiler, and then did apt-get install codeblocks to install the Code::Blocks IDE with the expectation that Code::Blocks would automatically recognize ...
0
votes
0answers
6 views

software raid priority (systemtap)

I'd like to know on which priority software raid works (level 1 if it matters). So I wrote simple systemtap script to do the job, but I'm not sure if I have done it correctly. [root@asus-ux21e ~]# ...
2
votes
0answers
6 views

Jitter while screen recording with avconv

I've figured out how to record decent quality with avconv now, the problem that remains which I also have experienced with ffmpeg and recordmydesktop is that my desktop background keeps flickering ...
0
votes
0answers
6 views

Internal Server Errors with CUPS

Recently, I get internal server errors with CUPS. > sudo lpinfo -m lpinfo: Internal Server Error Here is my /etc/cups/cupsd.conf. I’m not even sure where to start. I tried commenting out ...
-1
votes
0answers
17 views

how to generate report of memory usage of user over the past x months using shell scripting

I am generating the memory usage every 5 mins and capturing in txt file for everyday. How do I generate a report for x days or months given a starting date?
2
votes
1answer
22 views

How does `shutdown -k` disable logins?

This is the -k option's documentation in man shutdown: -k Only send out the warning messages and disable logins, do not actually bring the system down. I initially assumed that this ...
11
votes
1answer
147 views

What happened to bzip1?

bzip2 had been a de facto standard for quite strong compression throughout many years already. I myself had typed the bzip2 command thousands of times already, which makes me wonder - what happened to ...
0
votes
1answer
16 views

How to check if port forwarding is enabled?

I have just set up a DNS server for my own network, and many guides online suggest to make sure that port forwarding on port 53 is not enabled. The thing that is not clear to me is this: should I ...
1
vote
1answer
11 views

Block physical console access

I'd like to block physical console access to my linux. I'd like to find, which module is responsible for keyboard input (ps/2, usb, ...) and vga output (only physical), so I can remove them from my ...
1
vote
2answers
27 views

How do I make an ISO copy of a DVD movie?

I want to make backups of data and video DVDs, without recompressing or altering them. I just want an ISO that I can mount to act as if I inserted the DVD (this includes video DVDs). I had previously ...
2
votes
3answers
59 views

Run nvm (bash function) via sudo

I want to write a init script that should basically run nvm use v0.11.12 && forever start /srv/index.js as the user webconfig. nvm is a shell function that is declared in ...
0
votes
0answers
24 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
0
votes
0answers
14 views

Bash code runs correctly when it is executed in terminal but does not work properly when executed using udev

I am trying to move various files present in a pendrive into their respective folders on PC. ie ,Music files into music folder,text files into Documents and so on.. I have written a script for that ...
0
votes
0answers
13 views

xbindkeys and messed up outputs

I am trying to set some key bindings for the use inside my wm. so I did xbindkeys -mk and start testing with keys. The result was somehow not what I expected. Left wind key ===> m:0x50 + c:115 ...
5
votes
1answer
122 views

Why cannot a user change group ownership of his own files?

Why cannot a user change the group permissions of files which he owns. Let's suppose I have user martin: $ ls -lAd /home/martin/ drwx------ 8 martin martin 4096 Apr 20 01:06 /home/martin/ For some ...
3
votes
2answers
16 views

fstab does not mount cifs at startup

I'm using Cent OS 6.5. I have a cifs share which needs to be automatically mounted at the system reboot/startup. Following is the line from my /etc/fstab file : //192.168.1.2/files/ /users/ cifs ...
1
vote
2answers
91 views

How do I get absolute path from using find unix command

How to get absolute path by using find command. actually I am running the following script:- find . -size +20M | while read a do i=$(echo $a | sed 's:/: :g') echo $a; j=($i) ...
1
vote
1answer
20 views

insert value at the end of every record based on unique IDs

I have 2 files , one with Delimited and other one is Positional file. These two files shares same unique ID's as shown below but both the files contains different information. del.txt ...
2
votes
1answer
86 views

Changing file name problem

when I tried to change file name from old.file(1).gz to new.file.gz, It says syntax error, I am using ubuntu 12.04. mv old.file(1).gz new.file.gz bash: syntax error near unexpected token `('
-5
votes
0answers
22 views

How to find out file count validation in UNIX

ThE SCENERIO IS I HAVE TO SFTP 3 FILES EVERY MONTH NOW.IF COUNT OF FILE READ IS LESS THEN 3 I WILL NOT SFTP THE FILES.PLEASE SUGGEST THE WAYS TI DO IT.
0
votes
1answer
22 views

Syntax for compress utility

I've been having some trouble deciphering the syntax from the man page, as well as other sources. I feel a bit stupid, as I've been studying Linux for a while now and this is the first thing I can't ...
2
votes
0answers
12 views

Passing data from kernel space to user space in FreeBSD

I need some information regarding write requests from all applications on FreeBSD. I put a function inside the file system write call ffs_write() which collects the information into an array of ...
-1
votes
1answer
27 views

Bash Ping to return 'alive' IP addresses

(Disclaimer- I know this can be done more easily with nmap, but its supposed to be practice for bash shell scripting). $ scriptname 192.168.42 18 23 Checking: 192.168.42.18 19 20 21 22 23 Live ...
0
votes
2answers
32 views

Compare first column in different files

I want to compare one file with other files in the same directory. file1.txt contains: move 34#123# get 11#278 put 33#29#567#23 file1.txt should compare with files 1.txt and 2.txt. 1.txt ...
0
votes
1answer
20 views

How can I print a specific occurence of a range pattern?

I am trying to extract several data fields out of somewhat peculiarly formatted strings. Each string has a format similar to the following (spaces added for emphasis): 1 abcd 2 1 efg 2 hij 3 ...
1
vote
1answer
29 views

How to find out a process gets end?

How can I tell when a given process exits? Like when it's done running and stuff. For instance: # Command 1 wget http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.iso # Command 2 echo ...
1
vote
0answers
19 views

Can't print pdf file with lpr

I am currently using Arch linux. I am trying to print a pdf file for the command line, it is easier that way as I need to print several range of pages. Just for testing I issue a command to print a ...
-3
votes
2answers
30 views

What's the main difference between bash and zsh?

Someone told me that some commands in zsh shell may differ from the bash shell commands. So what's the main difference between zsh and bash shells?
0
votes
1answer
18 views

error while executing make commad in ubuntu terminal

While trying to install the som_pak-3.1-NAcMoS.tar.gz file, I've used the below commands: $ tar xvf som_pak-3.1-NAcMoS.tar.gz $ cd som_pak-3.1 $ cp makefile.unix makefile $ make $ cd .. $ ln -s ...
1
vote
1answer
28 views

How to copy three files at once instead of one file at a time in bash shell scripting?

I am running my shell script on machineA which copies the files from machineB and machineC to machineA. If the file is not there in machineB, then it should be there in machineC for sure. So I will ...
1
vote
1answer
19 views

Where is boost installed on Debian?

I currently don't have a lot of internet quota so I didn't want to install the latest boost libraries. Instead I installed Boost 1.49 using the Synaptic Package Manager and my Debian DVDs. Now that ...
0
votes
0answers
15 views

Installing OpenSSL that supports SNI along with previous version of OpenSSL

So I learned that to host multiple HTTPS websites on the same IP address you need an OpenSSL version that supports SNI (0.9.8f and higher). My RHEL5 box currently has 0.9.8e and Apache version ...
0
votes
0answers
9 views

How does google still know my real IP address with Squid?

I'm using Squid proxy with the configs setup so that it would not be detected as proxy. It work with http://www.whatismyip.com/, but when searching for what is my ip on google. Google still show my ...
2
votes
1answer
10 views

How does one sort music in Rhythmbox?

I quite like Rythmbox and was thinking of keeping it as my default player, but as far as I can tell there's no easy way to sort an album by track number, or a genre by artist, etc. Responses to this ...
0
votes
1answer
26 views

Mounting a file system using a C program

In my initramfs.cpio I have only these directories: root@localhost extract]# ls dev init tmp sys dev has console and sys is empty. init is a binary corresponding to program that I discussed ...
-2
votes
1answer
17 views

I want a script to do following simple task?

My input is : a a l a c g b c ... and so on rando alphabets. A command or a awk statement which will give me: a-1 1-2 l-1 a-3 c-1 g-1 b-1 c-2 basically counter for all alphabets and ...
0
votes
0answers
4 views

Adjusting Frame Size FreeBSD

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
2
votes
1answer
27 views

Where can i find any information about ancient doshell(8)?

I check the openvt manual by running "man openvt" command, and i found doshell(8) under "SEE ALSO" section: But there's no manual if i do "man 8 doshell": I checked the online manual at ...
4
votes
3answers
96 views

Make a directory for each row within the given text file?

I'm trying to write a bash shell script that will read the data from a given (as an argument) file, and for each row in the file, make a sub-directory under the given (as an argument) directory. The ...
-2
votes
0answers
9 views

Kali-linux firefox install error

I think the screenshot will explain it all.
0
votes
0answers
5 views

Extend Workspace on Kali using VMware

I'm using Kali on Windows via VMware. The web browser and other things sometimes seem too zoomed in and I can't get to certain links or buttons. How do I zoom out or expand the area? (clicking ...
0
votes
0answers
10 views

wireless headset compatible for linux (or ubuntu) OS?

I would like to know what are the wireless headsets available of good quality that are compatible with Linux (or Ubuntu) operating system.
0
votes
1answer
16 views

Install SSL Certificate in Iceweasel

I'm using Kali on Windows. I downloaded the Burp Suite and I'm trying to install its SSL certificate onto the Iceweasel browser. Burp Suite, the leading toolkit for web application security ...
-1
votes
1answer
12 views

How to update Mozilla Firefox on debian wheezy

I want to update Mozilla Firefox on Debian Wheezy (my preferable way is by terminal). How to do that?
0
votes
1answer
15 views

Important scripts useful for a Linux system administrator [on hold]

I am a Linux system administrator and constantly find myself doing the same chores again and again. I need some scripts to make life easier. What are the most important scripts needed by a Linux ...

15 30 50 per page