User Tools

Site Tools




04 Linux Config

Aliases for common commands

To make the work on the command line a little bit more comfortable, one can setup alias commands in the file ˜/.bash_profile ( At default this file does not exist. You can create it with an editor like vi or nano (I prefer nano because it's much more comfortable. Install it with opkg install nano.).

Example content for .bash_profile:

# Aliases
alias ll='ls -lah'

Change Screen Resolution

  admin@TEST-LOGGER1-cRIO9030:~# export DISPLAY=:0
  admin@TEST-LOGGER1-cRIO9030:~# xrandr
  Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767
  DP1 disconnected (normal left inverted right x axis y axis)
  HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
     1920x1200     59.95*+
     1600x1200     60.00  
     1680x1050     59.88  
     1280x1024     60.02  
     1280x960      60.00  
     1024x768      60.00  
     800x600       60.32  
     640x480       60.00  
     720x400       70.08  
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)

System Date/Time

kb/ni-rt/linuxrt/linux-config.txt · Last modified: 2019/11/18 11:08 by joerg.hampel