General :: Need Command To Figure Out System A File Was Created On

Jan 31, 2010

I am just starting out in LINUX and I know the basic commands but I am a having a problem. I scoped the man pages but I can't get it. Maybe one of know... Can anyone tell me the cmd to figure out the system a file was created on? I just can't figure out this problem.

View 6 Replies


ADVERTISEMENT

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

General :: Retrieve The File Which Got Removed From File System Using Rm Command?

Nov 23, 2010

As in windows all the delted items will got to RecycleBin is there any such thing in linux.

(Or)

Can we retrive the file which got removed from file system(using rm command)

View 4 Replies View Related

General :: Files (system & User) Created After Login To System In RHEL 5.0?

Jun 4, 2010

How to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?

View 1 Replies View Related

Debian :: Which Default File System Will Be Created On Usb Stick Using Live-helper Usb-hdd Image?

Feb 5, 2011

which default file system will be created on usb stick using live-helper usb-hdd image?

View 1 Replies View Related

Programming :: Detecting Newly Created Folders / Files On Local File System?

Apr 16, 2010

Using C++, I want to process sub-folders on my home folder sequentially each with a special naming format and containing some binary files in it:

Code:
1/
2/
3/
4/
5/
6/
...

Give above folders, I will process files in 1/ at first, 2/ at second, 3/ at third, and so on.

For some n/ folder, if I realize that n/ actually does not exist in local file system, I do not want to wait for it. Hence I will keep processing (n+1)/ folder, and so on.

However, when processing some (n+m)/ folder, previously not processed n/ folder may have been created on local file system. In this case, I do not want to miss processing it, but somehow detect its creation and process it. After processing n/ folder, I want to continue from (n+m+1)/.

View 5 Replies View Related

General :: Printing Image (Created Using Montage Command) With LPR

Oct 23, 2010

I have created an image out of 2 other images using the "montage" command. I want to then print it using "lpr". I view the output from montage in XV and it looks fine however when I try to print, it prints the bottom half of the first image then the second and then the bottom half again.

E.g., imagine this:
Code:
<< end of top image
<< end of bottom image

The above is how it looks in xv however when printed, it looks like:
Code:
-------
-------
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
//////////////////
//////////////////
-------
-------

I really can't understand it, I've tried opening and saving the image again but it still prints as above. I don't know if montage is outputting it incorrectly or something, however it looks right on the screen!

View 3 Replies View Related

General :: Dump Command Backup Entire File System?

May 22, 2010

Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?

View 1 Replies View Related

General :: Use Grep Command To Filter The Log Files Created Between 3:00 PM To 4:30 PM In Buch?

Dec 13, 2010

I would like to know how to use grep command to filter the log files created between 3:00 PM to 4:30 PM in buch of log for whole day in different headings. This files resembles like sar file in linux.

View 5 Replies View Related

General :: Command Line - Create Multipart 7zip File In System?

Sep 4, 2010

How can I create a multipart 7zip file in Linux using the p7zip console client?

Many people referred me to it. My console app is

7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

View 1 Replies View Related

General :: Identify File System Type From The Output Of Fdisk Command?

Nov 16, 2010

The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)

[code]...

View 2 Replies View Related

General :: Focus On Command Line Machine System, Network Basics, And File Management Knowledge?

Feb 17, 2011

As a strategy for learning linux I have decided to adopt using a lean windows based approach. I want to focus on command line machine system, network basics, and file management knowledge. In other words find out how desktop manager does it's business, so I know how to master my machine, but by and large once I have made my choices, leave it alone to do just that.

I figure I should know how applications are internally configured etc., but I also figure an apps GUI and config choices should take care of installations, and program usage as in M$ windows. Surely taking care of an applications dependencies are the responsibility of the developer, are they not?

I am working my way through "Rute User's Tutorial and Exposition (Version 1.0.0)" right now for an overall viewpoint. Can anyone suggest a specific source for a point by point explanation of the command basis of a generalised "desktop management" application (KDE,LXDE)? Better yet would be if it had some parallel comparison of the varied approaches taken by different distributions of linux.

A secondary question, is that allowed? Up to a certain point in Ms windows, a thorough knowledge of DOS 6.xx would theoreticaly enable one to more or less duplicate the actions of the windows overlay. Is there a basic distribution (or subset in all of them maybe?) of linux that would be consistent with that paradigm? What would be analogous to DOS batch files, or GM-Basic? Oh! that's 3.I am certainly appreciating the depth of this forum, and the breadth of knowledge among you forumite's. Reading it is time well spent.

View 7 Replies View Related

General :: How To Update Newly Created Partion In RHEL6 Without Rebooting System?

Apr 17, 2011

How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.

View 2 Replies View Related

General :: Can I Do Integrity Check When Tar.gz File Is Created?

Mar 25, 2011

create one tar.gz file that contains my /home, /etc, /root directory.

a) The process ended with a 88GB file size (which is ok) but with the following message.Code: tar: Exiting with failure status due to previous errors.I have searched a little but I could not find what went wrong.

b) What are the limitations of tar and gz for backups. Of course I fully understand that they can not be used for differential backups (if it is called like that)

c) Let's say that my backup will be a file of 100GB and I want to see the contents of the .tar.gz. In kde there is a program called ark. Can ark handle so big files? Does it use my hard disk (eg. /tmp) to uncompress the file so to show me its contents? It might be the case that might be the compressed file is much bigger than the left space on the hard disk?

d) How can I do an integrity check when my tar.gz file is created?

View 11 Replies View Related

General :: Add Some String In The Head Of A New Created File Automatically In VIM?

Jun 25, 2010

To be specified,what I want to do is:

if I create xxx.php,#!/usr/bin/env php will be the first line of the file
if I create xxx.py,#!/usr/bin/env python will be added first.

View 4 Replies View Related

General :: Filesystems - How To Find Which Process Had Created Any File

May 16, 2011

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?

View 2 Replies View Related

General :: Root (sudo) Can't Write To File It Created?

Mar 9, 2011

Debugging some of my scripts after upgrading from Debian Lenny to Ubuntu 10.04. In so doing, I tripped over this "problem," the solution to which may give me a clue to others.

On a bash shell command line I created a file thusly:

sudo touch zero_file

and it lists as expected with default permissions 0644:

-rw-r--r-- 1 root root 0 2011-03-09 11:18 zero_file

But then this command fails

sudo echo abcdef >>zero_file
-bash: zero_file: Permission denied

I can place the command (minus the "sudo") in a script & run it under the auspices of sudo & it works. Am I missing something re the stdin redirection when using sudo?

View 9 Replies View Related

General :: Created A Script File Named Myscript.sh?

Apr 17, 2010

i created a script file named myscript.shi ran this by typing sh myscript.sh and i got my outputbut,when i tried to execute by typing ./myscript.sh i received permission denied errori gave permission as chmod 777 myscript.shthen i executed by typing ./myscript.sh . It worked fineso i wanted to know whether using sh and ./ with permissions are same.. ?or did it work for only this.. are there any differences

View 1 Replies View Related

General :: Tool To Mail Contents Of New File When Created?

Nov 24, 2010

I am looking for a way to be mailed a new file when it is created in a certain directory.I have found tools that will notify me when a file is created, such as iWatch with iNotify, but is there a way to actually be sent the new file when it is created.It is only a short text log file, but I would like to read it in my inbox rather than have to login and open the file each time an event is logged.

View 2 Replies View Related

General :: Wget Showing An Empty File Being Created At Root On Every Run?

Feb 19, 2010

I have set up a cron job in linux server using the command 'wget -q -o wget_outputlog url'

But on every run, an empty file being created at root.

How to stop this.

View 6 Replies View Related

General :: Run An Executable File ( Created From Qt) Post Installation (redhat)?

Feb 24, 2011

I want to run an executable file during or post linux installation which take input from user and closes on click of "ok" button. The thing i want to accomplish is something like the screen that turn up during the installation, like setting time or selecting some packages and then pressing next button...i want to do a similar stuff like the above said using my applicatio

View 2 Replies View Related

OpenSUSE :: .jar File Runs Fine In Command Line But Not From File System?

May 3, 2010

My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.

View 5 Replies View Related

General :: Find Out Maximum Size Of A Image Disk File Created By Kvm-img?

May 22, 2011

I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.

View 1 Replies View Related

General :: Mobile Samsung E2120 Does Not Play Mp4 File Created Using Ffmpeg / Fix It?

Jul 1, 2010

I am using ubuntu 8.04
here is what i did

I ran
ffmpeg -i /sumeet/clip/friends introduction song.mp4 -s 160x120 -acodec amr_nb -vcodec mpeg4 -r 30 -ar 8000 -ac 1 ~/Desktop/friends.mp4
now I compared sample video created by mobile file I created above.code...

View 4 Replies View Related

Software :: How To Figure Which Package Installed Specific File?

Jan 14, 2011

I want to know which package installed a specific file. Can I do this?

View 1 Replies View Related

General :: Desktop Environment As Root - Files Created By The Desktop That Could Compromise The System

Jul 20, 2011

a server at work has been accessed through the desktop environment as root. I know this is a risk and since I have never done it before I was wondering if there are any files created by the desktop that could compromise the system and how could I clean it up.

View 2 Replies View Related

Ubuntu Multimedia :: Audio Formats: Identification - Conversion - Figure Out What Format A File Is In?

Apr 12, 2010

I think that the biggest problem that I have had is that some of the music (and audio books) that I have gotten have not played on my walkman, or have not been able to be downloaded in to I-tunes.

First: I hate itunes... I only try to make it work because I love my wife. (and do not want her to hit me)

Second: I know that my Walkman has a very limited range of files that it can play, so I will need to convert some types of files.

But my basic questions:

* How can I figure out what format a file is in?
* Below that, how can I identify the singular characteristics of a file? (bit rate, and other formats...)
* Is there a best way to switch the formats or format options of these files. (I am currently using sox to do this, it seems to very complete)

Basically. I know nothing! The most that I do not know is that two files that as far as I can tell have the same formats, and should work the same never the less, one of them works, the other does not. I am looking to figure out a way to look at these files (maybe they are mislabeled) and figure out what their real format is (and a more complete format than just being MP3 or such) and then to be able to convert it in to a format that is able to be used by myself and/or my wife.

View 1 Replies View Related

OpenSUSE Install :: Make Command Not Found Can't Figure Out How To Install It

Apr 20, 2010

*edit Nevermind I think I found it on YAST * I have been having trouble finding the "make command":If 'make' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf makeI need to install 'make', 'g++', and all other building tools for suse.

View 2 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

Ubuntu :: Command To Copy Files In Directory Created Within 2 Hours?

Apr 22, 2010

Is there a simple command to copy files that have been created within the past 2 hours?I've been looking through the man pages for unisonrsyncfindcpand I can't find anything I'm looking for.All I need is a simple command.Code:Copy folder a to b if created < 2 hours.

View 4 Replies View Related







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