General :: Data In And From Sed Can't Be Changed
Oct 24, 2010
I have the following one-liner:
[code]...
sed, locates the word with the different encoding. The output should be something like one two three four but it returns the same. one two four. It's like the data in & from sed can't be changed. I also tried passing & to an external script but it did work.
View 10 Replies
ADVERTISEMENT
Jul 31, 2010
We have a Wipro Net Power 8552 server on RAID 5 with Linux Advanced Server. The Databse is Oracle . Every time the reocovery is made the block corruption error gets changed. There are four hardisk in the Raid with 18 GB capacity of Quantum make. I want to make sure if any Utility is there in Linux to check the Harddisk if any Block corruption is there or Not.
View 1 Replies
View Related
Jul 14, 2010
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/
umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy
View 3 Replies
View Related
Jun 19, 2010
I recently installed virtual box on debian and after it had finished my terminal informed me that I could remove some "unnecessary" software by use of sudo apt-get autoremove. When I did this, some of the icons on the desktop changed and all of the icons in the drop down menu on the bar at the top of the screen also changed to ordinary folder symbols. The theme that I was using also went away. I restarted the computer and it booted back into a shell prompt with no GUI. I tried to get back to the GUI using alt+f7 but it didn't seem to exist
View 2 Replies
View Related
Apr 12, 2010
I have some problem some one changed hostname on my system. If I do following I see
Code:
knoppix:~# cat /etc/hostname
debian
knoppix which is coming in left side in above output is not my hostname.
The hostname is debian.
How do I get that name back so that when I do cat /etc/hostname output is like following.
Code:
debian:~# cat /etc/hostname
debian
View 4 Replies
View Related
Jun 18, 2010
I recently attempted to change my ip with terminal using "ifconfig etho <input address>" but failed to annotate the previous address. I restarted the network after appending the network document at "/etc/network/interfaces" and restarted the network "/etc/init.d/network restart". Checking through I found the the IP address was what I changed it too yet the problem was attempting to revert it back.Going through a cycle of editing the network document and restart the network has ended in failure and I am curious if there is a way to reset the configuration for eth0 without reinstallation.
View 5 Replies
View Related
Sep 28, 2010
I changed the permissions of /etc/sudoers trying to make it writable using following command:
sudo chmod o+w /etc/sudoers
and now when i try to use the sudo command i am getting the following error:
/etc/sudoers is mode 0442 should be mode 0440
View 8 Replies
View Related
May 8, 2010
I have a directory (let's say A) with a few hundred files and subdirectories and a copy of this directory (let's say B). All the files and subdirectories in B have a newer date than A. However only a few of them are really changed files. Is there a way to find those files and directories? Basically they have different sizes so this could be used to compare them with the files from A.
View 3 Replies
View Related
May 18, 2011
if there an application which does the following:
1. I have a laptop with an internal 200GB HD.
2. I run the application & it creates a list of all files (size & time-stamp) without actually storing them. Let's call this the "snapshot list".
3. I update some of the files on the laptop.
4. Now I run the application & it only copies the files which have changed on the laptop, that have different size/time-stamp from the snapshot list, onto some external media, such as a memory card. Of course, the files should be copied onto their proper location in the directory tree & not just pile up in one place.
Why is this useful? although the laptop has a 200GB HD I typically only update a small number of files, whose total size is maybe 10MB or so. If I could only backup those which have changed, I could do this with a tiny SD card instead of lugging around an external usb HD.
View 8 Replies
View Related
Jul 15, 2010
I changed my ISP recently, post which my LAN is not able to access the internet.I have 6 PCs in my LAN which run on Ubuntu 9.04 and 1 on Ubuntu 9.10 and one more on WindowsXP and these are connected to an Ubuntu 9.04 where the ISP pipe is terminated. The main PC is able to access internet and has IP of 192.168.1.xx series on eth1 on DHCP and eth0 is configured as 192.168.0.2
View 14 Replies
View Related
Jul 3, 2010
How do I monitor which files have been changed after, say, I run the passwd command? (I know, depending on the options used, it changes /etc/shadow and/or /etc/passwd). But I would like to if there is any clever ways of monitoring this. This is how I do it which is a bit crude, and I have to know which directory to monitor. Before running the command, I run
Code:
for i in $(ls -A) do; md5sum $i >> /tmp/before; done
And after running the command, I run
Code:
for i in $(ls -A) do; md5sum $i >> /tmp/after; done
Then I do a diff to see if any file has been changed
Code:
diff /tmp/{before,after}
View 1 Replies
View Related
Apr 1, 2010
I am using hostapd, wireless tools with madwifi for my wireless ap in my board. The WEP, WPA-PSK connections and communications between my board with linux and my desktop PC, Windows XP SP2 (with Olitec USB wireless) are fine. But when I configured the WPA type, the connection seems established but shows the status "TKIP - Key Absent" in the security dialog box. Anyone faced this problem? Am attaching the conf files and the connection status. In the AP side am complaining . I am using the in built radius server conf with the hostapd 0.4.7
[Code]...
View 1 Replies
View Related
Sep 16, 2010
Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.
View 1 Replies
View Related
Oct 30, 2010
What does the warning 'section XXX type changed to PROGBITS' mean, and how do I avoid it? I'm compiling some code to run on a sub-processor, and I'm getting this warning during the linking stage.
View 2 Replies
View Related
Sep 28, 2010
I tried adjusting the resolution in Ubuntu so that it would fit better on my screen. The first one I tried worked ok, but when I tried a higher resolution the screen went black. Now I can't see anything on the screen so I can't change the resolution back to where it was. If I hit esc when booting up, is there anything I can do that will change it back to the default?
View 1 Replies
View Related
Jan 18, 2010
I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?
View 13 Replies
View Related
Oct 14, 2010
I recently moved from gnome to xfce in my arch linux box. After I added greek to keyboard layout some applications like skype, openoffice and vlc changed their menus in greek characters. English language but greek characters! Anyone got any idea what can I do with this one?
View 1 Replies
View Related
Jun 21, 2010
I am using Ubuntu 10.04 and had the dual monitors all set up using NVidia. When I was leaving my office I intended to lock my screen but instead switched to guest user . . . and now 1 of my monitors from my dual monitor set up has bunk resolution?
I have restarted and am logged in as administrator but I have no idea how to fix the resolution? The dual monitors have always been a problem for me. what in the x11/xorg.conf file I need to change?
View 1 Replies
View Related
Oct 24, 2010
I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?
View 6 Replies
View Related
Jun 5, 2010
Someone (not me) recently installed some new distros on my HD. It seems that during the installation my swap partition was reformatted and a new UUID was assigned to it. I have the following questions:
1. I know that I have to change the swap partition UUID in /etc/fstab and /boot/grub/menu.lst of the affected distros. Is there anything else that needs to be changed?
2. I presume a similar change has to be made to the Grub 2 configuration, for those distros that use Grub 2. I have no experience using Grub 2 so how do I make the change or where can I find instructions to do it?
View 13 Replies
View Related
Jan 23, 2011
After installing the nvidia drivers and rebooting my theme changed to an ugly gray theme. Changing the theme in the System>Preferences>Appearance only changes the window title bars but everything else stays in this ugly gray theme.
The drivers are installed and working (visual effects work).
I also updated everything from the Update Manager before rebooting. Also this is a brand new install. Only changes are from the Update Manager and the Driver utility. Every thing looked fine before I rebooted (default ubuntu 10.10 theme)
How can I get rid of the this gray theme?
Also I am new to ubuntu, mainly use GUIs to set things up. I'm not afraid of the terminal, but I just don't know my way around the Linux file system yet.
View 1 Replies
View Related
Mar 7, 2011
I want to copy/paste some text to vim from gedit. The original text looks like this:
I start vim, press "i", then right click, paste, and get this:
How could i set vim to not to do this? How can I copy/paste my text so that I don't need to delete those unnecessary tabs?
View 2 Replies
View Related
Jun 9, 2011
I need to write a small application which needs to detect if the system time is changed by an another application/user and perform some action as soon as it is detected (maybe log the data that time has changed, along with info about which application/user changed it).
How can this be achieved?
I have good programming experiences in shell script, c and beginner level in python.
I don't need to know when it was changed, just need to know who/what changed it.
The system uses NTP to sync the time, but it is also possible for anyone/any application to change the time(for eg: using the simple "date" command as well).
View 2 Replies
View Related
Aug 23, 2011
I use a PHP IDE that has no built-in ability to upload a project to a site. So, I'm looking for common easy to use tool for Linux that would able to upload modified documents to the server instead of uploading of the whole site. I also accept shell scripts that would be able to do this.
View 1 Replies
View Related
Aug 29, 2011
I have remote location Linux running (CentOS 6.0). It has dynamic ip address so i installed noip2 service and copied the file cp redhat.noip2.sh /etc/profile.d/noip.sh. After that when the system restarted once, it never have the correct shell. As a result remotely when i try to ssh the server i cant login and i cant do anything.When i debug the ssh i see that debug1: Authentication succeeded (password). and command is also sent but nothing just happen.
View 2 Replies
View Related
Dec 6, 2010
Fedora 13 is currently my Linux Distro of choice but I find the Pointer/Activity-monitor is annoying. Usually it has two states ,the solitary round thing or the pointer. Every now and again they are combined into the Ubuntu combination symbol of the two joined into one image. Is there a way to change this image/moving-icon? I like Mandriva's the best and would prefer it worked on all Browser windows so that New Firefox versions did not disable it.Thanks in advance!
The term I needed to find additional info was (Mouse Themes). The (Wait Cursor) is usually included with this.Download the theme you want and go to System> Preferences> Appearance> Customize> Pointers to change to one that is alreadly installed.To install themes, System> Preferences> Appearances> Install. Apparently more than one them can be used on a distro so the Browsers will use its own while Nautilus will use another. Fedora's default one does not funtion properly. It will not change to the pointer if a web page is still loading if you need to sellect something. I learned that Mandriva uses the (Bluecurve) variation for default which is like Ubuntus where it does not have to change between two different images and hense does not lose functionallity.
View 1 Replies
View Related
Mar 2, 2011
How can I display only the folders that have changed inside of two different directories?
PHP Code...
Will this suffice?
I am trying to see what new directories were added between my working build and a new onefor a project that I working on.
View 1 Replies
View Related
May 10, 2011
How do I recover from accidentally set the runlevel to 0?
View 5 Replies
View Related
Jun 21, 2010
One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.
View 2 Replies
View Related
Jun 21, 2011
Linux command to find files changed in last n seconds. shell script,that we can run from cli or command.
View 3 Replies
View Related