4
votes
3answers
442 views

Hiding encryption key in unpartitioned free space of SSD

Anyone know what can happen if we use the unpartitioned space of an SSD hard drive to hide some data, what would happen? I have read that there are some SSD firmware using these blocks for recycling (...
1
vote
3answers
113 views

bash howto script - if no answer or mutliline answer

I have a script, that reads some input foo, and based on that input tries to calculate the value for the variable bar. If it is successful, then it shall set bar. If not, the user should be able to ...
5
votes
2answers
17k views

How to remove a directory with “Too many levels of symlinks”

I have a bit of an odd problem on a RHEL system. On our systems we have our home directory automounted under /export/home. There are a few exceptions, as I'm experimenting with using gluster for our ...
2
votes
0answers
159 views

sharing folders in virtual box

I'm trying to run a Linux Mint guest inside a Linux Mint host(both 64-bit). I've installed Guest Additions etc. But I'm not able to access the shared folder. sudo mount -t vboxsf kernel /media/...
0
votes
0answers
1k views

Connect Huawei E3131B 3g Modem

I am attempting to connect a Huawei E3131B 3g modem using Linux. I use usb-modeswitch and pppd. First I mode-switch the modem using the command: usb_modeswitch -c /etc/usb_modeswitch.d/12d1:14fe -v ...
4
votes
1answer
6k views

Gentoo Linux Still Popular Today? [closed]

I have installed Gentoo Linux on a Thinkpad T42 and an earlier version Acer Laptop. But it has been years, installation on one laptop after another. I even planned to go further to install Funtoo ...
3
votes
1answer
1k views

Resume mirroring via wget

I want to mirror all files for example KDEs to local directory. I used $ wget -m -P ./kde http://alien.slackbook.org/ktown/current/4.12.1/x86_64/kde/ But after a while it broke. To continue I ...
0
votes
1answer
86 views

I had a folder full of files, then I used “sudo mount” to mount a Windows samba share. Where did the files go? [duplicate]

I'm using a raspberry pi. I didn't think mounting a samba share to a folder full of files would do anything - I thought it would copy the files to the samba share. Now the files are gone from this ...
3
votes
1answer
670 views

BASH : Array as String Buffer

Instead of displaying (or writing) every result once generated, i designed an Array based Buffer to store data and write it whenever the line counter reaches a MAX value. Here is the script : #!/bin/...
9
votes
4answers
2k views

How do I switch to vi editing mode in readline?

I want to switch to vi editing mode in a readline environment. But I don't want to use 'set -o vi'. I want to temporarily switch using a keyboard shortcut. The man page says I can do this with M-C-...
3
votes
1answer
933 views

How automatically change the orientation according to display's pivot position?

I have a display I use for programming in portrait mode. To watch videos, I pivot it to landscape mode multiple times a day. The physical transformation is quick but I have to dig into the monitor ...
0
votes
1answer
230 views

How are the services exactly starting in (K)Ubuntu?

I have latest Kubuntu. I have installed mysql. I was looking into the /etc/init. I see the following: In /etc/init/mysql.conf description "MySQL Server" ...
3
votes
1answer
1k views

What is the “mintsystem” service setting and when would I want to activate it?

In hunting around my GUI for a place to enable sshd I clicked on "Services" from the Administration section of the Linux Mint (16) menu. It opened a window titled "Service Settings" and inside it I ...
2
votes
1answer
229 views

Installing as 'root' is not currently supported - what should I do?

I finally got root access to one of the nodes which incredibly helped me to get most of my software installed. But now, for the first time, I got into issues for actually being root :-)) We recommend ...
5
votes
2answers
2k views

“history” stops working when run inside bash script

I am writing a simple script to grep my bash history to find a particular string. On the command line, I can do the following, which works fine: history | grep git However, when I create a bash ...
1
vote
1answer
141 views

Scanner assumes document feeder is legal-sized

I have a Brother MFC-J630W all-in-one printer-scanner-fax. I have the sane software installed, along with the sane driver provided by Brother. The scanner has a document feeder. I'm using this ...
8
votes
2answers
1k views

Is it possible to install a linux desktop environment from a live cd?

My question is about Linux in general but lets suppose my ubuntu isn't working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to ...
4
votes
1answer
63 views

How difficult will it be to determine, get and apply latest patches to Solaris 8

I have a Sun Ultra Enterprise 2 running Solaris 8 (Generic_108528-11). This hasn't had any patches applied for years. I just now got the configuration right for connecting to the internet through my ...
1
vote
2answers
155 views

How to beat GRUB2 into submission?

I have tried GRUB2 on different Ubuntu releases (12.04 and 13.04) on several machines and no matter what I do I can't get it to behave. It seems like a great idea (abstracting away configuration files ...
8
votes
1answer
647 views

Can I truncate long file names in ls listing

I have a number of files with very long names. Please, is there a way to use ls -C and truncate the file names to get more columns for an overall view? Or is there a better way to get a compact ...
1
vote
1answer
402 views

Why does a disk clone using dd take up more space on the target than the source image?

I'm doing some Android development on Ubuntu 11.10. I'm building a set of SD card and eMMC card Android images using a Bash script. Due to Android's idiosyncrasies, I have several file system images ...
3
votes
1answer
233 views

Compile proftpd with MySQL authentication support on AIX

Edit 1: The problem seems to be related to MySQL component. because if I remove every SQL directives from config file, it does work on ftp/ftpes, sftp and ftps Edit 2: If I put an existing host ...
5
votes
2answers
473 views

How to prevent a specific instance of xterm from title changes?

If you start xterm from the command line giving it a title with the -T option xterm -T "my window title" the window title is likely to be overwritten via escape sequences for the shell prompt, ...
3
votes
1answer
4k views

Find & Delete directories in .zip files

Question 1 : In many .zip archive files I would like to delete directories anwsering to a name pattern. In a "normal" directory I used : find . -type d -name "pattern" -mtime +30| xargs rm -r Is ...
0
votes
0answers
25 views

How to start command in bash without blocking console [duplicate]

There is a problem with starting some commands in bash. When this command is starting its standard output blocked of entering other commands. And till this command do not finishing no other command ...
2
votes
1answer
844 views

How to copy a debootstrap (chroot) directory to another computer?

I created an installation of Debian in a subdirectory using debootstrap on computer A. Now I would like to transfer this installation to computer B which has a local connection but no global internet ...
0
votes
4answers
17k views

Kali Linux Live USB boots into text mode. Unable to Start the GUI [closed]

I am booting kali Linux from the USB. But it boots me into Kali login prompt. When I provide the credentials for root. It gives me root prompt.root@kali. Any pointers please on how to boot into GUI ...
0
votes
1answer
90 views

Why doesn't SLES 10.3 has /dev/shm?

It's strange that on all of our Linux systems there is a separated filesystem: /dev/shm. But there isn't any on SLES 10.3 machines, because it's just a directory on them. My question: Can someone ...
1
vote
1answer
168 views

does anybody know this window manager

I am connecting to a cluster with the window manager as in the picture. Does anybody know which WM it is? It does not have even a menu I can open like in twm
11
votes
1answer
2k views

Does using noatime on modern Linux make sense?

Starting from version 2.6.30 (which was released 5 years ago), Linux has the option relatime enabled by default. It means updates of file access time are very infrequent and prudent. But I still see ...
6
votes
1answer
221 views

audit activity on abstract domain sockets?

Using the audit system (auditd, auditctl) on Linux, is it possible to log connections to Unix domain sockets on the abstract namespace (or more exactly to filter them based on the (abstract) path)? ...
3
votes
1answer
361 views

Is it possible to tell Xorg not to listen on the abstract socket

On Linux (in recent versions), Xorg listens on both a Unix domain socket on the filesystem (/tmp/.X11-unix/X<n>) and in the abstract domain (shown as @/tmp/.X11-unix/X<n> in netstat output)...
1
vote
1answer
95 views

Using SUDO to execute a general command inside a non-accessible directory

I want to grep something inside a directory. But the user dont have permissions in the direcotry. Because of some reasons, i am not allowed to change permissions, group or owner. Just want to know i ...
2
votes
1answer
369 views

Is there a graphical shell or scripting environment for Linux?

I would like to draw my scripts and connect commands like blocks of functions (something similar to Yahoo Pipes). Does such an environment exist or do I have to develop it myself?
0
votes
0answers
29 views

Limit CPU/RAM usage per user? [duplicate]

I'm running game server applications on dedicated server that I have, but I want to be able to limit the CPU/RAM/etc usage on a per-user basis to make sure one of the servers doesn't eat up more ...
0
votes
1answer
177 views

why is my php script slower on debian than freebsd?

We moved a web-based application to a new server recently, but the new server seems to run slower than the old one. The old server was FreeBSD 7 with Apache 2.2, mod_php 5.3, and mySQL 5.1. The new ...
2
votes
2answers
91 views

Something like a symbolically linked file, but with change details attached?

Is there a file type or method for using files in which certain files look and behave like symbolically linked files, but contain extra meta information for changing the data when they are read? ...
2
votes
1answer
864 views

RTC clock time sync with the Linux time on Startup

The RTC remembers its time set, and how does the linux kernel gets this time from dev/rtc and set it as the linux time. In other words on boot up - when does kernel reads the rtc and updates its linux ...
1
vote
1answer
2k views

strace got message — SIGIO (I/O possible) @ 0 (0) ---

I'm trying to monitor serial port communication using strace -s9999 -o serialtrace.log -eread,write,ioctl command. After few normal logging messages I got guge amount of message --- SIGIO (I/O ...
9
votes
6answers
12k views

Copy files without encryption (ssh) in local network

scp works well in all cases, but the Raspberry Pi is to weak to copy files efficiently in a secure environment (lan). The theoretically possible 6,75 MB/s via 54 Mbit wireless lan shrink down to about ...
0
votes
1answer
619 views

How to specifying different ports for multiple host in cssh?

I am using cssh to telnet into multiple hosts at the same time. I have changed the ssh=/usr/bin/telnet to point to the telnet program. The problem I am facing is that each host uses different port ...
0
votes
2answers
905 views

Where node.js was installed?

I have installed node.js by : $ yaourt -S nodejs But where node.js (Dir) was installed?
4
votes
0answers
342 views

Is there an equivalent of addr2line on AIX system?

I'd like to debug proftpd on AIX and according to the documentation, addr2line is a usefull binary to identify what is not working. Extract of proftpd debugging documentation: The key here for ...
3
votes
1answer
1k views

Long gcc compile time

So far my compilations have either succeeded or failed but his time it just got stuck. I'm compiling gcc on a Linux Synology NAS. However, the compilation process has run for 3 days and I start to ...
-14
votes
2answers
397 views

Count the number of executable programs in a directory [closed]

How can I count the number of executable regular files in the current directory in a shell script?
6
votes
1answer
576 views

Create clickable links in terminal

Is it possible to process/transform the output from grep (or produce grep-like results, finding strings and/or patterns in files, some other way) such that the search results can be used as links (i.e....
2
votes
4answers
230 views

cd two levels down from root

I'm a web developer (Drupal mainly). When I develop websites I do so within a /workspace folder. So I have folders like this. /workspace/project/ /workspace/project/sites/default/files/ /workspace/...
2
votes
1answer
120 views

How to search for Debian packages by tags?

At Debian's Packages page, one can search amongst the software available on Debian. In the package descriptions, they are categorized by tags, described here. For instance, the package [xterm][3] has ...
0
votes
0answers
187 views

core i7 processor - x86-64 , cross compile kernel

I would like to know whether all core i7 processor is of type x86_64.(as per wiki it says so) I have a core i7 machine (from /proc/cpuinfo) where only 32bit kernel in installed on the same. Also, it ...
0
votes
2answers
122 views

Will autologin create remote security problems?

In Debian, I setup nodm, such that my computer logs in automatically when it is turned on. I am not concerned about thieves accessing the computer directly, but compared to a setup using GDM, can such ...

15 30 50 per page