Fedora :: Using Cd Command Going To A Directory Which Has A Space In Its Name!
Aug 26, 2010
If I use cd command going to a directory which has a space in its name, such as I input cd Program Files to go to dirve_c/Program Files, it will show there isn't the Program Files directory.tell me which command I can use to go to this kind of directory.
View 6 Replies
ADVERTISEMENT
Jul 10, 2010
I learned a little bit about this command (du) to find out how much space a directory takes up but what I want to know is can you tell it to exclude directories?For instance, I wanted to know how large the / directory is on my old suse10 drive but I want to exclude /home (/home was not a separate partition on that drive).
View 4 Replies
View Related
Nov 25, 2010
I am using fedora 12. I got "no space in root directory" warning from the system. When I went through it, I found many of the space has been occupied by /var/log/httpd/error-log file. So I just deleted the file but when I check the space with "df -h" command. It shows 0% availability. The same problem occurred before but it solved when I restarted the system. But how to regain the space without restarting the system?
View 5 Replies
View Related
Jun 12, 2010
I have an external 800GB USB drive I used for storage for both files from Win XP and Suse 9.0.I can read and write my data from Win XP o.k but when I try to write any files from Suse side it gave me 'read only file system' . This drive from Unix is mounted in /media directory with root owner with executable and read only. When I changed to become root and issue chmod 777 'FreeAgent Drive'.I got error chmod: changing permissions of 'FreeAgent Drive':Read only file system.
From unix, reading any file on this drive, using gui application, I can not access the drive at all but I can see all files on the drive using a command with quote (cd /media/'FreeAgent Drive')
View 7 Replies
View Related
Jul 5, 2011
I am looking to create the Directory with an allocated space of 10gb
View 3 Replies
View Related
Nov 8, 2010
I'm trying to run preupgrade to upgrade to fedora 14 from fedora 12 and get a message saying there is not enough space in /boot/upgrade. I've found some instructions on how to make more room in the boot directory but I get an error near the last step as I have noted below:
Method 1: Free up space
First, try to remove any kernel packages not currently in use on your system. The kernel-prune.py script can be used to identify kernels that may be safely removed. If you choose to remove additional kernels, be prepared with installation media should you be unable to return to your previously installed system.
The installer will need approximately 26M of free space in /boot. Use the following command to determine the amount of free space in the /boot partition:
df -h /boot
To identify kernels that may be safely removed, run the following from a command line:
curl -O '[URL]'
chmod a+x kernel-prune.py
./kernel-prune.py
Now, to actually remove the kernel versions listed by the above command, run the following as root:
# PKGS=`./kernel-prune.py`
# echo $PKGS
# yum remove $PKGS
Next, adjust the number of reserved filesystem blocks using the command tune2fs. You'll first need to identify the block device for your /boot file system. In the example below, /dev/sda1 is the block device for the /boot filesystem.
# mount | grep "/boot"
/dev/sda1 on /boot type ext4 (rw)
I get this far and get the following Error:
[root@localhost ~]# mount | grep "/boot"
/dev/sda1 on /boot type ext3 (rw)
[root@localhost ~]# /dev/sda1 on /boot tupe ext3 (rw)
-bash: syntax error near unexpected token `('
[root@localhost ~]# mount | grep "/boot" /dev/sda1 on /boot/type ext3 (rw)
-bash: syntax error near unexpected token `('
[root@localhost ~]#
Now, adjust the number of reserved blocks for the /boot filesystem using the command tune2fs. Normally, a small amount of space on ext filesystem formatted partitions is 'reserved' and can only be used by the system administrator; this is to prevent an entirely full partition from rendering a system unbootable, and allow the administrator some space in which to work in order to clean up 'full' partitions. However, neither of this cases really applies to the /boot filesystem, so removing this reserved space is safe.
# tune2fs -r 0 /dev/sda1
View 1 Replies
View Related
Mar 16, 2010
After installing everything I neded to get on to the web with my server, I discovered that my www dir only has 20 gb.
How can I increase the the size of my directory?
View 6 Replies
View Related
Oct 22, 2010
Within the mv() command is there any way to not need to type the entire directory location? In the example there are directories with varying depths... I want to move a file from depth 2 to a directory of depth 3 when the directory of depth 3 is within the directory of depth 2. Basically, can I cp() andor mv() a file to a subdirectory without having the enter the entire directory location?
Code:
[root@xxx dir]# ls
dirD1
[root@xxx dir]# cd dirD1/dirD2
[root@xxx dirD2]# ls
[code]....
View 6 Replies
View Related
Feb 7, 2010
I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.
At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:
Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?
Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?
View 5 Replies
View Related
Jun 10, 2010
Need explanation from a FTP guide's reference of FTP's GLOB command.
mget and mput are not meant to transfer entire directory subtrees of files. That can be done by transferring a tar(1) archive of the subtree (in binary mode). Then FTP does not transfer, even with mput, a directory of files to remote server?
Does this quote suggest I can tar my files, upload them, then untar them on the remote server?
View 1 Replies
View Related
Jun 16, 2010
I am a student studying computer science course.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
Look at my screenshot at [url].
View 9 Replies
View Related
Jul 13, 2011
I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively
View 4 Replies
View Related
Aug 28, 2010
problem during fedora x8664 installation. how to give the command for directory path and image located drive. the procedure to install fedora for the first time.
View 2 Replies
View Related
Nov 25, 2010
I am using fedora 12. i got "no space in root directory" warning from the system..when i went through it, i found many of the space has been occupied by /var/log/httpd/error-log file. so i just deleted the file..but when i check the space with "df -h" command.it shows 0% availability..the same problem occured before...but it solved when i restarted the system..but how to regain the space wihtout restarting the system?
View 7 Replies
View Related
Sep 23, 2010
i'm using c++ and Ubuntu and I need to write/copy some files to a directory chosen by the user of my system (the user can save it on any folder of any disk of the pc or other usb device). Before I do it, I need to know if there's space available on the disk. I cannot only check the result of write() function, the validation must be executed before I start to save or copy.
I was trying to use statvsf structure, but I only have the complete filepath (/home/lobinho/myDocs/), not the disk path. The statvfs() function only works with disk path (i.e. /media/KINGSTON ).
The source of my function:
Code:
int MyClass::availableSpace(string dst, ulong* availableSize) {
int result = ERROR;
try {
struct statvfs devData;
[Code]...
View 4 Replies
View Related
Aug 24, 2011
CentOS 5.4 (Final) is installed on my VPS.I'd uploaded a zip file that contains a directory and some files that there are space in their names and now I can't do anything with them.
I can't move them using mv command
I can't rename them
I can only re-compress or delete the folder
how I can rename or move them?
View 5 Replies
View Related
Jun 7, 2010
I was trying to install Fedora 13, on to my laptop. I have 30 GB of unallocated space in extended partition. When trying to install Fedora 13, I got stuck, as the installer says that there is no free space for installation.can convert the unallocated space into free space.
View 1 Replies
View Related
Apr 24, 2010
how can I traverse a directory from Kernel space? I'm using the path_lookup function. However, through the inodes I get with this functions I can only access those files that have been displayed at some point by another process (doing ls from the terminal for example)
View 7 Replies
View Related
Sep 30, 2010
I have a Dell laptop which originally was strictly a Windows computer; with a LiveCD of PCLinuxOS, I partitioned the drive to make room for dual boot with Linux. Unfortunately, I gave the Root directory too much space, and Home not enough. Is it possible to move anything over to Root to give Home more room? I would get rid of Windows entirely, but for a couple of programs that have no Linux equivalent (at least that I've discovered so far).
View 2 Replies
View Related
Aug 16, 2010
I installed Ubuntu for a new server for a while (about one month long), then I logged in for configurations everyday. Today after I logged in system showed
Code:
Usage of /: 93.8% of 35.76 GB
so I used df -hl for query detail and system showed
Code:
Filesystem Size Used Avail Used% Mounted on
/home/myuser/.Private 36G 34G 501M 99% /home/myuser
What happen with my server, Virus or not? Why that directory is so big? Is there necessary files? Can I resolve and how to do it?
View 1 Replies
View Related
Oct 15, 2010
I'm starting using Centos having a trouble.
I'm trying to execute the command:
Uum Update
Or other yum installation of samething
After a while I obtain always messages saying:
Insufficient space in download directory
So I understood is a problem with space.
I went to my shell and digited the command:
df -h
but it show there is plenty of space.
I also deleted a lot of space to make room, just to be sure, but nothing different happens. I'm attaching a screenshot to this post.
View 3 Replies
View Related
Mar 19, 2011
My machine telling me that my home directory is running out space,It is said 95% in usage.Try to delete the big unwanted files in users (just two user in my machine),df ing, but the home usage status keep on 95%.
View 9 Replies
View Related
May 5, 2010
I am using Redhat Linux 4 as I checked space and foud that / is 100% full. Like below:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 2316536 2179008 19852 100% /
/dev/hda2 101107 9324 86562 10% /boot
/dev/hda6 1683960 70256 1528160 5% /home
none 192012 0 192012 0% /dev/shm
How to create more space on / directory? or decrease size in / directory.
View 2 Replies
View Related
Feb 24, 2011
I'm creating a bash script to check how much free space is left in /var directory then, if it hits a certain threshold, delete certain files with numbers for extensions (e.g. fileA.1, fileA.2 fileA.3, and fileA.4, fileB.1, fileB.2 fileB.3, and fileB.4 ). Here's a snippet from my script:
[Code]...
If I use a * as a wildcard for the number extension, the script fails. Maybe regex would work here, but I'm not particularly accomplished at it. Or some other construct.
View 18 Replies
View Related
Jan 4, 2010
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
View 2 Replies
View Related
Jul 18, 2010
i got this problem on fedora 13, i've always used the dd command to make backups of my cds/dvds but for some reason in fedora it doesn't work..this is what i get:dd if=/dev/cdrom of=/home/miguel/Desktop/compilation.isodd: opening `/home/miguel/Desktop/compilation.iso': No such file or directoryi don't really know why i get this error, I've always used the same syntax.
View 4 Replies
View Related
Apr 29, 2010
I have a system that has very limited disk space on /var and everytime I attempt to do any updates to the system via update manager it was always error saying that there is not enough disk space. I wanted to know how I can change the download directory of the update manager to a partition with more space?
View 9 Replies
View Related
May 14, 2009
I need a sed command to print a list of files in "/home" directory, ending in ".sh"
View 4 Replies
View Related
Oct 20, 2010
When I use the command df -h on one of our debian linux machines I get back that I have 0 space left on /dev/md0/. I tried to find out where all 60G of space was being used but am unable to find it. Could this reading be wrong? Also, where could this space be being used?
View 3 Replies
View Related
Mar 7, 2010
Working with a scientific code that uses more RAM+swap then i generally have (system has 12GB RAM + 24GB swap, but this thing is crazy)It's kind of a one use problem, so I'm not looking to get more RAM, is there a quick way to add more swap space (not on the swap partition, because i have that set at 24GB) so that my system can use it immediately?I don't want to drive up to the office tonight to get this fixed, so a command line setup would work best.
View 7 Replies
View Related