General :: Divide Shell Space Into Two Parts?

Sep 9, 2010

On my c shell, I use the alias p ls -lt; pwd to speed up things while switching directories and getting their listings.Things could be much easier if I could somehow divide the space I have on my console in two parts such that the prompt is in the lower part and the top part always shows the listing of the current directory (the directory which I am using in the second part).The upper part needs to be dynamic in the sense that whenever I switch directories using the prompt in the lower part, It should give the listing of the current directory in the upper half.

View 3 Replies


ADVERTISEMENT

General :: Divide A Partition Into Two Parts?

Jul 10, 2009

I am having a big /home partition. I need to make it small and create one more partition from it which will be used for some other purpose. Can you tell me please how to do it?
I searched on google and found some methods which were very different from each other.I don't know which one is good, so, I thought I will ask you experts before doing anything.

View 9 Replies View Related

General :: Want Shell Command Amount Space In Disk For Mp3

Jun 25, 2010

We use a SLES 10 SP2 file server. This file server has all type of files. We want to know what is the amount of space used by mp3 files. What we need to know is the total space in disk of mp3 files. I've been testing du command, and find command, but with no satisfactory results. Does anybody know how to do this?

View 11 Replies View Related

General :: Shell Script With Java Which Check The Disk Space And Send Mail To Id?

Jun 14, 2010

i want to write the script which check the disk space of linux server and send me the disk space details and mail me on my id.

View 2 Replies View Related

General :: Division Of Logical Memory Space In To User Space And Kernel Space

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

General :: Compress A Large File Into Smaller Parts?

Aug 18, 2011

I'm looking for a way to compress a large file (~10GB) into several files that wont exceed 150MB each.

Any thoughts?

View 2 Replies View Related

General :: Use Additional Parts That Are Useable From An Old Gateway Essential?

Mar 18, 2011

My computer that I am trying to use Linux on is a Gateway G6-400 with a 10 GB hard drive and the original floppy and DVD drive. I want to use additional parts that are useable from an old Gateway Essential which consists of: the hard drive, some RAM, and another 10 GB hard drive. I want to use a OS that looks like a Mac (I am thinking about either Ubuntu or Xubutu). It doesn't have a 4 pin MB connector. Does this mean I can't change the power supply on the machine, or is the computer able to use the PSU without the 4 pin connector? How much wattage would I need?!!! And what Graphics card should I upgrade to for this computer? I want to do basic tasks and play these three games: Wizard101, FreeRealms, and Fusion Fall. All of the internet I want to connect over a network wirelessly.

View 2 Replies View Related

Software :: Divide Hard Disk To Install 11

Jun 28, 2011

How to divide hard disk to install suse 11.

How many partition I have to choose

What kind of format;ext2 or ext3

View 1 Replies View Related

General :: Reassemble Files Split Without Enumerating All Of Parts Explicitly?

Apr 13, 2010

I used split -b 32m "file.bz2" "file.bz2.part-" to split a file and it created more than 50 parts. From googling, the way I found to reassemble the parts is to cat file.bz2.part-aa file.bz2.part-ab > file.bz2, while enumerating all the 50+ parts. Is there an easier way to reassemble the parts wherein I no longer need to list all those parts explicitly?

I'm using Fedora 12.

View 3 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

General :: Split Huge File Into Small Parts And Compress Them?

May 30, 2011

I've a file with a size of 6GB. I would like to compress this file and split them into smaller files. I was also thinking in use bzip2 to compress it, because if offers a good compression rate. How can I split this file into small ones to compress it?

View 5 Replies View Related

General :: Splitting Text Files Into Parts With 2000 Lines

Sep 7, 2010

I am facing a problem while splitting a text file, I need to split a file into some parts and each split file should have 2000 lines, when I do it through "split" command the mother file is kept intact but as per my requirement I need to cut mother file into some parts thus it should not be kept intact.

Example:
file size
motherfile.txt 5000 lines.
after split
motherfile.txt 2000 lines.
childfile1.txt 2000 lines.
childfile2.txt 1000 lines.

View 7 Replies View Related

General :: Splitting Text File Into Several Parts By Line Count

Sep 21, 2009

I have a utility that works with files. The utility is crashing at after about 120 files. The input to the utility is a file containing a filelist. I want to cut the file with the file names in it to seperate files containing about one hundred or so. My thought was to determine the number of lines/100 and then use head and delete to create temporary files to run the utility multiple times to prevent the crash. When I tried to create a variable using the wc -l command the output gives me the number of total lines but it also includes the filename of the input file. (873 Filename.txt) I can not figure out how to remove the Filename.txt from the variable.

View 2 Replies View Related

Fedora Networking :: Divide Equal Bandwidth Between / Among Clients

Mar 3, 2010

how to Divide Equal Bandwidth between / Among Network Clients? e.g if there is total bandwidth = 10Mbps and only 5 clients are online then bandwidth should be divided evenly i.e each client to 2Mbps and if 20 clients are online then 0.5Mbps to each client automatically. [in windows this can be done by bandwidthcontroller software now how it can be done in linux]

View 3 Replies View Related

Networking :: Using SFQ Queue To Divide Bandwidth Per Connection / Computer

Feb 4, 2010

Can the SFQ queue be used to divide bandwidth not only per connections but also per computer? E.g. if two computers download something each computer gets half of the bandwidth. I'm trying to do my own script based on wondershaper and would want to divide the bandwidth between all devices so that one device can't saturate the uplink.

View 2 Replies View Related

General :: Playing Broken Video Files (Binary Split Into 6 Parts)

May 26, 2011

Today encoders are getting smarter. They can compress Blu ray similar quality in 700MB. It seems header of video file contain info about frame rate, audio/video encoder etc. which can't be guessed. In MPEG audio , every part of file is independently playable. If a movie is binary split into 6 parts & I don't have the first part then it is unplayable.

Code:
example
ls
-rwxrwxrwx 1 root root 280M 2010-12-07 20:23 irn2-cd1.mkv
-rwxrwxrwx 1 root root 50M 2011-05-26 13:09 last-50M-cd2
-rwxrwxrwx 1 root root 50M 2011-05-26 13:44 first-50M-cd1
file *
first-50M-cd1: Matroska data
last-50M-cd2: data
irn2-cd1.mkv: Matroska data

View 1 Replies View Related

Software :: Divide A Big File Into Small Pieces, Each Has Same Number Of Lines?

Oct 16, 2009

I am wondering if there is some command (sed ?) that could do divide a big text file into small pieces, each of which contains 10 lines

View 1 Replies View Related

Software :: Make (c)fdisk Divide A Drive Into Equal Size Partitions?

Feb 11, 2010

Anyone have a script, or method, that would allow (c)fdisk to divide a hard drive up into equal size primary partitions?

View 1 Replies View Related

General :: Calling User Space Callback Function From Kernel Space?

Sep 22, 2009

I am writing device driver in which i have to call callback function from kernel space, which are saving my data. But the callback functions are in userspace. While accessing them i am getting segmentation fault.

View 1 Replies View Related

General :: Scripting - Cp A List Of Files Which Starts With - Or Space Without - Or Space?

Oct 14, 2009

I have a list of files in a directory which starts with - or have space.

I need to copy them back without the space or -?

linux1[sim]% ls linux1[sim]% cp ./-* ./*

View 8 Replies View Related

General :: Virtual Space Seen By Each New Process In User Space?

Jun 21, 2010

In a 32-bit system, max memory addressable is 4GB. Now Linux kernel does memory mapping division of 1GB for kernel address space and 3GB for user address space. That means 4GB of virtual address space is divided between kernel (1GB) and user (3GB).

Q1. All virtual mapping utilizes the available physical RAM without any division? I mean to say that if RAM is 512MB then a page in kernel space can lie any where RAM (leave aside old PCI dma accesses)? (How this fits to fact that kernel memory is non-pageble)

Q2. If a process is created in user space, it has visibility 4GB address space or 3GB address space?

View 2 Replies View Related

General :: Use Free Space To Extend The Space Of A Drive?

Jul 5, 2011

My system is dual boot with win7 and ubuntu. I have free space of around 10 gb. I want to add this free space to my ubuntu drive. How can i do that?

View 4 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

General :: Add / Of 3000mb In The Remaining 20380mb Free Space It Showing An Error Message That No Free Space Is Available

Jul 25, 2010

I have 160gb laptop. i installed vista in c primary partition which is 25gb and installed ubuntu in d primary partition which is 20gb. A remainig for my data. Now i tried to install CENT OS by formatting ubuntu. I inserted CENT OS DVD and restarted and i selected to delete my /dev/sda2 which is showing 20480mb and it shown me free space. but i tried to add partion /boot of 100mb it got added. but, when i am trying to add / of 3000mb in the remaining 20380mb free space it showing an error message that no free space is available.

View 4 Replies View Related

General :: Getting Backslash+space Instead Of Just Space?

Jul 26, 2010

I just mounted my drobo(NTFS) on my slackbox using NTFS-3g, and I can read all my files and see them all, but any file name with a space in it turns into EX: (File Name)... instead of (File Name)I am worried that my Sync software will not recognize the name.Does anyone have any tips Except to not put Spaces in the names of files?

View 3 Replies View Related

Ubuntu :: Write A Base Script Which Will Divide An Argument By 10 And Then Use That Argument In Another Program?

Feb 23, 2010

I'm trying to write a base script which will divide an argument by 10 and then use that argument in another program. Since my argument can be a floating point number, I used bc to accomplish this. Here's an example of a simplified version of what I have so far:

<code>NUM=$(echo "scale=25;$1/10" | bc)
#make sure the first argument was formatted correctly
if [ $? -ne 0 ]

[code]...

View 4 Replies View Related

General :: "No Space Left On Device" Error On /tmp. Increase Space On /tmp?

Jan 20, 2011

cp: writing `/tmp/tmpX2KZDc/system.image': No space left on device However, when I right-click on properties, I see it has 51 items, totalling only 130.5 KB!this is a dual boot system with Win XP and Ubuntu 10.10 (~58Gb partition)Quote:

anil@anil-HP-EliteBook-8440p:/tmp$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)

[code]...

View 12 Replies View Related

General :: Measure Kernel Space Time And User Space Time?

Nov 28, 2010

measure kernel space time and user space time?

View 1 Replies View Related







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