Sponsored Content
Full Discussion: Creating .../ alias in bash
Top Forums Shell Programming and Scripting Creating .../ alias in bash Post 302758607 by Scott on Sunday 20th of January 2013 08:19:40 AM
Old 01-20-2013
No, I'm wrong. You just need to remove the / !
This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

ifconfig: difference between creating logical or alias network interface

Hi guys, I have set up multiple virtual FTP servers on a server through one physical NIC. I believe there are to ways; setting logical or alias ip's. I would like to know what is the difference between setting up a logical ip or setting up an alias ip to a physical network interface? Some links to... (5 Replies)
Discussion started by: zaff
5 Replies

2. UNIX for Dummies Questions & Answers

Creating alias for directory path

I am trying to create an alias for a frequently used directory path by using alias xyz="/proj/dir_name" and then trying to reach a sub-directoy by using cd xyz/abc but I get an error saying " No such file or directory " plz tell me wats wrong with this ... (3 Replies)
Discussion started by: jasjot31
3 Replies

3. Shell Programming and Scripting

bash alias help

I try the following alias: alias psx='ps auxw | grep $1 | grep -v grep' but it fails with "grep: yyy: No such file or directory" (for 'psx yyy' command). the following is ok: alias psx='ps auxw | grep $1' why this happens? how to overcome this? thanks (3 Replies)
Discussion started by: ynir
3 Replies

4. UNIX for Dummies Questions & Answers

alias in bash shell for CTRL + l

Is it possible to create an alias wherein it will use a keystroke. Like to clear the screen in bash i have to use CTRL + l. I want to make an alias 'c' out of this. Thanks. (6 Replies)
Discussion started by: or_knob
6 Replies

5. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

6. Solaris

Creating Alias for FILE

Hello, I need the command to create alias for a file "FILE" (NOT for commands) ? And Is there any difference between creating alias for files and creating alias for commands ? For info, i'm using Solaris 8 Thx, http://www.unix.com/images/misc/progress.gif (5 Replies)
Discussion started by: newpromo
5 Replies

7. UNIX for Dummies Questions & Answers

Help on creating and saving an alias

Hello, I want to create an alias for this command: grep -i "<keyword_to_search>" <path_to_search> Here's the alias I intended to make: alias k 'set ARGS1 =(\!1); set ARGS2 =(\!2); grep -i "$ARGS1" ARGS2' So that next time, for example, if I want to search the keyword "Help" in the path... (5 Replies)
Discussion started by: mar85
5 Replies

8. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

9. UNIX for Dummies Questions & Answers

Alias does not work with bash profile

Hi, Below is what i have in my profile: alias wldm='cd /opt/app/wls' If i use bash or ksh shell this alias does not work. What should be done for this alias to work with all these simultaneously -> No Shell, bash shell, and ksh shell (14 Replies)
Discussion started by: mohtashims
14 Replies

10. OS X (Apple)

Having trouble creating an alias for grep

Hi, I'm using Mac 10.9.1. I would like to create an alias for grep so that it won't print out messages like "grep: /Users/davea/workspace/myproject/subdir/: Is a directory" all the time. So in my terminal, I opened ~/.profile and entered alias grep='grep -s' However, when I close and... (5 Replies)
Discussion started by: laredotornado
5 Replies
RMMOD(8)							       rmmod								  RMMOD(8)

NAME
rmmod - Simple program to remove a module from the Linux Kernel SYNOPSIS
rmmod [-f] [-s] [-v] [modulename] DESCRIPTION
rmmod is a trivial program to remove a module (when module unloading support is provided) from the kernel. Most users will want to use modprobe(8) with the -r option instead. OPTIONS
-v, --verbose Print messages about what the program is doing. Usually rmmod prints messages only if something goes wrong. -f, --force This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled. With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as unsafe (see lsmod(8)). -s, --syslog Send errors to syslog instead of standard error. -V --version Show version of program and exit. COPYRIGHT
This manual page originally Copyright 2002, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others. SEE ALSO
modprobe(8), insmod(8), lsmod(8), modinfo(8) AUTHORS
Jon Masters <jcm@jonmasters.org> Developer Lucas De Marchi <lucas.de.marchi@gmail.com> Developer kmod 01/28/2018 RMMOD(8)
All times are GMT -4. The time now is 05:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy