Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ls -l displays size in KB, MB, GB? Post 302424442 by methyl on Tuesday 25th of May 2010 08:25:41 AM
Old 05-25-2010
There is no "-h" option in unix "ls". Some Linux variants have it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dual Displays

I have a TV and a monitor hooked up to my box. Right now the system is displaying all the information on the TV instead of the monitor, obviously I want to switch this, as the TV is very impracticle for everything other than watching movies. I thought I remembered a command I used to use that... (2 Replies)
Discussion started by: Synbios
2 Replies

2. HP-UX

Dual Displays HP-UX 10.20

Hello All! Where I work we have C3600's that have a video cards that have both DVI and Regular RBG type monitor ports on them. My question is: is it possible to spread my desktop across two monitors that are plugged into the one card much like you can do with NVIDIA software like NVIEW for... (0 Replies)
Discussion started by: giftedone
0 Replies

3. Linux

Hostname displays incorrectly

hiii, in many of the linux machines i have tried this but the result is the same everywhere. if there are double letters in a hostname then that is displayed as single letter. e.g. if hostname is set to nepttune then login into the shell will display : NEPTUNE(admin)@/ $ hostname... (15 Replies)
Discussion started by: shamik
15 Replies

4. AIX

who -r displays no output

Hello. I have an AIX machine at 6100-00. We had some strange activity since filling up /tmp. One symptom is that who -r displays no output. It doesn't hang just no output is displayed. We are going to boot the machine, but prior to that I'd like to dig a bit to see what may be causing the... (0 Replies)
Discussion started by: maficdan
0 Replies

5. Solaris

Raidz displays incorrect size

So I just tried what somebody here suggested and set up my backupserver with a zraid2 over 16 disks (4x4 groups) zpool create tank raidz2 c7t0d0 c7t1d0 and so on. zpool list showed a correct info about 5,4T in size (I did not use all disks), but when I did a df -h, it showed me only half the... (5 Replies)
Discussion started by: PatrickBaer
5 Replies

6. Shell Programming and Scripting

Awk displays file name twice (?!)

Greetings. I have files that contains eleven fields in the file name. Each file has a specific meaning. My job is to list each file name and load the info into a database table for reporting. My awk code does this (files have VER suffix): find . -name "*.VER" -exec ls '{}' ';' -printf... (2 Replies)
Discussion started by: alan
2 Replies

7. Shell Programming and Scripting

Displays the text upward

I need to print out text from a file in the console up, you know someone like that? (8 Replies)
Discussion started by: gizmo16
8 Replies

8. UNIX for Dummies Questions & Answers

Ls -l displays ctime or mtime?

commands ls -l or just l displays ctime (changed time) or mtime (modified time)? (10 Replies)
Discussion started by: rupeshkp728
10 Replies

9. UNIX Desktop Questions & Answers

Cat/tac displays nothing but vi does

Hi, Today i have seen a file which shows nothing when i use cat/tac. But when i use vi it displays a single line at the top. There are no other lines. I am curious why cat/tac doesn't display that line and only vi does? Any thoughts? Thanks in advance, (1 Reply)
Discussion started by: pandeesh
1 Replies

10. Shell Programming and Scripting

Bash $(...) DISPLAYS EVERY COMMAND

I use things like this a lot in ksh and bash, but lately bash has been printing the command for every loop: ... | while read f do if then echo Differ "$f" fi done How to prevent this? (5 Replies)
Discussion started by: DGPickett
5 Replies
XRecolorCursor(3X11)						     MIT X11R4						      XRecolorCursor(3X11)

Name
       XRecolorCursor, XFreeCursor, XQueryBestCursor - manipulate cursors

Syntax
       XRecolorCursor(display, cursor, foreground_color, background_color)
	  Display *display;
	  Cursor cursor;
	  XColor *foreground_color, *background_color;

       XFreeCursor(display, cursor)
	  Display *display;
	  Cursor cursor;

       Status XQueryBestCursor(display, d, width, height, width_return, height_return)
	  Display *display;
	  Drawable d;
	  unsigned int width, height;
	  unsigned int *width_return, *height_return;

Arguments
       background_color
		 Specifies the RGB values for the background of the source.

       cursor	 Specifies the cursor.

       d	 Specifies the drawable, which indicates the screen.

       display	 Specifies the connection to the X server.

       foreground_color
		 Specifies the RGB values for the foreground of the source.

       width
       height	 Specify the width and heightof the cursor that you want the size information for.

       width_return
       height_return
		 Return the best width and height that is closest to the specified width and height.

Description
       The function changes the color of the specified cursor, and if the cursor is being displayed on a screen, the change is visible immedi-
       ately.

       can generate a error.

       The function deletes the association between the cursor resource ID and the specified cursor.  The cursor storage is freed when no other
       resource references it.	The specified cursor ID should not be referred to again.

       can generate a error.

       Some displays allow larger cursors than other displays.	The function provides a way to find out what size cursors are actually possible on
       the display.  It returns the largest size that can be displayed.  Applications should be prepared to use smaller cursors on displays that
       cannot support large ones.

       can generate a error.

Diagnostics
       A value for a Cursor argument does not name a defined Cursor.

       A value for a Drawable argument does not name a defined Window or Pixmap.

See Also
       XCreateColormap(3X11), XCreateFontCursor(3X11), XDefineCusor(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															      XRecolorCursor(3X11)
All times are GMT -4. The time now is 06:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy