Linked Questions

2
votes
2answers
269 views

Run program through terminal with custom name [SOLVED] [duplicate]

I want to run a program, for example gedit from terminal. How can I run gedit through terminal by just typing ge on terminal?
5
votes
2answers
199 views

How to easily make an alias command permanent? [duplicate]

I search everywhere and almost everyone was suggesting to open the ~/.bashrc or ~/.bash_aliases, then put the alias command there, I created a function name palias as permanent alias function and put ...
2
votes
2answers
75 views

Bash Function Oblivion [duplicate]

I'm fairly new to Linux, as many of you may have noticed. What I speak particularly is adding personal, user-generated functions and alias in my .bashrc file. I'm not exactly sure how bash works but ...
2
votes
1answer
45 views

Is it possible to diy a command under Ubuntu? [duplicate]

For example, can I set? gb = cd /media/Dan/evolution so that everytime I execute gb in bash , I can cd to that particular directory? I find something online, 'alias' command. But It seems can't do ...
1
vote
1answer
32 views

Is it possible to shorten a unix terminal command to a shorter one? [duplicate]

Let's say I have this command: /sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}' Is it possible to shorten this to let's say writing host in the command line?
55
votes
5answers
47k views

How to create a permanent “alias”?

If you create an alias for example: alias cls="clear" It exists untill you kill terminall session. When you start a new terminal window the alias doesn't exist any more. How to create "permanent" ...
20
votes
4answers
13k views

How save my “alias” entries forever [duplicate]

I want to save my alias commands forever like the default ones when I type "alias" so I don't retype them every time I leave my bash
9
votes
2answers
3k views

How do I make bash warn me when overwriting an existing file?

I think the title is pretty self-explanatory. All i want is bash to warn me whenever I attempt to overwrite an existing while using cp or mv. I'd really appreciate some help. :)
4
votes
7answers
656 views

Short-cut for switching to a given directory

In the Ubuntu terminal I find myself spending considerable time to switch to a particular directory every time the computer starts up. Is there some way I can make this process easier? Is there some ...
11
votes
2answers
4k views

How can I get the percentage of my battery life from the command line?

This question tells me how I can find the state of my battery from the command line. While this is useful information sometimes I need something quicker, basically like the percentage or enough for ...
6
votes
2answers
1k views

How can I create an alias so that when I enter “kt” it executes “killall gnome-terminal”?

How can I create an alias so that when I enter "kt" it executes "killall gnome-terminal"?
0
votes
3answers
10k views

How to undo an operation done in terminal?

I had deleted an important file once and later i had changed the permissions of a file which i am not able to revert now. Is there any way through which i can undo delete or revert permissions on ...
0
votes
1answer
8k views

Xampp Control Panel Can Not Launch

After searching all over the WWW, I couldn't solve my problem. I want to launch Xampp via desktop control panel and also I made the xampp-control-panel.desktop in desktop and ...
2
votes
2answers
377 views

Can I duplicate a GNOME terminal session?

Often I would like to open a new terminal in the directory i'm currently working in. E.g. I'm working in ~/some/folder/ and I want to run some program, while at the same time keep a terminal at my ...
1
vote
3answers
638 views

Volume via command line in 12.04 [duplicate]

I need to allow several clients to affect the volume of a central server. Can I change the audio master volume via command line in Ubuntu 12.04?

15 30 50 per page