04-03-2013
Understanding Results from df and du commands
Good day every one.
When a use df -h comand on my read hat linux server i get something like this:
/dev/mapper/Vg02-Lv19 30G 29G 145M 100% /app
Then when i do du -sh /app/
i get
12G /app/
For me it is meaning that only 12G was used on /app partition.
How can i see where are being used other 18G?
best Regards
Gege
10 More Discussions You Might Find Interesting
1. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
2. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
3. Filesystems, Disks and Memory
Hi,
Using fdisk I created a partition of 15.7 GB. I entered +15700M
Using sfdisk there is a heading called blocks and there is a number which is approximatly 400 BM less. When I mount the partition and use df -l the 1K block column displays only 15GB!
I need to understand these numbers if... (2 Replies)
Discussion started by: mojoman
2 Replies
4. Shell Programming and Scripting
Hi ,
Please help me in understanding the below commands
temp="$dirname.temp.cc.$$"
This will eliminate any trailing white spaces???
k=$(grep -cvE " |\+|-|0|1|\f" $temp
if (substr(file,2,24) ~ /{13,}/) {print "N" file} -- this is inside an awk script (4 Replies)
Discussion started by: justchill
4 Replies
5. UNIX for Dummies Questions & Answers
Hi
I want to output the results of multiple commands to a single file.
I use simple Ping, telnet commands to check the connectivity to many servers.
Can i execute all the commands and write the output to a file instead of executing them one by one?
Thanks
Ashok (2 Replies)
Discussion started by: ashok.k
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Gurus:
I am trying to understand the following line of code.I did enough of googling to understand but no luck.Please help me understand the follow chunk of code:
X=$0
MOD=${X%/*}/env.ksh
X is the current script from which I am trying to execute.
Say if X=test.ksh
$MOD is echoing :... (3 Replies)
Discussion started by: vemana
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am using the korn shell on Solaris box.
Why does the following 2 commands return different results?
This command returns no results (I already used this command to create a list of files which I moved to an archive directory)
find ????10??_*.dat -type f -mtime +91
However this... (15 Replies)
Discussion started by: stumpy1
15 Replies
8. AIX
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies
9. Shell Programming and Scripting
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies
10. Shell Programming and Scripting
Good morning all,
This is the file name in question OD_Orders_2019-02-19.csv
I am trying to create a bash script to read into files with yesterdays date on the file name while retaining the rest of the files name. I would like for $y to equal, the name of the file with a formula output with... (2 Replies)
Discussion started by: Ibrahim A
2 Replies
LEARN ABOUT DEBIAN
tntnet-config
TNTNET-CONFIG(1) General Commands Manual TNTNET-CONFIG(1)
NAME
tntnet-config - output compiler flags for tntnet usage
SYNOPSIS
tntnet-config [--libs] [--cxxflags] [--config[=app]] [--makefile[=app]] [--project=app] [--autoproject=app] [--help] [--version]
DESCRIPTION
This manual page documents briefly the tntnet-config command.
OPTIONS
This program's options start with two dashes (`-'). A summary of options is included below.
--libs Output linker flags.
--cxxflags
Output C++ preprocessor and compiler flags.
--config[=app]
Print default configuration file.
--makefile[=app]
Print a simple makefile for an ecpp project.
--project=app
Create a simple ecpp project directory.
--autoproject=app
Create a autotools based ecpp project.
--help Show summary of options.
--version
Show version of program.
AUTHOR
tntnet was written by Tommi Makitalo <tommi@tntnet.org>.
This manual page was written by Kari Pahula <kaol@debian.org>, for the Debian project (but may be used by others).
SEE ALSO
tntnet(8), ecppc(1), ecppl(1), ecppll(1).
More documentation can be found in /usr/share/doc/tntnet-doc/.
July 3, 2006 TNTNET-CONFIG(1)