################################## #Some useful scripts/commands: ################################## #Run remote desktop rdesktop -g 1200x968 -d cern.ch -k en-us -T TS_Session cernts & #smb connection: smbclient //PCEST1600E33.cern.ch/Daniel -U dfrodrig mount -t smbfs -o username=dfrodrig //pcest1600e33/Daniel /mnt/sambaTiago/ sudo mount -t cifs -o user=dfrodrig //PCITCO158/ETM /mnt/sambaWin #Check which services run on which port nmap #mount Usb mount -t vfat /dev/sda /mnt/usb0/ #Check What's wrong with the kernel (hardware) dmesg #Set correct hwclock: rdate pcatm101.cern.ch hwclock --show #Check version of OS uname -a #System information cat /proc/cpuinfo cat /proc/meminfo dmesg #Quattor Configuration at Cern ncm-ncd --list [--help for other commands] #Get all environment variables env |sort |less #Kerberos tickets (credentials) information klist #Initializing environment, copying from afs userspace: ccdbuser [user] ccdbinfo [user] #Restart gnome from console gdm-restart #check Process memory consumption top #RPM rpm -qa #all rpms installed rpm -qc [package] #gets the rpm files which are tagged as config rpm -q --queryformat '[%{FILENAMES}\t%{FILEFLAGS:fflags}\n]' msg-publish-simple #gets all rpm files tags