LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2016, 04:19 PM   #31
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled

Open your terminal and paste this single line into it:
Code:
echo 'alias mmc="sudo macchanger-gtk"' >> ~/.bashrc
You will see nothing if successful.
type
Code:
source ~/.bashrc
in the terminal. Then then type:
Code:
mmc
and you should be asked for sudo password.

If that works, you have an alias for as long as your ~/.bashrc has that line in it.

Last edited by Habitual; 08-08-2016 at 04:22 PM.
 
Old 08-08-2016, 04:27 PM   #32
actinide
Member
 
Registered: Jan 2012
Posts: 323

Original Poster
Rep: Reputation: Disabled
Solved nice one
 
Old 08-08-2016, 05:29 PM   #33
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by actinide View Post
Solved nice one
woot!
Glad it worked out.
 
Old 08-09-2016, 12:41 AM   #34
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,769

Rep: Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052Reputation: 3052
Remember to mark as SOLVED once you have your solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: command works at command line, but not via an alias porphyry5 Programming 3 03-17-2012 03:48 PM
tar command alias command rlg Linux - Newbie 0 03-11-2008 08:21 AM
directory for alias command ernestk Linux - Server 1 08-30-2007 06:56 PM
Use for the alias command Metablade Linux - Newbie 4 10-12-2005 06:44 PM
alias command zeviddalop Linux - Newbie 3 01-12-2005 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration