Popular
Latest Articles
- Checkpoint Web Visualization only provides part of the policy
- Running a packet capture on a SourceFire Sensor
- File download fails through Netscreen when using IE6 with Passive FTP
- I am unable to clear the VPN SA`s using the vpn tu command
- encryption failure: According to the policy the packet should not have been decrypted
Linux - how to use the alias command
UNIX / Linux - Redhat / Fedora
The alias command allows you to create command shortcuts within your shell. Below shows you how,
move to your home directory,
[root@localhost ~]# cd ~
add the alias of os which will show the output of 'uname -a'
[root@localhost ~]# cat >> .bash_profile
[root@localhost ~]# alias os='uname -a'
Reload you environment variables for your new alias to take effect
[root@localhost ~]# . .bash_profile
Test your new aliasĀ
[root@localhost ~]# os
Linux localhost.localdomain 2.6.18-92.1.6.el5PAE #1 SMP Fri Jun 20 02:51:01 EDT 2008 i686 i686 i386 GNU/Linux
We have 13 guests online