General :: What Does The -i Flag Mean In Rm File?

Oct 15, 2010

What does the -i flag mean in rm i my_file?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Append Data To A File Where Immutable Flag Is Set?

Mar 10, 2010

I want to append data to a file where immutable flag is set..So i have tried this command chattr +a file_name to append data..But i am unable to append the data..

View 7 Replies View Related

General :: What Does Mkdir -p Flag Do

Jul 19, 2010

What does the mkdir -p flag do? i.e the '-p' part?

View 1 Replies View Related

General :: Necessary To Set Boot Flag?

Jan 24, 2011

In another forum (I each day visit a lot of them) a user was stating that you need to set a boot flag to make the root partition bootable, if you create partitions with GParted in order to install a Linux with GRUB2. Another was suggesting that, if you install Linux with GRUB2, the installer automatically sets a boot flag to the root partition to make it bootable (I don't remember the names). I neither believe the first nor the second thesis and I'm hoping that in this excellent forum some Gurus not only are saying I'm right but also give a comprehensive answer.

View 2 Replies View Related

General :: Getting To The GUI On Red Flag Desktop 5.0NE

May 26, 2010

I just bought an Eee Box with Red Flag Linux Desktop 5.0NE. My intention was to use it as a backup server at home to backup files and photos, etc.

How to I get to a graphical user interface so I can start to know what I'm doing?

When I switch on the machine, it says:

Red Flag Desktop 5.0NE
Kernel 2.6.21.0-22 on an i686
localhost login:

View 1 Replies View Related

General :: Flag To Test Is Not Directory?

Mar 25, 2011

I found that this tests if a give filename is a directory or not:

Code:
-d "$FILENAME"

But what test for not a directory? I tried

Code:
-D "$FILENAME"

But this doesnt work?

View 1 Replies View Related

General :: How To Set Ext3 Partition Hidden Flag

Apr 15, 2010

I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?

View 1 Replies View Related

General :: Use The -ne Flag For Echo In A Shell Script?

Jun 21, 2011

I'm trying to create a shell script to take an argument and use it to name a terminal tab. So if the script's name is tabnm, tabnm "test" should rename the current tab "test"

This is my code:

#!/bin/sh
echo -ne "e]1;$1a"

but when i run it I get this output:

robin@icarus $ sh tabnm.sh test
-ne e]1;test

If I just run echo -ne "e]1;Testa" straight in the shell, the tab is renamed.

View 2 Replies View Related

General :: What Is Rsync Flag To Ignore Permissions

Apr 8, 2010

I am using Rsync to backup files to a another machine, the users on my fileserver do not exist on the backup server so Rsync throws errors about the permissions. It copies the files fine but I want to get rid of the errors and have Rsync ignore the permissions when backing up.
/backup is a mounted ftp directory

Below is the current command and output:
Code:
root@Fileserver:~# rsync -av --delete /shared/fileshare/ /backup/backup
building file list ... done
created directory /backup/backup
./
manager/ .....
rsync: chown "/backup/backup/manager/.chironfs.txt.c6MbJ7" failed: Operation not permitted (1)
rsync: chown "/backup/backup/manager/.cronman.txt.hdBG4P" failed: Operation not permitted (1) .....
sent 211115 bytes received 274 bytes 7686.87 bytes/sec
total size is 210263 speedup is 0.99
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]

View 3 Replies View Related

General :: Rsync - Cygwin On XP - Delete Flag Not Working

Aug 4, 2009

I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).

I run the following command from a batch file:

Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.

The same command works perfect on another computer (XP machine; source and dest both on XP machine).

View 1 Replies View Related

General :: Create A Script That Calls A Command With A Flag?

Jul 24, 2011

i would like to create a script that calls a command with a flag....

/usr/bin/wget
calling
"curl -O"

[code]....

View 1 Replies View Related

General :: Ubuntu / Mint8 Install - No Signal Flag On Screen

Jan 19, 2010

I have tried to install both wubi ubuntu and linux mint8 both times they start I see the new desktop briefly then I get a "no signal" flag on my display But I can hear the startup chime as the program finishes loading!

View 1 Replies View Related

General :: Simple Boot Flag Value 0x5 Read From CMOS RAM Invalid

Apr 3, 2010

Searching syslog to diagnose other problems I encountered this line. As near as I can tell it has nothing to do with any problem I have.

View 2 Replies View Related

General :: Ifconfig Eth1 Down Unsetting And Setting The Running Flag On The Other Side?

May 29, 2011

PC1 and PC2 are linux pc's with linux 2.4 (or) 2.6 kernel installed on it.Observations are done on both 2.4 kernel and 2.6 kernel Problem explination:

1)PC1 "ifconfig eth1 down" on linux shell.
2)Check the "ifconfig eth1" on PC2
3) The running flags are unset first(disappear)and set(Re-appear) on the eth1 interface on PC2.

4) unset and set toggling happens with in short period of time about 1 or 2 secs.

This is clearly observed in linux 2.4 kernel with some time delay for the toggling, but 2.6 kernel this will happen every quickly..

[Code]..

View 3 Replies View Related

General :: Flag - Option To Discard Case Sensitivity To Find Package Installed Or Not?

Aug 25, 2009

Is there a flag or option to discard case sensitivity to find whether package is installed or not?

from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Quote:

Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:

Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....

is there a way to find whether a package is installed or not without knowing its case exactly?

View 1 Replies View Related

General :: What Is The "the Dos Compatibility Flag" In Fdisk

Jul 16, 2010

I fired up fdisk and got this warning:

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

I didn't even know that my previous Linux installs where DOS-compatible in any way!

View 2 Replies View Related

Red Hat :: Default Value Of Stay_setuid Flag?

Apr 6, 2010

From the man page for sudoers (RHEL5.4), I notice that the default value for stay_setuid flag is 'OFF'.

In RHEL4.8, th man pages don't specify the default value.

What is (maybe) the default value of 'stay_setuid' in RHEL4 ?

View 1 Replies View Related

Fedora :: Ls Flag For Listing Directories?

Oct 31, 2010

Is the command "ls -d" meant for only listing directories? Because i tried it and it ALWAYS display just a blue dot. If not what is the correct way to show only directories? I.e. MSDOS equivalent "dir /ad".

View 2 Replies View Related

OpenSUSE :: 64-Bit Desktop Kernel Does Not Use NX CPU Flag

Dec 1, 2010

I recently install 64-bit OpenSuse 11.3, the first time I'd used Suse 64-bit - I have to say it has been all good so far, which is great. However, today I was experimenting with a tool that tests vulnerabilities which should be remedied if using an NX capable processor. I am running 2.6.34.7-0.5-desktop on an Intel Core i7. I downloaded a 64-bit compatible version of paxtest from :

[URL]

Running it I was surprised to see that the NX capabilities of the CPU do not appear to be honored. Here are my results:

PaXtest - Copyright(c) 2003,2004 by Peter Busser <peter@adamantix.org>

Released under the GNU Public Licence version 2 or later

Mode: blackhat
Linux callandor 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux
Executable anonymous mapping : Killed
Executable bss : Killed

[code]....

From my understanding, NX was one of the big deals a few years back and was a main feature provided by the PAE kernel. I would have thought the default 64-bit kernel would have included NX support. I also thought per NX bit - Wikipedia, the free encyclopedia that NX support has been in the kernel since 2.6.8 I looked in config-2.6.34.7-0.5-desktop but did not see anything related to NX/XD config wise, other than DEBUG_NX_TEST What am I missing here? Shouln't this test fail in the Executable [bss, stack, etc.] tests on 64-bit with a NX capable processor?

View 4 Replies View Related

Ubuntu :: Can't Boot Except With Noacpi Flag

Dec 18, 2010

yesterday ubuntu 10.04 hanged so i restarted it and i wasnt able to boot again all what i get is a blank screen with a blinking cursor... also windows7 dont boot (hangs during loading) after some googling i was able to boot only in linux by setting the noacpi flag during booting in grub but there was no internet connection (wired connection) i guess that noacpi is the reason ??

what i have tried :livecd: doesnt boot except with the noacpi flag and no internet connection reinstalling grub : doesnt solve the problem replace the power supply : nothing differ

View 4 Replies View Related

Security :: /tmp And /dev/shm - Mounted With The Noexec Flag

Dec 24, 2010

If /tmp and /dev/shm partitions are mounted with the noexec flag then this prevents someone from executing something in those partitions.

Example:

You will get permission denied

However if you execute that same script like this:

Then the script gets executed which makes the noexec flag useless.

If there any way to prevent this bug/vulnerability?

View 3 Replies View Related

Ubuntu :: Include Flag Not Working For Grep?

Apr 19, 2011

I'm trying a recursive search -- only PHP files -- and yet grep is searching SQL files too.

Code:
sneakyimp@Ubuntu-64bit:/var/www/site$ grep -irl --include='*.php' 'car_images' *
2011_02_11_dump.sql
car_images_pending.sql
client/search_results.php

[Code]....

View 8 Replies View Related

Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies View Related

Server :: What Flag To Use With RPM To Show Changes / Patches Included

Dec 8, 2009

For instance I have: openssh-4.3p2-36.el5_4.2
But I know that is 4.4.x. rpm -? openssh

View 2 Replies View Related

CentOS 5 :: Install Httpd As A Service With -D SSL Flag?

Mar 12, 2010

I have reviewed the HowTo wiki on Setting up an SSL secured Webserver with CentOS [URL], and have successfully set up my server.

We are using the conditional <IfDefine SSL> tags around the <VirtualHost _default_:443> section. I wanted to do this because we are deploying a standard <VirtualHost> section that is appended to the httpd.conf file for several Apache versions on several OS's, and this makes maintenance much easier. Sometimes the server will be configured with SSL support, and sometimes not, depending on certain functions of our application that the end user will require and determine. Our application then determines which mode the server should be run in depending on these functions, what OS is being run, what version of Apache is being run, etc, and starts the httpd server in the appropriate mode. For CentOS 5 with Apache 2.2, if the application indicates SSL is required (and we expect the server to be configured appropriately), then we do the following:

/usr/sbin/apachectl -D SSL -k start

View 1 Replies View Related

Fedora Servers :: Remove RAID Flag From Disc?

Apr 17, 2011

I would like to mount a disc that was previously used in the Intel Software Matrix RAID array (fake-raid). If I try to mount it I get:

mount: /dev/sdd1 already mounted or tempb busy

I think my dmraid is refusing to mount it beause of some RAID "flag". I would like to get rid of it, but unfortunately I cant do that on my system (theres no such RAID):

[root@ox mnt]# dmraid -r /dev/sdd
ERROR: isw: Could not find disk /dev/sdd in the metadata
no raid disks and with names: "/dev/sdd"

There are several posts recommending to uninstall dmraid completely from the system. Isnt there smarter solution in removing such a flag?

View 7 Replies View Related

Ubuntu :: HP_RECOVERY Partition Is Hidden Despite Lack Of Flag?

Jan 9, 2010

Little explanation: OEM HP pcs come with an HP_RECOVERY partition which contains an installer which will wipe the HD and install vista (shivvers) Now despite how much I looooove vista, I was wondering why the OS_TOOLS partition shows up in places and recovery doesn't... especially cause niether have a hidden flag...

(As a side note, what the hell does OS_TOOLS do? google yields no answers)

View 8 Replies View Related

Ubuntu Servers :: Bootable Flag Doesn't Change

Feb 15, 2010

A week or two ago I installed Ubuntu Server 9.10 on a Intel DG945SEJT-based machine with two WD RE2-drives. I used unetbootin-windows-408.exe to to prepare a USB stick with the 32 bit version of the server version of Ubuntu. The installation went smooth without any problems.

Now when I'm trying to do the exact same thing to an almost identical server (larger HDD:s) I can't change the bootable flag to "on" on the physical raid partitions I create to host /.

I use the the following partition scheme: 10 GB /, 4 GB swap and the rest as /home. They're all on software-RAID1. Last time I did this (and many times before that) I was able to set the flag to "on".

When I press enter it just shows "updating filsystem.." etc. for some second but then nothing happens, the parameter is still on "off". This causes the whole installation to fail in the end due to an error when installing GRUB -> "can not install grub in /dev/sda "fatal error"".

My only conclusion is that the installer downloads some new files from the internet which causes this problem, as I said - nothing else is different except the harddrives (WD RE4-GP).

View 5 Replies View Related

Ubuntu Installation :: Delete The Partition With Flag Bootable?

Sep 6, 2010

Well I currently have a windows partition currently formatted as ext3 which has the partition flag bootable (It previously had Windows Vista on it). I also have a windows partition with NTFS filesystem with Windows 7 on it which is not bootable because the previously mentioned partition became formatted by me. And I also have more partitions for Ubuntu, which is currently the only OS working.

To show it visually: [URL]

So my question is can I delete the partition called "Inter" and recreate a new partition and format it again with ext3? It has the partition flag bootable, won't I loose all of the partitions this way? It's also the primary partition? Is there a big risk?

View 2 Replies View Related

Ubuntu :: Win7 - Changed Partition Flag To Boot

Jun 2, 2011

I just installed windows 7 and ubuntu stopped booting even though it was still there, so I thought I would just change the partition flag to boot. I found out later that I had to create a new mbr but after I changed the boot flag, windows 7 stopped booting and I tried changing it back, but it didnt work. So I was wondering if i didn't use the correct flags or is there another way to get windows 7 to boot again? I was using GParted to change the partition flags and that i am using windows 7 ultimate 64bit

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved