A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
1answer
189 views

Logout safe way to have ssh-agent session for server processes

I am having a server process which is using a passphrase protected SSH key. Currently I log in via SSH to give the key every time the process is restarted. I do: eval `ssh-agent` ssh-add mykey # ...
4
votes
1answer
598 views

Alt+SysRq on a laptop

I have a Lenovo T410, and I would like to use the SysRq key, but whenever I press the Alt+SysRq+letter combination, I keep getting the print screen dialog in linux. Is there a way around this? I ...
4
votes
1answer
5k views

How can I kill a parent process only?

I have the following processes. ParentProcess -- ChildProcess -- ChildProcess -- ChildProcess How can I kill the parent process only? I want the children processes not to be killed. If I try to ...
2
votes
0answers
6k views

How do I replace GRUB with the Windows 8 bootloader without losing access to Linux?

I dual-boot Windows 8 and Crunchbang Linux. I installed Windows first, then Linux. GRUB was installed directly in the MBR. However, now I suspect that GRUB is the reason why I can't use bcdedit on ...
0
votes
1answer
181 views

How to push SVN updates to PCs without a LAN connection?

I am deploying some embedded linux machines to the field, where they will not have internet or LAN access to our subversion server. The only way I will be able to administrate them is by connecting my ...
1
vote
1answer
8k views

Refresh NFS mount

If I check an NFS share on a machine and ls I get the folders. If I got to the NFS host and add a new directory to /etc/exports for the client and do exportfs -a what do I run on the client to ...
9
votes
3answers
7k views

Why the results of Truecrypt and cryptsetup (LUKS) benchmarking are so different?

I want to encrypt a part of my HDD. But before that I wanted to benchmark the different algorithm available wondering if I should choose aes-xts-256 or aes-xts-512. Note: I don't have aes hardware ...
1
vote
2answers
77 views

What's the difference between module and driver?

I'm a linux newbie.Today when I try to connect USB-convert-to-serial-port .I should install module or driver or both of them? Can any one explain what is module and what is driver in simple words and ...
5
votes
4answers
8k views

To know which IP executed a certain command in linux using ssh

There is a server which is accessed by many users using ssh. I am trying to figure out which user executed a certain command. I can know the list of users currently accessing server using who Also I ...
6
votes
1answer
4k views

Attempting to access RAM /dev/mem… says “Operation not permitted”

I am using Ubuntu 12.04 I read the following tutorial on how to access the contents of RAM in Linux.... http://www.rootninja.com/using-dd-to-search-for-strings-in-memory-or-devices/ Code: dd ...
3
votes
1answer
887 views

What alternative browser rendering engines exist for Linux/UNIX?

Now that Opera has switched to WebKit too, on Linux I found only WebKit or Gecko based browsers. The only other one was KDE/Konqueror's KHTML and on Windows IE's Trident. Are there any other ...
1
vote
1answer
47 views

How to autodetect device name in Linux

I have an encrypted USB dongue with cryptosetup, to mount it I have to execute a script that has hardcoded (or admits it as a parameter) the device name of that dongue that previously you had to ...
2
votes
2answers
676 views

How to login on my corporate network using a personal device

In my company we're under a domain name, everytime you boot windows you have to login. Therefore when you try to get the Ethernet and connect it to a personal device, you can't. We don't have wifi ...
1
vote
2answers
559 views

Need to stop/start components in /etc/init.d

I want to practice in Linux and specifically starting/stop processes/services from /etc/init.d What processes/services can I stop/start without worrying that my system will become in bad state? ...
5
votes
1answer
3k views

Mounting a complete disk image rescued by ddrescue

I've recovered a complete NTFS disk with ddrescue in Linux. The catch is I didn't just rescue the partition (sdX#) but complete disk (sdX) with partition table. It's really easy to mount disk ...
2
votes
1answer
1k views

samba: files written to public share belong to nobody

I have setup a samba share like this: [shared] path = /home/shared/ comment = shared public = yes writable = yes printable = no I can access it from windows, but when I ...
4
votes
1answer
279 views

Where is the frame.h file (or its equivalent) located on modern Linux OSes?

A book I am reading refers to an include file that shows how a stack frame looks on one's UNIX system. In particular: /usr/include/sys/frame.h I am having trouble finding the modern equivalent. ...
0
votes
0answers
45 views

Probably my external HD had changed filesystem when I used it on Linux

I have an external HD mostly used in my Win7. But I transfered some files to it using Ubuntu 12, and now it isn't being reconized in my Windows. I am being prompted to format the HD. What can I do? ...
1
vote
1answer
86 views

Can't go to my server's webpage using my external IP address from my local network

If I type the external IP address (obtained from whatsmyipaddress) while on the same network as the server, I get a "Page not found" error. I have to use the local IP address (192.168...) to load it ...
4
votes
2answers
3k views

SED: How can I print every line after first instance of string using Sed?

I have a file with a similar format... 16:28 asdfasdf 16:29 4398upte 16:30 34liuthr 16:31 34tertio How can I use SED to print out every line including and after the line with "16:30"? The result ...
2
votes
1answer
837 views

Mounting samba share from fstab

Currently I have 3 network drives I mount each time i restart my system. The command I use is: sudo mount -t cifs //192.168.1.8/ARES /media/Ares -o user=USER,password=*** sudo mount -t cifs ...
0
votes
1answer
170 views

Troubleshooting X sudden restart/crash using XFCE 4.8 with stylus pen

I have a convertible laptop/tablet with graphics tablet screen, which often logs out of the current X session whilst using GIMP 2.6. I am dropped back to the login prompt without a system wide ...
6
votes
3answers
3k views

setting monospaced font on Emacs?

I used to use liberation mono font on emacs (on X11) on an Ubuntu system using the following command and it worked great: (custom-set-faces '(default ((t (:inherit nil :stipple nil :background ...
2
votes
1answer
968 views

Email clients with GPG for linux, windows and android

I need Your help. Im looking for some email client with GPG to use under linux, windows and android. Important for me is that, when I marked email as read under eg. linux it is marked as well under ...
4
votes
2answers
185 views

What happens when I run “./configure” in Linux?

When we try to ./configure some Linux software from source before makeing it, usually there is a huge list of checking other software parameters performed, for instance the below is a tiny part of ...
0
votes
1answer
24 views

Configured mailman but can't browse to index page from a different machine

Hi, I configured mail man on a server and it says got to page http://server1/mailman/ It works locally on the server; but can access that page from a different machine; it fails; -> I am using ...
0
votes
3answers
688 views

Break out of nested functions in a shell

If I have a series of nested functions, how can I break out of all of them from the innermost function? EDIT: Busy looking into the builtin 'trap'...
2
votes
3answers
4k views

Redirect strace to file

Am trying to trace apache2. These are the commands i'm trying to run. ps auxw | grep sbin/apache | awk '{print"-p " $2}' | xargs strace >> trace.txt I tried (ps auxw | grep sbin/apache | awk ...
0
votes
1answer
101 views

How to add a Windows 7 to grub2

I installed Ubuntu and Windows 7(windows first). After that I can't boot into Windows. sudo update-grub2 Not see Windows.(but file explorer see this partition). I add to /etc/grub.d/40_custom ...
2
votes
1answer
615 views

OOM killer despite lots of free memory on PAE kernel

We have an application server which for legacy reasons still runs on 32bit kernel with PAE (Ubuntu 12.04 LTS). The server has 24GB of RAM, as seen in the output of free: $> free -lmt ...
0
votes
1answer
81 views

Strip text off received messages in postfix

On one of my systems I run a secondary mail server which gets all mail from a primary server. However the primary server has an annoying tendency of attaching text to the end of the mails when ...
0
votes
1answer
47 views

Make Different users in Unix or Linux and Set their individual permissions

I want to make different users at my server(say 22.23.34.*) and set each user's permissions to their particular directory only. Lets say my server is having three directories Directory A, B, C => Now ...
1
vote
1answer
61 views

Instead of “mv filename.sql newfolder” I did “mv filename.sql /newfolder” and wiped out a bunch of files?

Like I said, I moved a bunch of sql files but instead of moving them to a directory I seem to have renamed them and put them all in the root directory as one file named "newfolder" Can I undo this or ...
1
vote
1answer
88 views

Implementation for backing up folders/files to remote dest via ssh with hourly backup schedule and backup prior to system shutdown

Please suggest backup implementation that meets the following requirements: Allows me to specify folders/files to backup Stores the backup on a remote destination via ssh Compresses the backup ...
2
votes
1answer
282 views

Backtrack 4 audio volume slider is not working

I am using Backtrack 4 and loving it. But the one problem is the audio volume slider of the gnome notification bar is not working. Hence I have to depend on either that of VLC's audio volume slider or ...
-1
votes
0answers
13 views

Dual OS configuration [duplicate]

I have installed windows and Linux(ubuntu) on the same machine. Now the problem is when I start my machine, It directly goes to Linux and not asking me for the selection of OS either I want to load ...
1
vote
4answers
2k views

Grub doesn't show OS selection menu when booting a dual boot setup

I have installed windows and Linux(ubuntu) on the same machine. Now the problem is when I start my machine, It goes directly to Linux and does not ask me for the selection of OS either I want to load ...
1
vote
0answers
167 views

How to setup grub.conf for a newly compiled kernel

I installed MPLS on linux 2.6.15 using the instructions here: http://www.sj.ifsc.edu.br/~msobral/RCO2/docs/mpls-linux/1-3-installation.html Everything worked but I don't know how to set up grub.conf ...
1
vote
0answers
95 views

64x Not working, despite my desperate tries

So this is really weird, and extremely annoying. I've tried to install a 64x-version of some Linux distributions, such as Linux Mint, Ubuntu, Xubuntu, etc. But none has been successful. I am able to ...
4
votes
1answer
4k views

Is there a way to kill an open connection without killing the process?

I've search around and all the suggestions just say to kill the process. But I'm surprised I can't find any simple way to force a "connection" to close, without killing a pid associated with it. ...
3
votes
1answer
111 views

How do I highlight “copy this” text on a website so that I might middle-click paste?

It seems to be one common practice on websites which intend to give the user text for copying/pasting to place this text in an <input/> or <textarea/> and pre-select it for the user. ...
-1
votes
2answers
662 views

Fresh Linux Mint 14 install not executing eclipse and sublime text

I just upgraded from Linux mint 13 to 14 Cinammon. The problem is I have the tar files of sublime text and eclipse that I usually extract and run but after I upgraded to Mint 14 I get the error in the ...
1
vote
0answers
49 views

Who is filling the ELF header

I have ELF file which I dumped using readelf -h filename and I can see the different fields with the some values like entry point address is 0x99cc ,but really want to know from where these values get ...
1
vote
1answer
678 views

Shell Script : How use find expression in a for?

I would like to use the find command in a for. So I did this: for logs in `find $BACKUP_FOLDER -exec ls -la {} \; | awk '{ if ( $8==2011) printf $0"\n" }'`; do // some command here done; But it ...
6
votes
1answer
1k views

Strange keyboard when using sqlite shell on linux

I use a linux box connected trough putty. Using it with bash, my keyboard performs well, but when I am using the sqlite shell (sqlite3 program) my keys get crazy: del=^[[3~ up=^[[A left=^[[D ...
0
votes
0answers
73 views

How to replace file strings with regexp in Linux

I'm trying to replace the specific numbers and use this command: sed -e 's/[0-9]\{12\}/ /g' file.log but nothing happens. As U can see this expression should replace all numeric occurrences with ...
2
votes
1answer
1k views

Reading CPU usage

I am building a Linux, web-based resource monitor. For now I am looking forward to use: df for reading HDD usage status /proc/meminfo (through cat) for reading RAM status mpstat (from sysstat ...
0
votes
1answer
232 views

Classpath reading in Linux

$ $CLASSPATH $ $ source .profile $ $CLASSPATH > bash: :/usr/java/connectors/mysql-connector-java-5.1.23-bin.jar: No such file or directory $ /usr/java/connectors/mysql-connector-java-5.1.23-bin.jar ...
3
votes
1answer
2k views

How to prevent LibreOffice running 'recover' at each startup?

How to prevent LibreOffice running 'recover' at each start-up? On Ubuntu, each time I restart my computer, and then start LibreOffice, it asks me whether I want to recover documents. It does this ...
1
vote
1answer
182 views

sudo chmod is invalid when using mounted-partition(windows)?

# /etc/fstab UUID=D254B*****B5B*** /home/username/c ntfs defaults,fmask=113,dmask=002, uid=username,gid=username 0 2 # uname -a Linux 00544 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 ...