0
votes
0answers
107 views

Wget, downloading outdated files [debian running on Mips - malta]

I am over writing a particular file (called "demo") on my server and wget-ting it. However, sometimes wget retrieves an outdated file, despite my checking on the net that the file has been updated. ...
1
vote
3answers
6k views

Kill only one Java process

I usually run few Java applications, one for server running locally and other for some IDE like NetBeans. And from time to time, after lots of redeployments, my server get stuck on ...
1
vote
1answer
90 views

what is diffrence between “$var” and “${var}” [duplicate]

i have seen in many script usage of "$var" and "${var}", so I just want to know diffrence between "$var" and "${var}"
0
votes
2answers
288 views

Explanations of an Android image build script

I was getting one program for partitioning SD card.I have given that script below: #!/bin/sh if [ $# -lt 2 ]; then echo "example usage: $0 /dev/sdc \$ANDROID_ROOT" exit 1 fi DRIVE=$1 ...
2
votes
3answers
523 views

How to stop `grep` from truncating pipe output

Is there any way to have an echo at the end of a pipe simply append to the current output rather than removing it all? For example, how can I keep the output for my cat and grep and add "END OF ...
5
votes
3answers
2k views

How to track the number of processes and forks per user?

I need to figure out how many forks are done and how many concurrent processes are run by each user over time. It does not look like this information is tracked by my distribution. I know how to ...
1
vote
1answer
89 views

Really umount external drive

I had a USB drive mounted on /dev/sdb1 and I want to reformat from NTFS to ext3. I did umount -l which unmounted the disk. I deleted the old partition using cfdisk. I ran mkfs.ext3, but got the error: ...
0
votes
0answers
55 views

Boot disk unavailable

Background I've got one 32GB SSD that I have Ubuntu 12.10 installed on (this drive is encrypted), and two 1.5TB drives that will serve as storage and backup respectively. I have formated both drives ...
2
votes
2answers
432 views

Displaying a specific date

I'm trying to display a specific date in Unix, using the date command, I can't figure out how to display a date other than today's date. For example, if I was trying to display July 4, 2011 I use $ ...
1
vote
1answer
3k views

Automatic Startup of Oracle 11gR2 on CentOS 6.3

I've setup a handful of CentOS 5.6 servers with Oracle 11gR2 and not run into this particular problem, but I have hit a wall with CentOS 6.3 and auto-starting Oracle. Not sure if this is related to ...
0
votes
1answer
273 views

How to find information about devices in Linux [duplicate]

I want to find the following information for devices in Linux: Bus speed (e.g. 66 MHz) IRQ settings Vendor identification AGP rate (e.g. 1x, 2x, 4x) MAC address I am only able find the last one ...
0
votes
2answers
192 views

Making Puppy Linux more “Unixy”?

I am playing around with Puppy Linux Wary 5.3 on an old machine (Pentium PII, 160 megs RAM, 6 gig HD). I did an install on the HD. I appreciate it's light footprint, the fact that it plays nice with ...
2
votes
1answer
323 views

Why do inode-based file systems NOT need reboot after updating library versions? [duplicate]

I am trying to understand what an inode is. However, this passage from Wikipedia puzzles me: Installation of new libraries is simple with inode filesystems. A running process can access a library ...
0
votes
2answers
95 views

Piping commands together in unix

How do I pipe the output of one command to another in unix? For example, If I want to pipe the output of sort to tail, how would I do that?
0
votes
2answers
120 views

How do I remove a simple piece of software?

I want to get rid of the automatically installed solitaire "games" in my brand new Fedora 18. I tried the gnome way, but nothing gets listed when I search for "silitaire". I tried the command line ...
2
votes
1answer
818 views

Recursively downloading all files from a website's child directory using wget

I am trying to recursively download the contents of a particular directory (via http from a web server) using wget. The command I am using is: wget -r -l 0 --user=josh --ask-password ...
4
votes
1answer
2k views

named does't start when using systemctl

I am having trouble getting named to start using systemd on the Fedora 18 Raspberry Pi spin. It starts, then a few moments later there is a timeout and it fails. If I run the commands in named.service ...
3
votes
2answers
2k views

LibreOffice 4.0 looks ugly in KDE

I installed recent LibreOffice version (4.0) but it looks so ugly in my KDE on Linux Mint, as shown in the following picture... how can I fix this issue?
4
votes
3answers
546 views

How do you boot Puppy Linux Slacko into the command line?

How do you boot Puppy Linux Slacko (or Precise or Wary) into the command line? I wish to startx only if I need it. Unfortunately it does not seem to copy Slackware's traditional /etc/inittab runlevel ...
1
vote
1answer
175 views

How to install caffeine on Scientific Linux 6.3

caffeine Traceback (most recent call last): File "/usr/bin/caffeine", line 40, in <module> import caffeine File "/usr/lib64/python2.6/site-packages/caffeine/__init__.py", line 23, in ...
-2
votes
1answer
1k views

Unable to clone git repository: foo.git/info/refs not found

I tried to clone a git repository using the command: git clone http://git.denx.de/cgi­bin/gitweb.cgi?p=u­boot.git;a=summary but I got the error: fatal: ...
3
votes
2answers
333 views

AWK for data smoothing

I need some help to smooth some data with awk olny of column 4 and next. This is a data example: Date;time;Time_ms;A;B;C;D 23.11.2012;15:03:00;41236627696;1;2;2;3 ...
2
votes
3answers
209 views

Can not change brightness on Toshiba P855 - tried every distro already

I'm trying to use Linux on a Toshiba P855 laptop. And I have one big problem: the screen brightness can't be changed, and stays at maximum. Tried different distros, also tried many boot options in ...
2
votes
3answers
940 views

Is Red Hat Linux licensed

Am confused so thought of asking a question. According to this Red Hat Becomes Open Source’s First $1 Billion Baby, it is opensourced so my question is: Where can I download the Opensource version ...
2
votes
1answer
754 views

Prevent Wacom tablet from moving mouse pointer

I have a Wacom CTF-221 graphics tablet, and I use it with Linux Wacom drivers. However when I draw it's annoying that the mouse pointer moves with the pen and clicks outside of the drawing window. ...
6
votes
1answer
1k views

How do I set up an encrypted swap file in Linux?

How do I set up an encrypted swap file (not partition) in Linux? Is it even possible? All the guides I've found talk about encrypted swap partitions, but I don't have a swap partition, and I'd ...
15
votes
2answers
9k views

Booting native Arch Linux on an Android device

I have a Galaxy Note 10.1 (n8010) and I want to make it boot Arch Linux natively. I mean boot Arch Linux instead of android. All that I need is to alter the initramfs, which I can't find anywhere in ...
4
votes
1answer
15k views

Suddenly, I Can't login with correct password (greeter & tty)

This might be a duplicate of other password related questions but it's somehow eccentric. I have 3 accounts in my Ubuntu 12.10 system (one standard and two administrators). One of the administrator ...
3
votes
3answers
140 views

File goes missing for a short period of time after saving it using VIM

I am having a strange problem that seams to be caused by VIM, the Linux VFS cache, ecryptfs and/or something file system related: I open a file in VIM, modify it and save it. I try to access the ...
0
votes
1answer
123 views

How do I get my Virgin Media wireless internet to work on Crunchbang linux?

I am struggling to get my internet to work on Linux. I am able to connect to my wireless internet through any other device I choose but my laptop will not find it. I have tried using the hidden ...
1
vote
0answers
392 views

git deploy using sudo nopasswd

I'm trying to write simple post-recieve script, which would switch to webserver user and pull git repository. To do so, I added git user to sudoers (I've added this to very last line): git ALL = ...
1
vote
1answer
405 views

Change of real time priority made no visible effect

we were trying to get the best result with software PWM on raspberry pi with Raspbian. We made a python script which starts PWM on a GPIO pin, and observed the results with the oscilloscope. It ...
1
vote
4answers
870 views

How to copy Big files on other Linux Server Independent of TTY

Actually i was trying to copy all the files in another director. Total size of the file is 188GB so its going to take a time. Im trying to copy for Linux server A to B using this command nohup scp ...
0
votes
0answers
973 views

Mouse scroll wheel issues

I'm been having issues with the scroll-wheel on my mouse for ages now. I've got a Silverstone Raven mouse, and the scrolling action is extremely jerky. If I scroll either up or down, at a natural ...
3
votes
1answer
4k views

How to re-enable iptables on Fedora 18?

FirewallD is the default firewall in Fedora 18. I have been using iptables for quite some time and have a custom configuration which I need for logging of ip traffic. I am not used to the new ...
0
votes
2answers
5k views

How to configure SFTP so it behaves like ftp chrooting user to his home directory?

I have installed vsftpd utility on Fedora 10 to restrict users to their (chroot) home directories. It works fine when I use ftp prompt to connect. However it does not work when i connect using sftp. ...
9
votes
2answers
559 views

How to solve this memory issue gracefully?

I have a standard Linux (Debian testing) laptop, with a swap partition. I do a lot of experiments with it. Some of them are really memory hungry and the way Linux behaves by default is an issue for ...
3
votes
3answers
169 views

How to prohibit from changing an owner of modifiable files?

I sometimes need to run a Qt Creator from root. After that, some config files of Qt Creator suddenly have a root as an owner. Therefore when running Qt Creator as user, I am getting nag warnings about ...
2
votes
1answer
981 views

Run XMonad's startup hook only on initial startup

I have the following startupHook in my xmonad.hs , startupHook = spawn "~/.xmonad/autostart" I am starting many apps and daemons in this script and it is written to run only once on startup. But ...
4
votes
2answers
2k views

what is OS hardening in linux or unix?

The term OS hardening itself is misleading/vague to me as i am reading to understand it online here. It seems to me that its something related to making linux/unix box more secure.
1
vote
1answer
241 views

Why does printf ignore the IFS when printing out the result of my script?

This is a follow up to a question posted on SO. I've written a script called except which should print all filenames / directories except the ones given like so. $ ls a b c d $ rm $(except b d) $ ls ...
1
vote
3answers
504 views

Shell script Variable Structure

How can I create a variable with a file name format like : FileName pattern: SnapshotIR__somenumber.csv I tried something like : TODAY=$(date +"%m%d%Y") SNAPSHOT = $(SnapshotIR$TODAY*.csv) I ...
2
votes
2answers
1k views

Del key in AIX ksh over PuTTY telnet

At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
1
vote
0answers
165 views

How customize initrd via linuxrc

I have the need to use the same disk and so the same bootloader on devices with different motherboard. Each motherboard has it's own way of mapping devices so sometime the bootdisk is mapped ad hda ...
2
votes
1answer
111 views

How to reload a file in vim?

Various editors like gedit detect if the file is changed and asks to reload it. Sometimes in vim when I got many files to edit, I sometimes end up opening same file in different tabs for quick look ...
2
votes
1answer
420 views

Run metacity without gnome-shell (gnome 3)

Hi how can i use metacity with composite manager without gnome-shell. I'm trying to do so in my custom xsession #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS"; then eval `dbus-launch --sh-syntax ...
7
votes
3answers
2k views

How to create a user that doesn't show up on the login screen?

I need to run the web browser with another user but I don't want the user to be shown at the login screen. How can I create a user that will not be listed on the login screen? GNOME/Scientific Linux ...
0
votes
1answer
333 views

Error in creating android phonegap project on linux fedora

I am a beginner to linux fedora. Actually I am developing an android phonegap project with linux and I have followed the following steps Open Terminal and move to the bin folder present in the ...
2
votes
2answers
595 views

dynamic file system with hooks

Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...
3
votes
2answers
5k views

list all files newer than given timestamp and sort them

I want to list all files (sorted by date) that are newer than timestamp in format 20130207003851 in directory /tmp only. Subdirectories can be omitted. Using SUSE Linux Enterprise Server 11. The ...

15 30 50 per page