the simplest would be to put it in a file called dir (nothing more...)
then
or whatever shell you are using...
or make your file executable and give it another name, the alias is just so you dont risk calling a program with the same name...
Hi,
i want to make alias for rm command. It should actually move the file to a directory in my home.
Say if i type
%rm abc.txt
the command should expand to
%mv abc.txt ~ashishp/trash
How should I write the alias for this?
-Ashish (8 Replies)
In DOS, to get the complete directory structure, we use 'TREE' command..
can anyone tell me what is the equivalent command in Unix
I am using
SunOS ABC 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Fire-V240
thanks.. (1 Reply)
Hi
'm executing a java program from my shell script on solaris 9 as
$JAVA_HOME\bin\java -ms32m -mx128m -classpath $CLASSPATH com.abc.fwk,abcServer.abcfwkServer $1 &
where $1 is port number
when i do ps -ef, it shows whole command , i want to give this some alias name as abcProcess, so... (2 Replies)
How can i install tree command in ubundu without root ? I have found some shell script which does the same job as tree but i would like to get all the options in tree command
thanks (2 Replies)
Hi All
I'm using a tree command in a script that for me outputs:-
| - - DIRECTORYNAME
However a different user is getting the following output:-
aaa (actually with an umlat above them) DIRECTORYNAME
I'm not sure where this could be coming from, any ideas anyone? (0 Replies)
Hi all,
Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted.
$ command ps -HAcl -F S -A f
F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD
4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Iam facing some strange issue with alias. I have an alias file in which i have created lot of aliases as given below.
export BUILD_HOME=/apps/psr/build
export DB_HOME=/apps/psr/database
export LOGS_HOME=/apps/psr/logs
export BUILD_TEST=/apps/psr/build_dev/build_test
export... (0 Replies)
Hi,
when I run tree command in linux box getting below image, not the line
test
âââ lost+found
âââ test1
â  âââ aaa.txt
â  âââ bbb.txt
âââ test2
3 directories, 2 files
installed tree-1.5.3-2.el6.x86_64 package (8 Replies)
How to run a script/command on all the directories in a directory tree?
The below script is just for the files in a single directory, how to run it on all the directories in a directory tree?
#!/bin/sh
for audio_files in *.mp3
do
outfile="${audio_files%.*}.aiff"
sox "$audio_files"... (2 Replies)
Discussion started by: temp-usr
2 Replies
LEARN ABOUT CENTOS
dh_installxfonts
DH_INSTALLXFONTS(1) Debhelper DH_INSTALLXFONTS(1)NAME
dh_installxfonts - register X fonts
SYNOPSIS
dh_installxfonts [debhelperoptions]
DESCRIPTION
dh_installxfonts is a debhelper program that is responsible for registering X fonts, so their corresponding fonts.dir, fonts.alias, and
fonts.scale be rebuilt properly at install time.
Before calling this program, you should have installed any X fonts provided by your package into the appropriate location in the package
build directory, and if you have fonts.alias or fonts.scale files, you should install them into the correct location under etc/X11/fonts in
your package build directory.
Your package should depend on xfonts-utils so that the update-fonts-* commands are available. (This program adds that dependency to
${misc:Depends}.)
This program automatically generates the postinst and postrm commands needed to register X fonts. These commands are inserted into the
maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works.
NOTES
See update-fonts-alias(8), update-fonts-scale(8), and update-fonts-dir(8) for more information about X font installation.
See Debian policy, section 11.8.5. for details about doing fonts the Debian way.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLXFONTS(1)